[Bug 1773629] Re: package apache2 2.4.27-2ubuntu4.1 failed to install/upgrade: подпроцесс установлен сценарий post-installation возвратил код ошибки 127
Andreas Hasenack
andreas at canonical.com
Mon May 28 19:41:13 UTC 2018
/var/lib/dpkg/info/apache2.postinst: line 341: update-rc.d: command not found
dpkg: error while processing the apache2 (--configure) package:
subprocess installed post-installation script returned error code 127
You seem to have a broken system, because that command is very basic and must be installed.
You could try this to attempt to fix it:
sudo apt update
sudo apt install init-system-helpers
If that fails or refuses to run, try:
sudo apt update
sudo apt -f install
And then:
sudo apt install init-system-helpers
This other bit of your log isn't encouraging either:
(Reading the database ...
dpkg: Warning: there is no list of files in the "mysql-server" package; assume that at the moment the package has no installed files
dpkg: Warning: the list of files in the package "mysql-server-core-5.7" is missing; assume that at the moment the package has no installed files
** Changed in: apache2 (Ubuntu)
Status: New => Incomplete
--
You received this bug notification because you are a member of Ubuntu
Server, which is subscribed to apache2 in Ubuntu.
https://bugs.launchpad.net/bugs/1773629
Title:
package apache2 2.4.27-2ubuntu4.1 failed to install/upgrade:
подпроцесс установлен сценарий post-installation возвратил код ошибки
127
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/apache2/+bug/1773629/+subscriptions
More information about the Ubuntu-server-bugs
mailing list