I have also seen the bug while installing binutils-dev or liiberty-dev in Ubuntu 15.04, with systemd 219. :~$ sudo apt-get install libiberty-dev Reading package lists... Done Building dependency tree Reading state information... Done The following NEW packages will be installed: libiberty-dev 0 upgraded, 1 newly installed, 0 to remove and 6 not upgraded. 5 not fully installed or removed. Need to get 144 kB of archives. After this operation, 668 kB of additional disk space will be used. Get:1 http://ie.archive.ubuntu.com/ubuntu/ vivid/main libiberty-dev amd64 20141014-1 [144 kB] Fetched 144 kB in 0s (462 kB/s) Setting up systemd (219-7ubuntu6) ... /var/lib/dpkg/info/systemd.postinst: 133: /var/lib/dpkg/info/systemd.postinst: cannot open /run/systemd/was-enabled: No such file
** (process:32336): WARNING **: Unable to register authentication agent: Timeout was reached Error registering authentication agent: Timeout was reached (g-io-error-quark, 24) Failed to try-restart systemd-logind.service: Connection timed out -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1475852 Title: Error message "/var/lib/dpkg/info/systemd.postinst: 120: /var/lib/dpkg/info/systemd.postinst: cannot open /run/systemd/was- enabled: No such file" on configuring To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/systemd/+bug/1475852/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs