Public bug reported: Binary package hint: ltsp-client-core
I was trying to update LTSP chroot so I've made `apt-get update` and `apt-get upgrade` inside the chroot. Upgrade failed on "linux-image" package, the output was: Examining /etc/kernel/postinst.d. run-parts: executing /etc/kernel/postinst.d/ltsp-update-kernels Cannot open ``/boot/nbi.img-2.6.22-14-386'':File exists run-parts: /etc/kernel/postinst.d/ltsp-update-kernels exited with return code 1 Failed to process /etc/kernel/postinst.d at /var/lib/dpkg/info/linux-image-2.6.22-14-386.postinst line 1002. Problem is caused by /etc/kernel/postinst.d/ltsp-update-kernels script line 139. When the mkelfimage package is installed the script tries to create /boot/nbi-kernel-version file. If it is a kernel update (and kernel version didn't change) the nbi file will be already in place and mkelfimage will return error. The same problem can occure at line 152 with netabootwrap command, but I didn't test it. To fix it we should first create the nbi file in some temporary directory, and then move it (mv -f) to $BOOT dir. ** Affects: ltsp (Ubuntu) Importance: Undecided Status: New -- unable to update kernel inside ltsp image https://bugs.launchpad.net/bugs/189523 You received this bug notification because you are a member of Ubuntu Bugs, which is the bug contact for Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs