- A+
所属分类:Linux
有的VPS商家的Debian系统执行apt-get update会失败,因为源的设置有问题。编辑下源的地址就行了
编辑/etc/apt/sources.list,内容为
deb http://ftp.us.debian.org/debian/ wheezy main deb-src http://ftp.us.debian.org/debian/ wheezy main deb http://security.debian.org/ wheezy/updates main deb-src http://security.debian.org/ wheezy/updates main # wheezy-updates, previously known as 'volatile' deb http://ftp.us.debian.org/debian/ wheezy-updates main deb-src http://ftp.us.debian.org/debian/ wheezy-updates main
运行
apt-get update
apt-get dist-upgrade
重新启动即可
如果报gpg错误 先运行
apt-get install debian-archive-keyring
我的微信公众号
我的微信公众号扫一扫
2015年11月7日 下午11:41 沙发
Warning: Use of undefined constant auto - assumed 'auto' (this will throw an Error in a future version of PHP) in /www/wwwroot/past.cmsky.org/wp-content/themes/begin5.2/inc/inc.php on line 911
话说我装了个ubuntu,好难用,努力适应中。。。。