我正在尝试安装 mysql 但出现此错误:
# apt-get install mysql-server
E: dpkg was interrupted, you must manually run 'dpkg --configure -a' to correct the problem.
# dpkg --configure -a
Setting up systemd (219-7ubuntu6) ...
Failed to stop lib-init-rw.mount: Unit lib-init-rw.mount not loaded.
有什么建议吗?
附言:Ubuntu 15.04
UPD1: 取消流程后的消息
^Cdpkg: error processing package systemd (--configure):
subprocess installed post-installation script was interrupted
Errors were encountered while processing:
systemd
答案1
我得到了它。
apt-get update
apt-get clean
apt-get autoclean
apt-get autoremove
apt-get check
apt-get -m update
apt-get dist-upgrade