安装个酸酸儒,都跑不动?卡半天
河北网友:编辑/etc/apt/sources.list文件,改成下面的:
- deb http://mirrors.aliyun.com/debian/ stretch main non-free contrib
- deb http://mirrors.aliyun.com/debian-security stretch/updates main
- deb-src http://mirrors.aliyun.com/debian/ stretch main non-free contrib
- deb-src http://mirrors.aliyun.com/debian-security stretch/updates main
- deb http://mirrors.aliyun.com/debian/ stretch-updates main non-free contrib
- deb-src http://mirrors.aliyun.com/debian/ stretch-updates main non-free contrib
- deb http://mirrors.aliyun.com/debian/ stretch-backports main non-free contrib
- deb-src http://mirrors.aliyun.com/debian/ stretch-backports main non-free contrib
复制代码
然后:
- apt-get update
复制代码
吉林网友:提示明显是说连不上源的IPv6地址
因为机器根本没有IPv6
把 /etc/gai.conf 里面 perecedence ::ffff:0:0/96 100 这一行 前面的#删掉,强制走IPv4 就可以了
一堆看到不看提示,换源可以解决,但是不是这个fail的问题
山西网友:他默认的源挂了呗 换个就行了
- vim /etc/apt/sources.list
复制代码
- deb http://httpredir.debian.org/debian stretch main contrib non-free
- #deb-src http://httpredir.debian.org/debian stretch main contrib non-free
- deb http://httpredir.debian.org/debian stretch-updates main contrib non-free
- #deb-src http://httpredir.debian.org/debian stretch-updates main contrib non-free
- deb http://httpredir.debian.org/debian stretch-backports main contrib non-free
- #deb-src http://httpredir.debian.org/debian stretch-backports main contrib non-free
- deb http://security.debian.org/ stretch/updates main contrib non-free
- #deb-src http://security.debian.org/ stretch/updates main contrib non-free
复制代码
江苏网友:我换阿里云的源解决了
台湾网友:换系统??
福建网友:换源 紫薯布丁
云南网友:obfs = http_simple
Press any key to start…or Press Ctrl+C to cancel
Err:1 http://mirror.yandex.ru/debian stretch InRelease
Cannot initiate the connection to mirror.yandex.ru:80 (2a02:6b8::183). – connect (101: Network is unreachable) [IP: 2a02:6b8::183 80]
Err:2 http://mirror.yandex.ru/debian stretch-updates InRelease
Cannot initiate the connection to mirror.yandex.ru:80 (). – connect (101: Network is unreachable) [IP: 2a02:6b8::183 80]
Err:3 http://security-cdn.debian.org/debian-security stretch/updates InRelease
Cannot initiate the connection to security-cdn.debian.org:80 (). – connect (101: Network is unreachable) [IP: 2a04:4e42:14::204 80]
河南网友:老哥,重装系统卡83%了,是等着还是删了重建啊
上海网友:写的好详细,我刚好不会,帮上大忙了。
感谢感谢
重庆网友:战略性mark
广西网友:战略性mark
吉林网友:rc http://httpredir.debian.org/debian stretch main contrib non-free
deb http://httpredir.debian.org/debian stretch-updates main contrib non-free
rc http://httpredir.debian.org/debian stretch main contrib non-free
deb http://httpredir.debian.org/debian stretch-updates main contrib non-free
#deb-src http://httpredir.debian.org/debian stretch-updates main contrib non-free
deb http://httpredir.debian.org/debian stretch-backports main contrib non-free
#deb-src http://httpredir.debian.org/debian stretch-backports main contrib non-free
deb http://security.debian.org/ stretch/updates main contrib non-free
#deb-src http://security.debian.org/ stretch/updates main contrib non-free
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
"/etc/apt/sources.list"
"/etc/apt/sources.list" E212: Can’t open file for writing
Press ENTER or type command to continue
大佬看看哪里不对
安徽网友:
- :w !sudo tee % > /dev/null
复制代码…遇事先百度 自己解决啊
甘肃网友:删除了就没了。
湖北网友:要安装速度快些,就换个源吧
安徽网友:马克
上海网友:提示明显是说连不上源的IPv6地址
因为机器根本没有IPv6
把 /etc/gai.conf 里面 perecedence ::ffff:0:0/96 100 这一行 前面的#删掉,强制走IPv4 就可以了
一堆看到不看提示,换源可以解决,但是不是这个fail的问题
云南网友: 换个源应该就好了吧..
江西网友:yum update
河南网友:
我之前 hostsolutions的小鸡也是这样,禁用ipv6就好
浙江网友:
我之前 hostsolutions的小鸡也是这样,禁用ipv6就好
未经允许不得转载:美国VPS_搬瓦工CN2 GIA VPS » 毛子机,提示的都是些啥东西???