值“stable”对于 APT::Default-Release 无效,因为此类版本在源中不可用

值“stable”对于 APT::Default-Release 无效,因为此类版本在源中不可用

我正在使用 Parrot Linux。我正在尝试执行,sudo apt-get update但最后出现此错误:

E: The value 'stable' is invalid for APT::Default-Release as such a release is not available in the sources

我试图改变/etc/apt/apt.conf.d/99defaultrelease

APT::Default-Release "stable";

到:

APT::Default-Release "wheezy";

但我只稍微改变了错误:

E: The value 'wheezy' is invalid for APT::Default-Release as such a release is not available in the sources

答案1

我发现了问题。我正在执行一些不应该执行的命令(因为如果您有 Debian Stable,则应该执行这些命令。所以我只是重新安装了 Parrot。

相关内容