我需要有关 cpp: cpp-7 问题的帮助

我需要有关 cpp: cpp-7 问题的帮助

我刚刚为我爸爸全新安装了 Ubuntu Bionic Beaver 18.04,一切顺利,直到我在运行 sudo apt-get update and upgrade 后在终端中收到此消息。我有点不知道如何解决我的问题。任何帮助都将不胜感激。老家伙想再次驾驶他的飞机。(80 岁加拿大皇家空军老兵)。谢谢

The following packages have unmet dependencies:

cpp: cpp-7: Depends: gcc-7-base (= 7.3.0-27ubuntu1~18.04) but 7.4.0-1ubuntu1~18.04.1 is installed
       Depends: libgmp10 (>= 2:5.0.1~) but 2:6.1.2+dfsg-2 is installed
       Depends: zlib1g (>= 1:1.1.4) but 1:1.2.11.dfsg-0ubuntu2 is installed

我刚刚运行了“apt policy cpp cpp-7”,结果如下。我仍然不知道接下来该做什么:

~$ apt policy cpp cpp-7
cpp:
  Installed: 4:7.4.0-1ubuntu2.3
  Candidate: 4:7.4.0-1ubuntu2.3
  Version table:
 *** 4:7.4.0-1ubuntu2.3 500
        500 http://ca.archive.ubuntu.com/ubuntu bionic-updates/main amd64 Packages
        500 http://security.ubuntu.com/ubuntu bionic-security/main amd64 Packages
        100 /var/lib/dpkg/status
     4:7.3.0-3ubuntu2 500
        500 http://ca.archive.ubuntu.com/ubuntu bionic/main amd64 Packages
cpp-7:
  Installed: 7.3.0-27ubuntu1~18.04
  Candidate: 7.4.0-1ubuntu1~18.04.1
  Version table:
     7.4.0-1ubuntu1~18.04.1 500
        500 http://ca.archive.ubuntu.com/ubuntu bionic-updates/main amd64 Packages
        500 http://security.ubuntu.com/ubuntu bionic-security/main amd64 Packages
     7.3.0-30ubuntu1~18.04.york0 500
        500 http://ppa.launchpad.net/jonathonf/gcc-7.3/ubuntu bionic/main amd64 Packages
 *** 7.3.0-27ubuntu1~18.04 100
        100 /var/lib/dpkg/status
     7.3.0-16ubuntu3 500
        500 http://ca.archive.ubuntu.com/ubuntu bionic/main amd64 Packages

相关内容