libstdc++6 :中断:libboost-date-time1.54.0

libstdc++6 :中断:libboost-date-time1.54.0

我遇到了与未满足的依赖项相关的错误: libstdc++6 : Breaks: libboost-date-time1.54.0 但要安装 1.54.0-4ubuntu3.1 。

我发现我手动安装了libstdc++6。

 $ apt-cache policy libstdc++6
    libstdc++6:
      Installed: 8-20180331-1
      Candidate: 8-20180331-1
      Version table:
     *** 8-20180331-1 0
            100 /var/lib/dpkg/status
         4.8.4-2ubuntu1~14.04.4 0
            500 http://archive.ubuntu.com/ubuntu/ trusty-updates/main amd64 Packages
            500 http://security.ubuntu.com/ubuntu/ trusty-security/main amd64 Packages
         4.8.2-19ubuntu1 0
            500 http://archive.ubuntu.com/ubuntu/ trusty/main amd64 Packages

gcc (Ubuntu 4.8.5-2ubuntu1~14.04.1) 4.8.5
Copyright (C) 2015 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

    gcc-4.8:
      Installed: 4.8.5-2ubuntu1~14.04.1
      Candidate: 4.8.5-2ubuntu1~14.04.1
      Version table:
     *** 4.8.5-2ubuntu1~14.04.1 0
            100 /var/lib/dpkg/status
         4.8.4-2ubuntu1~14.04.4 0
            500 http://archive.ubuntu.com/ubuntu/ trusty-updates/main amd64 Packages
            500 http://security.ubuntu.com/ubuntu/ trusty-security/main amd64 Packages
         4.8.2-19ubuntu1 0
            500 http://archive.ubuntu.com/ubuntu/ trusty/main amd64 Packages

由于这些依赖性问题,我无法安装 libreoffice 和许多其他软件。如何解决这个问题。

答案1

您运行的版本libstdc++6比您的发行版提供的版本更新。如果你想正确使用你的发行版的包,你应该恢复:

sudo apt install libstdc++6=4.8.4-2ubuntu1~14.04.4

相关内容