boo*_*ull 33 debian apt upgrade testing dist-upgrade
我刚刚切换到靶心(见下面的来源)
deb http://deb.debian.org/debian/ testing main contrib non-free
deb-src http://deb.debian.org/debian/ testing main contrib non-free
deb http://deb.debian.org/debian/ testing-updates main contrib non-free
deb-src http://deb.debian.org/debian/ testing-updates main contrib non-free
deb http://deb.debian.org/debian-security testing-security main
deb-src http://deb.debian.org/debian-security testing-security main
deb http://security.debian.org testing-security main contrib non-free
deb-src http://security.debian.org testing-security main contrib non-free
Run Code Online (Sandbox Code Playgroud)
更新和升级一切正常,但由于以下错误消息,完全升级失败:
The following packages have unmet dependencies:
libc6-dev : Breaks: libgcc-8-dev (< 8.4.0-2~) but 8.3.0-6 is to be installed
E: Error, pkgProblemResolver::Resolve generated breaks, this may be caused by held packages.
Run Code Online (Sandbox Code Playgroud)
从我在 packages.debian.org 上看到的,Debian 测试应该有libgcc-8-dev: 8.4.0-4
,所以我不明白为什么要安装旧版本。
我该如何解决这个问题,以完成靶心全面升级?
boo*_*ull 49
安装gcc-8-base
( sudo apt install gcc-8-base
) 似乎对我有用并为我解决了问题。