![没有安装候选者](https://linux22.com/image/229636/%E6%B2%A1%E6%9C%89%E5%AE%89%E8%A3%85%E5%80%99%E9%80%89%E8%80%85.png)
今天我安装了 Debian 11。我无法在上面安装任何软件包:
sudo apt install make .
sudo apt install build-essential
以及我继续的任何其他包裹“ Package "name" has no installation candidate
”
答案1
我通过以下步骤解决这个问题:
1-sudo nano /etc/apt/sources.list
添加这个
2- deb http://deb.debian.org/debian bullseye main contrib non-free
保存并退出,然后:
3-debian@debian:~$ sudo apt update && sudo apt upgrade
4-debian@debian:~$ sudo apt-get install build-essential
或任何其他包