C/C++教程

debian11踩坑(apt) E: Unable to correct problems, you have held broken packages.

本文主要是介绍debian11踩坑(apt) E: Unable to correct problems, you have held broken packages.,对大家解决编程问题具有一定的参考价值,需要的程序猿们随着小编来一起学习吧!

今天装了debian11,刚换源一堆问题(无语)

 

例如 E: Unable to correct problems, you have held broken packages.

 

原因是源有问题貌似没适配……

 

目前可用    清华大学  注意选版本bullseye 即可

# 默认注释了源码镜像以提高 apt update 速度,如有需要可自行取消注释
deb https://mirrors.tuna.tsinghua.edu.cn/debian/ bullseye main contrib non-free
# deb-src https://mirrors.tuna.tsinghua.edu.cn/debian/ bullseye main contrib non-free
deb https://mirrors.tuna.tsinghua.edu.cn/debian/ bullseye-updates main contrib non-free
# deb-src https://mirrors.tuna.tsinghua.edu.cn/debian/ bullseye-updates main contrib non-free

deb https://mirrors.tuna.tsinghua.edu.cn/debian/ bullseye-backports main contrib non-free
# deb-src https://mirrors.tuna.tsinghua.edu.cn/debian/ bullseye-backports main contrib non-free

deb https://mirrors.tuna.tsinghua.edu.cn/debian-security bullseye-security main contrib non-free
# deb-src https://mirrors.tuna.tsinghua.edu.cn/debian-security bullseye-security main contrib non-free

 

这篇关于debian11踩坑(apt) E: Unable to correct problems, you have held broken packages.的文章就介绍到这儿,希望我们推荐的文章对大家有所帮助,也希望大家多多支持为之网!