Debian Bug report logs -
#771728
ltsp-client-core: hooks in /etc/kernel/postrm.d/ break linux-image package removal on arm
Reported by: Vagrant Cascadian <vagrant@debian.org>
Date: Mon, 1 Dec 2014 21:57:02 UTC
Severity: serious
Tags: patch
Found in version ltsp/5.5.4-1
Fixed in version ltsp/5.5.4-2
Done: Vagrant Cascadian <vagrant@debian.org>
Bug is archived. No further changes may be made.
Toggle useless messages
Report forwarded
to debian-bugs-dist@lists.debian.org, vagrant@debian.org, LTSP Debian Maintainers <pkg-ltsp-devel@lists.alioth.debian.org>:
Bug#771728; Package ltsp-client-core.
(Mon, 01 Dec 2014 21:57:06 GMT) (full text, mbox, link).
Acknowledgement sent
to Vagrant Cascadian <vagrant@debian.org>:
New Bug report received and forwarded. Copy sent to vagrant@debian.org, LTSP Debian Maintainers <pkg-ltsp-devel@lists.alioth.debian.org>.
(Mon, 01 Dec 2014 21:57:07 GMT) (full text, mbox, link).
Message #5 received at submit@bugs.debian.org (full text, mbox, reply):
[Message part 1 (text/plain, inline)]
Package: ltsp-client-core
Version: 5.5.4-1
Severity: serious
Tags: patch
When removing a linux-image package on an armhf system (and presumably
armel as well), mkimage is called in the ltsp-client hook
/etc/kernel/postrm.d/update-kernels, and generates output that causes
the package removal to fail...
Removing symbolic link initrd.img.old
You may need to re-run your boot loader
Purging configuration files for linux-image-3.16.0-4-armmp-lpae (3.16.7-2) ...
dpkg: error processing package linux-image-3.16.0-4-armmp-lpae (--purge):
subprocess installed post-removal script returned error exit status 128
Errors were encountered while processing:
linux-image-3.16.0-4-armmp-lpae
E: Sub-process /usr/bin/dpkg returned an error code (1)
The following patch fixes this by redirecting the mkimage output to
/dev/null.
I plan to upload a fixed package today.
client/share/ltsp/update-kernels | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/client/share/ltsp/update-kernels b/client/share/ltsp/update-kernels
index 5e079be..1a75103 100755
--- a/client/share/ltsp/update-kernels
+++ b/client/share/ltsp/update-kernels
@@ -352,7 +352,8 @@ tftpboot \${kernel_addr_r} \${serverip}:${kernel_file} \\
EOF
mkimage -A arm -O Linux -T script -C none -a 0x0 -e 0x0 \
- -n 'LTSP boot script' -d $BOOT/boot.ltsp $BOOT/boot.scr
+ -n 'LTSP boot script' -d $BOOT/boot.ltsp $BOOT/boot.scr \
+ > /dev/null
# Copy .dtb files to boot dir.
dtb_dirs="/usr/lib/linux-image-${version}/"
live well,
vagrant
[signature.asc (application/pgp-signature, inline)]
Reply sent
to Vagrant Cascadian <vagrant@debian.org>:
You have taken responsibility.
(Mon, 01 Dec 2014 23:51:17 GMT) (full text, mbox, link).
Notification sent
to Vagrant Cascadian <vagrant@debian.org>:
Bug acknowledged by developer.
(Mon, 01 Dec 2014 23:51:17 GMT) (full text, mbox, link).
Message #10 received at 771728-close@bugs.debian.org (full text, mbox, reply):
Source: ltsp
Source-Version: 5.5.4-2
We believe that the bug you reported is fixed in the latest version of
ltsp, which is due to be installed in the Debian FTP archive.
A summary of the changes between this version and the previous one is
attached.
Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to 771728@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Vagrant Cascadian <vagrant@debian.org> (supplier of updated ltsp package)
(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@ftp-master.debian.org)
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512
Format: 1.8
Date: Mon, 01 Dec 2014 15:22:01 -0800
Source: ltsp
Binary: ltsp-server ltsp-server-standalone ltsp-client-core ltsp-client ltsp-client-builder
Architecture: source all
Version: 5.5.4-2
Distribution: unstable
Urgency: medium
Maintainer: LTSP Debian Maintainers <pkg-ltsp-devel@lists.alioth.debian.org>
Changed-By: Vagrant Cascadian <vagrant@debian.org>
Description:
ltsp-client - complete LTSP client environment
ltsp-client-builder - build an LTSP environment in the installer target (udeb)
ltsp-client-core - basic LTSP client environment
ltsp-server - basic LTSP server environment
ltsp-server-standalone - complete LTSP server environment
Closes: 771470 771728
Changes:
ltsp (5.5.4-2) unstable; urgency=medium
.
* ltsp-update-kernels/update-kernels: Fix kernel version sorting that
results in clients booting obsolete kernels (Closes: #771470).
.
* update-kernels: Suppress mkimage output, as it prevents linux-image
packages from being removed successfully (Closes: #771728).
.
* ltsp-build-client: Remove plugin that needlessly modifies pulseaudio
configuration files.
.
* ltsp-update-kernels: Remove dtb files when corresponding kernel
version is no longer present.
.
* debian/copyright: Remove outdated VCS information.
Checksums-Sha1:
4cc1977ad532fdcd385273a34d698be61ca595b0 2285 ltsp_5.5.4-2.dsc
33f630fd423b3d764ec11b46d2cb26baf7497754 76920 ltsp_5.5.4-2.debian.tar.xz
8457fbb1e74131c30e978369b0b3833484d13e55 265926 ltsp-server_5.5.4-2_all.deb
358f6ee428d5b6e3c25ec0d5fa6b6fe4309f6a02 146034 ltsp-server-standalone_5.5.4-2_all.deb
3201b1c37eb2e946b65d7d4dd9ccf1efa4a81df4 11124 ltsp-client-builder_5.5.4-2_all.udeb
Checksums-Sha256:
5ad0f843e0fa19fb1f49110f3ca47de56f10ec12b7f4406cabf1d90a6daf8981 2285 ltsp_5.5.4-2.dsc
5ddfa046c2120a789a103f515de93dbbc483a4edd02fd97429255cca662aba56 76920 ltsp_5.5.4-2.debian.tar.xz
053a5956fd2b25b5b37451bdc7091e36202737b178b1120d3ada67ef1c3a5862 265926 ltsp-server_5.5.4-2_all.deb
4baa918f6941b1a940199e08461ede0f0909ec415d88928dfd0042da3f552112 146034 ltsp-server-standalone_5.5.4-2_all.deb
5b2a55edbd4e355270ceeda32ac94c3414b558f6b028b71f5a1b7e2363cf30e1 11124 ltsp-client-builder_5.5.4-2_all.udeb
Files:
27627d671721e036a2a2dfa02f0dc4a3 2285 misc extra ltsp_5.5.4-2.dsc
3ac43d4377dbcd06b0fdb2b2b2ba1f01 76920 misc extra ltsp_5.5.4-2.debian.tar.xz
01a8f86ff21ecc854c34db66f044e94d 265926 misc extra ltsp-server_5.5.4-2_all.deb
335658f93eab260b40554ef41dda5f08 146034 misc extra ltsp-server-standalone_5.5.4-2_all.deb
4f99f6e530a1138bd1d607dc6452e045 11124 debian-installer extra ltsp-client-builder_5.5.4-2_all.udeb
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1
iQIcBAEBCgAGBQJUfPoyAAoJELeLgtSBS5G2AocP+QFAkSSnyBe7oph5kRNhdY4Y
M8dHaQ830IFBxMR+atse7f05ASiUMDo3HJma4fR0GZHLFs5L/oe/oV9ArIAuDNNi
YVrTzfNT+Eze6pQ4WxDPo9AtLp3yyAQNNbXbjRQSyyl4Oe3l6XxBJcqMqSZ1gS9k
409Jp3M1llp9VwVSJ1dRIN+BNcOKV+9137jABLiKxoj/TepuznGjDZ65XMwX5mK2
lajxjDpmRFT+/MIhQEE/V7hwFqY72nJv2qQt/cmOOU+HEtYG56mZZOxGEMuGpSbH
4H1XC+Gy7puv2aHS0hOMjq07XSEYkEQGt3D4ZGZylq0n/ZLzNxjjAG10EcM1Z1zh
4rPO23Fw0GmBHZ9XHAE0S7B6cPG5+k3BAXlT1tJm6dD7P6PLlmOYpmaAiM8wcTeH
mVBKFQ4w3/rMLH+6Uio2SaRp8JKe8hZO9os5XxUlVZJRHAcsMpl97xzBSpHVZeFB
XR5DYklAEPONSjEIZTbGXISahXh1bENA5ft0szJYqcXnTf+6gWzUl80eBMrJ1kxW
SC1CcVeRQMKmKcJoPEZHH7NMEeTMJpPd51q8sVp/fQtq/taA8Ptq6HoRyofDxqFf
0JTxIqel37vyM9VK8U67zld40hu4TsbmEQF49p6HrdMueIsNBxoRmul54RCq5Q7j
ba1wCuCjQWU7SCOfp+/J
=EIJE
-----END PGP SIGNATURE-----
Bug archived.
Request was from Debbugs Internal Request <owner@bugs.debian.org>
to internal_control@bugs.debian.org.
(Sun, 04 Jan 2015 07:26:51 GMT) (full text, mbox, link).
Send a report that this bug log contains spam.
Debian bug tracking system administrator <owner@bugs.debian.org>.
Last modified:
Sat Jul 1 13:42:31 2023;
Machine Name:
buxtehude
Debian Bug tracking system
Debbugs is free software and licensed under the terms of the GNU
Public License version 2. The current version can be obtained
from https://bugs.debian.org/debbugs-source/.
Copyright © 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson,
2005-2017 Don Armstrong, and many other contributors.