【问题标题】:libc6-dbg installation errorlibc6-dbg安装错误
【发布时间】:2021-08-28 17:00:51
【问题描述】:

我正在尝试在运行 VMWare 的 Ubuntu 上安装 vlagrind。 Valgrind 安装停止,因为它需要 libc6-dbg。

当我尝试使用“sudo apt-get install libc6-dbg”安装 libc6-dbg 时,我收到此错误:

Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
 libc6-dbg : Depends: libc6 (= 2.11.3-3) but 2.13-35 is to be installed

很明显,我需要将 libc6 从 2.11.3-3 升级到 2.13-35。我该怎么做?许多软件包依赖于 libc6。

【问题讨论】:

    标签: ubuntu


    【解决方案1】:

    如果您运行的是 Ubuntu,我猜您的某些软件包已损坏。你应该试试这些 shell 命令。

    $ sudo su
    

    然后输入你的密码。

    # apt-get clean
    # apt-get autoclean
    # apt-get update
    # apt-get upgrade
    # apt-get dist-upgrade
    # reboot
    

    这对我有用。祝你好运。

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2017-10-08
      • 2021-05-28
      • 1970-01-01
      • 2012-11-05
      • 1970-01-01
      • 2019-07-30
      相关资源
      最近更新 更多