大家好,当我尝试安装或更新我的 ubuntu 系统时,我收到此消息:
命令和消息:
mrrobot@mrrobot-pc:~$ sudo apt-get -f install upstart
Reading package lists... Done
Building dependency tree
Reading state information... Done
You might want to run 'apt-get -f install' to correct these:
The following packages have unmet dependencies:
teamviewer:i386 : Depends: qtdeclarative5-controls-plugin:i386 (>= 5.2) but it is not installable or
qml-module-qtquick-controls:i386 (>= 5.2) but it is not going to be installed
Depends: qtdeclarative5-quicklayouts-plugin:i386 (>= 5.2) but it is not installable or
qml-module-qtquick-layouts:i386 (>= 5.2) but it is not going to be installed
upstart : Depends: mountall
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).
答案1
尝试使用:
sudo apt install -f
不要添加upstart
到末尾。
upstart
您首先不应该尝试安装,因为systemd
这是引导和监控系统的首选系统。
你可能想做的是:
sudo apt update
sudo apt upgrade
但正如错误信息指出的那样,sudo apt install -f
首先要自行运行。