值“buster”对于 apt::default-release 无效

值“buster”对于 apt::default-release 无效

我正在使用: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

解决了问题。

答案2

流行!_科技

Pop!_OS 构建于 Ubuntu 及其存储库之上。我们遵循 Ubuntu 版本号和发布周期。

“Buster”是 Debian 版本名称,而不是 Ubuntu 版本名称。

相关内容