WEB-DL

关于 Debian出现“The value ‘stable’ is invalid for APT::Default-Release as such a release is not available in the sources”错误的解决方案

恭喜你遇到这个错误,绳命在于折腾嘛,再次恭喜你找到本答案,因为我相信你已经谷歌、百毒花了好久时间找解决方案了吧,然后和我一样还是不能解决问题,既然这样,就请看我的解决方案了。

1、更换软件源

2、查看错误原因

grep -ri stable /etc

找到以下类似的错误

/etc/apt/apt.conf.d/71distro:APT::Default-Release "stable";
/etc/apt/apt.conf.d/71distro:APT::Default-Release "stable";
/etc/apt/apt.conf.d/71distro:APT::Default-Release "stable";
/etc/apt/apt.conf.d/71distro:APT::Default-Release "stable";
/etc/apt/apt.conf.d/71distro:APT::Default-Release "stable";

3、清空71distro里面的东西或者stable换成wheezy\jessie

nano /etc/apt/apt.conf.d/71distro

4、然后更新一遍系统或者直接安装需要安装的软件即可

码字很辛苦,转载请注明来自非WEB-DL资源站《关于 Debian出现“The value ‘stable’ is invalid for APT::Default-Release as such a release is not available in the sources”错误的解决方案》

评论

评论关闭