我正在选修谷歌技术支持基础课程。对于本课程的一部分,我将通过RDP连接我的VM。但是当我执行这些命令时:
sudo apt-add-repository ppa:remmina-ppa-team/remmina-next
sudo apt update
sudo apt install remmina remmina-plugin-rdp remmina-plugin-secret remmina-plugin-spice我得到以下错误:
Reading package lists... Done
Building dependency tree
Reading state information... Done
You might want to run 'apt --fix-broken install' to correct these.
The following packages have unmet dependencies:
mongodb-enterprise : Depends: mongodb-enterprise-server but it is not going to be installed
Depends: mongodb-enterprise-mongos but it is not going to be installed
Depends: mongodb-enterprise-tools but it is not going to be installed
remmina : Depends: remmina-common (= 1.3.6+ppa201908270749.r88fcce0.dcd85008~ubuntu18.04.1) but 1.2.0-rcgit.29+dfsg-1ubuntu1 is to be installed
remmina-plugin-spice : Depends: libspice-client-glib-2.0-8 (>= 0.32) but it is not going to be installed
Depends: libspice-client-gtk-3.0-5 (>= 0.32) but it is not going to be installed
remmina-plugin-vnc : Depends: remmina (= 1.2.0-rcgit.29+dfsg-1ubuntu1)
E: Unmet dependencies. Try 'apt --fix-broken install' with no packages (or specify a solution).为了解决这个问题,我也尝试了这些命令,但是没有成功。
sudo apt --fix-broken install
sudo dpkg --configure -a$ apt-cache policy mongodb-enterprise
mongodb-enterprise:
Installed: 4.2.0
Candidate: 4.2.0
Version table:
*** 4.2.0 500
500 repo.mongodb.com/apt/ubuntu bionic/mongodb-enterprise/4.2/multiverse amd64 Packages
100 /var/lib/dpkg/status发布于 2019-10-13 16:34:32
如前所述,我们可以使用以下命令删除MongoDB:
sudo apt-get purge mongodb-enterprise*然后,对于大多数用例,您可以从存储库的主口袋中使用Remmina。
所以你必须移除PPA
sudo apt-get update
sudo apt-get install ppa-purge
sudo ppa-purge ppa:remmina-ppa-team/remmina-next并从普通主存储库安装Remmina:
sudo apt-get install remmina remmina-plugin-rdp remmina-plugin-secret remmina-plugin-spicehttps://askubuntu.com/questions/1180669
复制相似问题