root@localhost:/etc/apt# apt-get update
Err:1 http://ports.ubuntu.com/ubuntu-ports xenial InRelease
Could not connect to 168.168.0.14:3142 (168.168.0.14), connection timed out
Err:2 http://ports.ubuntu.com/ubuntu-ports xenial-updates InRelease
Unable to connect to 168.168.0.14:3142:
Err:3 http://ports.ubuntu.com/ubuntu-ports xenial-backports InRelease
Unable to connect to 168.168.0.14:3142:
Err:4 http://ports.ubuntu.com/ubuntu-ports xenial-security InRelease
Unable to connect to 168.168.0.14:3142:
Reading package lists… Done
W: Failed to fetch http://ports.ubuntu.com/ubuntu-ports/dists/xenial/InRelease Could not connect to 168.168.0.14:3142 (168.168.0.14), connection timed out
W: Failed to fetch http://ports.ubuntu.com/ubuntu-ports/dists/xenial-updates/InRelease Unable to connect to 168.168.0.14:3142:
W: Failed to fetch http://ports.ubuntu.com/ubuntu-ports/dists/xenial-backports/InRelease Unable to connect to 168.168.0.14:3142:
W: Failed to fetch http://ports.ubuntu.com/ubuntu-ports/dists/xenial-security/InRelease Unable to connect to 168.168.0.14:3142:
W: Some index files failed to download. They have been ignored, or old ones used instead.
是apt.conf加了代理,去掉就好了,
apt-get upgrade是选择y,无线就连不上了,好像ibus不能更新,需要保持原样
我的系统是ubuntu 15.04,找不到/etc/apt/apt.conf 这个文件啊。