首页 文章

libc6-dbg安装错误

提问于
浏览
0

我正在尝试在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 .

1 回答

  • 0

    你正在运行Ubuntu(最好的 linux 发行版),对吧?我认为您面临的问题是因为您的操作系统,我想您的某些软件包已损坏您应该尝试这些shell命令 - 这可能需要您花费一些宝贵的时间 .

    $ sudo su
    

    然后输入您的密码

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

    这对我有用,试试这个,我相信这会解决你所有的问题,祝你好运 .

相关问题