关于apt-get update的问题。

系统安装、升级讨论
版面规则
我们都知道新人的确很菜,也喜欢抱怨,并且带有浓厚的Windows习惯,但既然在这里询问,我们就应该有责任帮助他们解决问题,而不是直接泼冷水、简单的否定或发表对解决问题没有任何帮助的帖子。乐于分享,以人为本,这正是Ubuntu的精神所在。
回复
halo2
帖子: 1
注册时间: 2016-09-22 18:57
系统: ubuntu 14.04

关于apt-get update的问题。

#1

帖子 halo2 » 2016-09-22 19:00

求助,apt-get update出问题了,之前都可以正常使用的,更新了163的源还是一样
claudia@DataPC:~$ sudo apt-get update
[sudo] password for claudia:
Err http://mirrors.163.com vivid InRelease

Err http://mirrors.163.com vivid-security InRelease

Err http://mirrors.163.com vivid-updates InRelease

Err http://mirrors.163.com vivid-proposed InRelease

Err http://mirrors.163.com vivid-backports InRelease

Err http://mirrors.163.com vivid Release.gpg
Unable to connect to 155.132.90.26:8000:
Err http://mirrors.163.com vivid-security Release.gpg
Unable to connect to 155.132.90.26:8000:
Err http://mirrors.163.com vivid-updates Release.gpg
Unable to connect to 155.132.90.26:8000:
Err http://mirrors.163.com vivid-proposed Release.gpg
Unable to connect to 155.132.90.26:8000:
Err http://mirrors.163.com vivid-backports Release.gpg
Unable to connect to 155.132.90.26:8000:
Err http://ppa.launchpad.net trusty InRelease

Err http://archive.ubuntukylin.com:10006 xenial InRelease

Err http://ppa.launchpad.net trusty InRelease

Err http://archive.ubuntukylin.com:10006 xenial Release.gpg
Unable to connect to 155.132.90.26:8000:
Err http://ppa.launchpad.net trusty Release.gpg
Unable to connect to 155.132.90.26:8000:
Err http://ppa.launchpad.net trusty Release.gpg
Unable to connect to 155.132.90.26:8000:
Reading package lists... Done
W: Failed to fetch http://mirrors.163.com/ubuntu/dists/vivid/InRelease

W: Failed to fetch http://mirrors.163.com/ubuntu/dists/viv ... /InRelease

W: Failed to fetch http://mirrors.163.com/ubuntu/dists/viv ... /InRelease

W: Failed to fetch http://mirrors.163.com/ubuntu/dists/viv ... /InRelease

W: Failed to fetch http://mirrors.163.com/ubuntu/dists/viv ... /InRelease

W: Failed to fetch http://ppa.launchpad.net/chris-lea/node ... /InRelease

W: Failed to fetch http://archive.ubuntukylin.com:10006/ub ... /InRelease

W: Failed to fetch http://ppa.launchpad.net/webupd8team/ja ... /InRelease

W: Failed to fetch http://mirrors.163.com/ubuntu/dists/vivid/Release.gpg Unable to connect to 155.132.90.26:8000:

W: Failed to fetch http://mirrors.163.com/ubuntu/dists/viv ... elease.gpg Unable to connect to 155.132.90.26:8000:

W: Failed to fetch http://mirrors.163.com/ubuntu/dists/viv ... elease.gpg Unable to connect to 155.132.90.26:8000:

W: Failed to fetch http://mirrors.163.com/ubuntu/dists/viv ... elease.gpg Unable to connect to 155.132.90.26:8000:

W: Failed to fetch http://mirrors.163.com/ubuntu/dists/viv ... elease.gpg Unable to connect to 155.132.90.26:8000:

W: Failed to fetch http://ppa.launchpad.net/chris-lea/node ... elease.gpg Unable to connect to 155.132.90.26:8000:

W: Failed to fetch http://archive.ubuntukylin.com:10006/ub ... elease.gpg Unable to connect to 155.132.90.26:8000:

W: Failed to fetch http://ppa.launchpad.net/webupd8team/ja ... elease.gpg Unable to connect to 155.132.90.26:8000:

W: Some index files failed to download. They have been ignored, or old ones used instead.
claudia@DataPC:~$ ping mirrors.163.com
PING mirrors.163.com (123.58.173.186) 56(84) bytes of data.
64 bytes from 123.58.173.186: icmp_seq=1 ttl=56 time=13.2 ms
64 bytes from 123.58.173.186: icmp_seq=2 ttl=56 time=12.6 ms
64 bytes from 123.58.173.186: icmp_seq=3 ttl=56 time=12.2 ms
^C
--- mirrors.163.com ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 2003ms
rtt min/avg/max/mdev = 12.210/12.703/13.264/0.442 ms
claudia@DataPC:~$ export http_proxy="http://127.0.0.1:8087"
claudia@DataPC:~$ Defaults env_keep = "http_proxy https_proxy ftp_proxy"
No command 'Defaults' found, did you mean:
Command 'defaults' from package 'gnustep-base-runtime' (universe)
Defaults: command not found
claudia@DataPC:~$ sudo gedit /etc/resolvconf/resolv.conf.d/base

(gedit:7897): IBUS-WARNING **: The owner of /home/claudia/.config/ibus/bus is not root!

(gedit:7897): Gtk-WARNING **: Calling Inhibit failed: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.gnome.SessionManager was not provided by any .service files

(gedit:7897): Gtk-WARNING **: Calling Inhibit failed: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.gnome.SessionManager was not provided by any .service files
poloshiao
论坛版主
帖子: 18279
注册时间: 2009-08-04 16:33

Re: 关于apt-get update的问题。

#2

帖子 poloshiao » 2016-09-22 19:22

sudo gedit /etc/resolvconf/resolv.conf.d/base
(gedit:7897): IBUS-WARNING **: The owner of /home/claudia/.config/ibus/bus is not root!
... (以下省略)
1. 這只是 WARNING 屬於通知性質 還不算嚴重錯誤

2. 試試
gksudo gedit /etc/resolvconf/resolv.conf.d/base

3. 進一步說明 參見
viewtopic.php?p=3175691#p3175691

4. 其它問題
把下面指令 複製 貼進終端機 執行
4-1. sudo cat /etc/apt/sources.list
4-2. sudo ls -Al /etc/apt/sources.list.d
把結果全部直接 選取/複製/貼上來
Elwayjob36
帖子: 4
注册时间: 2016-10-25 19:37

apt get update

#3

帖子 Elwayjob36 » 2016-10-28 15:35

Looking forward to seeing everyone again. Was not able to get to November meet so been such a long time. Did you mention a theme for the ladies Katie?
回复