gpt4 book ai didi

debian - 由于依赖关系损坏,apt-get 无法安装任何东西

转载 作者:行者123 更新时间:2023-12-05 08:41:48 29 4
gpt4 key购买 nike

每当我为任何包运行 apt-get install 时,我都会收到此错误

➜  ~ sudo apt-get install clang-5.0

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:

gcc-7-multilib : Depends: libc6-dev-i386 (>= 2.11) but it is not going to be installed

libc6-dev-x32 : Depends: libc6-dev-i386 (= 2.25-2) but it is not going to be installed

E: Unmet dependencies. Try 'apt --fix-broken install' with no packages (or specify a solution).

当我运行 sudo apt --fix-broken install 时出现这个错误

Unpacking libc6-dev-i386 (2.25-2) ...

dpkg: error processing archive /var/cache/apt/archives/libc6-dev-i386_2.25-2_amd64.deb (--unpack):
trying to overwrite '/usr/include/bits', which is also in package libc6-dev-amd64:i386 2.25-2

Errors were encountered while processing:

/var/cache/apt/archives/libc6-dev-i386_2.25-2_amd64.deb

E: Sub-process /usr/bin/dpkg returned an error code (1)

最佳答案

我通过第一次运行修复了它

sudo dpkg -r libc6-dev-i386

然后通过运行sudo apt-get install libc6-dev-i386。

关于debian - 由于依赖关系损坏,apt-get 无法安装任何东西,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/47461291/

29 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com