[Bug 1766574] Re: Installation failed if systemd isn't installed: /var/lib/dpkg/info/rsyslog.postinst: 28: /var/lib/dpkg/info/rsyslog.postinst: systemd-tmpfiles: not found

ahrasis ahrasis at gmail.com
Wed Apr 25 03:59:19 UTC 2018


I ran update and upgrade just now and the new rsyslog (8.32.0-1ubuntu4)
caused error on my server affecting initramfs-tools as well. Running
"dpkg --configure -a" and "apt install -f" won't fix it. I hope next fix
won't cause other error.

--------------------

Setting up rsyslog (8.32.0-1ubuntu4) ...
awk: error while loading shared libraries: libreadline.so.6: cannot open shared object file: No such file or directory
dpkg: error processing package rsyslog (--configure):
 installed rsyslog package post-installation script subprocess returned error exit status 127
dpkg: error processing package initramfs-tools (--configure):
 installed initramfs-tools package post-installation script subprocess returned error exit status 127
Errors were encountered while processing:
 rsyslog
 initramfs-tools
E: Sub-process /usr/bin/dpkg returned an error code (1)

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to rsyslog in Ubuntu.
https://bugs.launchpad.net/bugs/1766574

Title:
  Installation failed if systemd isn't installed:
  /var/lib/dpkg/info/rsyslog.postinst: 28:
  /var/lib/dpkg/info/rsyslog.postinst: systemd-tmpfiles: not found

Status in cloud-images:
  Opinion
Status in rsyslog package in Ubuntu:
  Fix Released

Bug description:
  
  Ubuntu Bionic docker container missing Priority: Import; Task:minimal package.

  --

  If you have an image that doesn't have systemd installed, installing
  rsyslog fails with the following error:

    /var/lib/dpkg/info/rsyslog.postinst: 28:
  /var/lib/dpkg/info/rsyslog.postinst: systemd-tmpfiles: not found

  If I install the systemd package, the rsyslog installation succeeds.

  This is with with version 8.32.0-1ubuntu3 in bionic.

  A quick way of reproducing this is to grab the latest docker bionic
  image and try to install rsyslog in there.

To manage notifications about this bug go to:
https://bugs.launchpad.net/cloud-images/+bug/1766574/+subscriptions



More information about the foundations-bugs mailing list