failure to update libpam-systemd in 14.04 due to missing logind init script
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
systemd (Ubuntu) |
Fix Released
|
High
|
Unassigned | ||
Trusty |
Won't Fix
|
High
|
Unassigned | ||
Utopic |
Fix Released
|
High
|
Unassigned |
Bug Description
Hi,
while running inside an i386 lubuntu 14.04 chroot, upgrading libpam-systemd to version 204-5ubuntu20.2 fails leaving dpkg in a broken state. 'apt-get -f install' from within the chroot will not fix it, but if the build is made bootable and put into a iso/VM you can recover that way in a live session.
the problem seems to be the /var/lib/
?
Reading package lists...
Building dependency tree...
Reading state information...
The following packages will be upgraded:
libpam-systemd
1 upgraded, 0 newly installed, 0 to remove and 113 not upgraded.
3 not fully installed or removed.
Need to get 0 B/25.2 kB of archives.
After this operation, 1024 B of additional disk space will be used.
(Reading database ... 113986 files and directories currently installed.)
Preparing to unpack .../libpam-
invoke-rc.d: unknown initscript, /etc/init.
dpkg: warning: subprocess old pre-removal script returned error exit status 100
dpkg: trying script from the new package instead ...
invoke-rc.d: unknown initscript, /etc/init.
dpkg: error processing archive /var/cache/
subprocess new pre-removal script returned error exit status 100
invoke-rc.d: unknown initscript, /etc/init.
dpkg: error while cleaning up:
subprocess installed post-installation script returned error exit status 100
Errors were encountered while processing:
/var/cache/
E: Sub-process /usr/bin/dpkg returned an error code (1)
Our build logs available upon request, but the scripts to setup the chroot to recreate it are here:
https:/
https:/
In a web-search I notice a few others running into the same bug,
chatter on irc at [18:10], http://
someone else's build log: https:/
launchpad bug #1323575 seems to be a duplicate of this one.
perhaps related to older launchpad bug #1305395 ?
note we are also suffering from a failure with update-initramfs, not sure of the root cause of that one but I thought I'd mention it in case they were related, since they both started happening about the same time, a couple weeks ago. (launchpad bug #1317602)
It all worked ok after the inital releases of 14.04, so something to do with a package update since then.
thanks,
Hamish
tags: | added: trusty |
Changed in systemd (Ubuntu): | |
importance: | Undecided → High |
Changed in systemd (Ubuntu Trusty): | |
status: | Triaged → Fix Released |
Interesting that the last step of the libpam-systemd .postinst script is to remove the systemd-logind service, that the new version of the package compains about not being able to find..?
(or does that just clean up any left over cruft in /etc/init.d/, and not /etc/init/ ?)
Hamish