← Back to team overview

touch-packages team mailing list archive

[Bug 1475852] Re: 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

 

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
Touch seeded packages, which is subscribed to systemd in 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

Status in systemd package in Ubuntu:
  Confirmed

Bug description:
  I'm using Ubuntu 15.10 dev with systemd 222-2ubuntu1 and on
  configuring systemd I'm getting this:

  root@ubuntu:~# dpkg-reconfigure systemd
  /var/lib/dpkg/info/systemd.postinst: 120: /var/lib/dpkg/info/systemd.postinst: cannot open /run/systemd/was-enabled: No such file

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/systemd/+bug/1475852/+subscriptions


References