[Bug 1836236] Re: 9.4ubuntu4.9: Broken package because of missing "#" @ /var/lib/dpkg/info/base-files.postinst +131
Tom Reynolds
1836236 at bugs.launchpad.net
Thu Jul 11 20:50:31 UTC 2019
This command was reported to successfully work around this bug:
sudo sed -i 's/^Automatically/# Automatically/g' /var/lib/dpkg/info
/base-files.postinst
It changes any lines starting with "Automatically" into comments, which
lets the script finish properly when you run:
sudo dpkg --configure base-files
Or just run this afterwards:
sudo apt -f install
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to base-files in Ubuntu.
https://bugs.launchpad.net/bugs/1836236
Title:
9.4ubuntu4.9: Broken package because of missing "#" @
/var/lib/dpkg/info/base-files.postinst +131
Status in base-files package in Ubuntu:
Confirmed
Bug description:
Trying to install this on xenial results in:
Setting up base-files (9.4ubuntu4.9) ...
/var/lib/dpkg/info/base-files.postinst: 131: /var/lib/dpkg/info/base-files.postinst: Automatically: not found
dpkg: error processing package base-files (--configure):
subprocess installed post-installation script returned error exit status 127
Errors were encountered while processing:
base-files
E: Sub-process /usr/bin/dpkg returned an error code (1)
Because there is a missing comment "#" at the beginning of line 131 of /var/lib/dpkg/info/base-files.postinst, ie:
Automatically added by dh_systemd_start
^-- # ?
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/base-files/+bug/1836236/+subscriptions
More information about the foundations-bugs
mailing list