确保当前升级的 Debian 测试有 libc6 > 2.28

确保当前升级的 Debian 测试有 libc6 > 2.28

尝试通过 apt 包管理器升级来进行 debian 测试,所以它完成了

$ cat /etc/debian_version /etc/os-release 
bullseye/sid
PRETTY_NAME="Debian GNU/Linux bullseye/sid"
NAME="Debian GNU/Linux"

并列出了所有内容以确保有更新的 libc6,但令人惊讶的是它还没有升级,所以:

$ sudo apt upgrade libc6/testing

...

The following packages have unmet dependencies:
 libc-dev-bin : Depends: libc6 (< 2.29) but 2.31-9 is to be installed
 libc6 : Breaks: libgegl-0.4-0 (< 0.4.18) but 0.4.16-0.1~mx19+1 is to be installed
 libc6-dev : Depends: libc6 (= 2.28-10) but 2.31-9 is to be installed
 libgcc1:i386 : Depends: libc6:i386 (>= 2.2.4) but it is not installable

libc6 > 2.28 现在(大部分)仅发布了 2.31(如上面打印的),如何才能不升级,尽管它已经完全升级?请大家帮忙解决一下。

答案1

确保您已sources.list正确设置,这是如何覆盖非 debian 存储库(如 @AB 中所述)这条评论):

sudo rm /etc/apt/sources.list.d/*

cat <<EOF |sudo tee /etc/apt/sources.list
deb http://deb.debian.org/debian/ unstable main
EOF

然后运行:

sudo apt purge libgcc1 # not available in Sid
sudo apt update
sudo apt dist-upgrade

相关内容