我在安装或更新 Ubuntu 时遇到问题

我在安装或更新 Ubuntu 时遇到问题

大家好,当我尝试安装或更新我的 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首先要自行运行。

相关内容