[英]ubuntu apt-get install all fiald?some errors with rsyslog
The user `syslog' is already a member of `adm'.
Skipping profile in /etc/apparmor.d/disable: usr.sbin.rsyslogd
/usr/sbin/invoke-rc.d: 1: /usr/sbin/invoke-rc.d: /sbin/runlevel: not found
start: Job failed to start
invoke-rc.d: initscript rsyslog, action "restart" failed.
dpkg: error processing package rsyslog (--configure):
subprocess installed post-installation script returned error exit status 1
Setting up ppp (2.4.5-5.1ubuntu2.2) ...
update-rc.d: warning: start and stop actions are no longer supported; falling back to defaults
insserv: Service gdm has to be enabled to start service pppd-dns
insserv: exiting now!
update-rc.d: error: insserv rejected the script header
dpkg: error processing package ppp (--configure):
subprocess installed post-installation script returned error exit status 1
Setting up liblua5.2-0:amd64 (5.2.3-1) ...
Setting up librpmio3 (4.11.1-3ubuntu0.1) ...
Setting up debugedit (4.11.1-3ubuntu0.1) ...
Setting up librpm3 (4.11.1-3ubuntu0.1) ...
Setting up librpmbuild3 (4.11.1-3ubuntu0.1) ...
Setting up librpmsign1 (4.11.1-3ubuntu0.1) ...
Setting up rpm-common (4.11.1-3ubuntu0.1) ...
Setting up rpm2cpio (4.11.1-3ubuntu0.1) ...
Setting up rpm (4.11.1-3ubuntu0.1) ...
Processing triggers for libc-bin (2.21-0ubuntu4) ...
Errors were encountered while processing:
rsyslog
ppp
E: Sub-process /usr/bin/dpkg returned an error code (1)
this the error meesage.这是错误信息。 At first, I just want to reinstall mysql.
一开始,我只想重新安装mysql。 when I
service mysql restart
, ubuntu give me a unkonw instance
error.当我
service mysql restart
,ubuntu 给我一个unkonw instance
错误。 so, I reinstall it, then, I can't install it again.所以,我重新安装它,然后,我无法再次安装它。 seems like apt-get install was not worked.
似乎 apt-get install 不起作用。
Stop the rsyslog first先停止rsyslog
sudo service rsyslog stop
sudo systemctl stop rsyslog.service
sudo systemctl disable rsyslog.service
Then Try:然后尝试:
sudo apt-get -f install
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.