Similar problem here. I'm using UCK (Ubuntu Customization Kit) to create
a custom 64-bit Xubuntu 14.04 image.
When in chroot (via uck-remaster-chroot-rootfs) it is not possible to
upgrade oder dist-upgrade. It will fail with the described dependency
errors.
Besides libpam-systemd and whoopsie I also have it happening on the
linux-image:
linux-signed-image-3.13.0-24-generic : Depends: linux-image-3.13.0-24-generic
(= 3.13.0-24.47) but 3.13.0-24.46 is installed
Depends:
linux-image-extra-3.13.0-24-generic (= 3.13.0-24.47) but 3.13.0-24.46 is
installed
For libpam-systemd and whoopsie I can workaround it by editing the
following files as described by hamish:
/var/lib/dpkg/info/whoopsie.prerm
/var/lib/dpkg/info/libpam-systemd\:amd64.prerm
/var/lib/dpkg/info/libpam-systemd\:amd64.postinst
(change "exit $?" to "exit 0" in the invoke-rc.d lines)
The linux-image fails on something different. There is a "unexpected fi"
occurring in the following files:
/etc/kernel/postrm.d/zz-update-grub
/etc/kernel/postinst.d/zz-update-grub
They contain an if statement with the if body commented out so the 'fi'
directly follows the 'then' which is a syntax error:
if [ -e /boot/grub/grub.cfg ]; then
#exec update-grub
fi
Also commenting out the 'if' and 'fi' lines works around it.
Btw. the method by Silvia (putting the packages on hold) does not work
for me, because it will fail to create the /boot/vmlinz-* files which I
need for my modifications.
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1325142
Title:
failure to update libpam-systemd in 14.04 due to missing logind init
script
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/systemd/+bug/1325142/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs