![我在安装或更新 Ubuntu 时遇到问题](https://linux22.com/image/903075/%E6%88%91%E5%9C%A8%E5%AE%89%E8%A3%85%E6%88%96%E6%9B%B4%E6%96%B0%20Ubuntu%20%E6%97%B6%E9%81%87%E5%88%B0%E9%97%AE%E9%A2%98.png)
大家好,当我尝试安装或更新我的 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
首先要自行运行。