毛子机,提示的都是些啥东西???

搬瓦工机场JMS

安装个酸酸儒,都跑不动?卡半天
河北网友:编辑/etc/apt/sources.list文件,改成下面的:

  1. deb http://mirrors.aliyun.com/debian/ stretch main non-free contrib
  2. deb http://mirrors.aliyun.com/debian-security stretch/updates main
  3. deb-src http://mirrors.aliyun.com/debian/ stretch main non-free contrib
  4. deb-src http://mirrors.aliyun.com/debian-security stretch/updates main
  5. deb http://mirrors.aliyun.com/debian/ stretch-updates main non-free contrib
  6. deb-src http://mirrors.aliyun.com/debian/ stretch-updates main non-free contrib
  7. deb http://mirrors.aliyun.com/debian/ stretch-backports main non-free contrib
  8. deb-src http://mirrors.aliyun.com/debian/ stretch-backports main non-free contrib

复制代码
然后:

  1. apt-get update

复制代码

吉林网友:提示明显是说连不上源的IPv6地址
因为机器根本没有IPv6

把 /etc/gai.conf 里面 perecedence ::ffff:0:0/96 100 这一行 前面的#删掉,强制走IPv4 就可以了

一堆看到不看提示,换源可以解决,但是不是这个fail的问题
山西网友:他默认的源挂了呗  换个就行了

  1. vim /etc/apt/sources.list

复制代码

  1. deb http://httpredir.debian.org/debian stretch main contrib non-free
  2. #deb-src http://httpredir.debian.org/debian stretch main contrib non-free
  3. deb http://httpredir.debian.org/debian stretch-updates main contrib non-free
  4. #deb-src http://httpredir.debian.org/debian stretch-updates main contrib non-free
  5. deb http://httpredir.debian.org/debian stretch-backports main contrib non-free
  6. #deb-src http://httpredir.debian.org/debian stretch-backports main contrib non-free
  7. deb http://security.debian.org/ stretch/updates main contrib non-free
  8. #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

大佬看看哪里不对
安徽网友:

  1. :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 » 毛子机,提示的都是些啥东西???

赞 (0) 打赏

评论 0

  • 昵称 (必填)
  • 邮箱 (必填)
  • 网址

觉得文章有用就打赏一下文章作者

支付宝扫一扫打赏

微信扫一扫打赏