![值“buster”对于 apt::default-release 无效](https://linux22.com/image/162905/%E5%80%BC%E2%80%9Cbuster%E2%80%9D%E5%AF%B9%E4%BA%8E%20apt%3A%3Adefault-release%20%E6%97%A0%E6%95%88.png)
我正在使用:Pop!_OS 18.04 LTS,
当我发出apt
错误时。请参阅下文。
sudo apt install -f
Reading package lists... Done
E: The value 'buster' is invalid for APT::Default-Release as such a release is not available in the sources
sudo apt dist-upgrade
Reading package lists... Done
E: The value 'buster' is invalid for APT::Default-Release as such a release is not available in the sources
sudo apt autoremove --purge
Reading package lists... Done
E: The value 'buster' is invalid for APT::Default-Release as such a release is not available in the sources
sudo apt install synaptic
Reading package lists... Done
E: The value 'buster' is invalid for APT::Default-Release as such a release is not available in the sources
答案1
sudo rm /etc/apt/apt.conf.d/defaultrelease
sudo apt update
解决了问题。