我正在使用: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
解决了问题。