码迷,mamicode.com
首页 > 其他好文 > 详细

树莓派apt-get The value '\stable' is invalid for APT 错误

时间:2018-06-23 21:00:04      阅读:771      评论:0      收藏:0      [点我收藏+]

标签:strong   lease   err   /etc/   ...   str   错误   sources   read   

对apt-get进行任何操作都会报错:

pi@raspberrypi:~ $ sudo apt-get upgrade

Reading package lists... Done

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/10defaultRelease这个文件删了。

树莓派apt-get The value '\stable' is invalid for APT 错误

标签:strong   lease   err   /etc/   ...   str   错误   sources   read   

原文地址:https://www.cnblogs.com/shawn-meng/p/9218444.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!