我已经运行 Ubuntu 16.04 有 4-5 个月了,然而从昨天开始我遇到了这个问题。
当我尝试使用以下方法更新或升级我的系统时:
sudo apt-get upgrade
我得到的结果如下:
Err:1 http://ppa.launchpad.net/wine/wine-builds/ubuntu xenial/main amd64 winehq-devel amd64 1.9.23~ubuntu16.04.1
Could not connect to 213.112.147.72:14552 (213.112.147.72), connection timed out
Err:2 http://ppa.launchpad.net/wine/wine-builds/ubuntu xenial/main amd64 wine-devel amd64 1.9.23~ubuntu16.04.1
Unable to connect to 213.112.147.72:14552:
Err:3 http://ppa.launchpad.net/wine/wine-builds/ubuntu xenial/main amd64 wine-devel-amd64 amd64 1.9.23~ubuntu16.04.1
Unable to connect to 213.112.147.72:14552:
Err:4 http://ppa.launchpad.net/wine/wine-builds/ubuntu xenial/main i386 wine-devel-i386 i386 1.9.23~ubuntu16.04.1
Unable to connect to 213.112.147.72:14552:
Err:5 http://ppa.launchpad.net/varlesh-l/papirus-pack/ubuntu xenial/main i386 papirus-gtk-icon-theme all 2016.11.10ubuntu16.04
Unable to connect to 213.112.147.72:14552:
Err:5 http://ppa.launchpad.net/varlesh-l/papirus-pack/ubuntu xenial/main i386 papirus-gtk-icon-theme all 2016.11.10ubuntu16.04
Unable to connect to 213.112.147.72:14552:
E: Failed to fetch http://ppa.launchpad.net/wine/wine-builds/ubuntu/pool/main/w/wine-devel/winehq-devel_1.9.23~ubuntu16.04.1_amd64.deb Could not connect to 213.112.147.72:14552 (213.112.147.72), connection timed out
E: Failed to fetch http://ppa.launchpad.net/wine/wine-builds/ubuntu/pool/main/w/wine-devel/wine-devel_1.9.23~ubuntu16.04.1_amd64.deb Unable to connect to 213.112.147.72:14552:
E: Failed to fetch http://ppa.launchpad.net/wine/wine-builds/ubuntu/pool/main/w/wine-devel/wine-devel-amd64_1.9.23~ubuntu16.04.1_amd64.deb Unable to connect to 213.112.147.72:14552:
E: Failed to fetch http://ppa.launchpad.net/wine/wine-builds/ubuntu/pool/main/w/wine-devel/wine-devel-i386_1.9.23~ubuntu16.04.1_i386.deb Unable to connect to 213.112.147.72:14552:
E: Failed to fetch http://ppa.launchpad.net/varlesh-l/papirus-pack/ubuntu/pool/main/p/papirus-gtk-icon-theme/papirus-gtk-icon-theme_2016.11.10ubuntu16.04_all.deb Unable to connect to 213.112.147.72:14552:
E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?
我该如何解决这个问题?我已经尝试了上述所有方法。
笔记:我已经更改了源服务器,试图让它正常工作
的结果host ppa.launchpad.net
:
ppa.launchpad.net has address 91.189.95.83
;; connection timed out; no servers could be reached
;; connection timed out; no servers could be reached
grep -i wine /etc/apt/sources.list
没有返回任何内容
的结果grep -i wine /etc/apt/sources.list.d/*.list
:
/etc/apt/sources.list.d/ubuntu-wine-ubuntu-ppa-xenial.list:deb http://ppa.launchpad.net/ubuntu-wine/ppa/ubuntu xenial main
/etc/apt/sources.list.d/ubuntu-wine-ubuntu-ppa-xenial.list:# deb-src http://ppa.launchpad.net/ubuntu-wine/ppa/ubuntu xenial main
/etc/apt/sources.list.d/wine-ubuntu-wine-builds-xenial.list:deb http://ppa.launchpad.net/wine/wine-builds/ubuntu xenial main
/etc/apt/sources.list.d/wine-ubuntu-wine-builds-xenial.list:# deb-src http://ppa.launchpad.net/wine/wine-builds/ubuntu xenial main
的结果ping ppa.launchpad.net
:
PING ppa.launchpad.net (91.189.95.83) 56(84) bytes of data.
64 bytes from haetae.canonical.com (91.189.95.83): icmp_seq=1 ttl=52 time=204 ms
64 bytes from haetae.canonical.com (91.189.95.83): icmp_seq=2 ttl=52 time=228 ms
64 bytes from haetae.canonical.com (91.189.95.83): icmp_seq=3 ttl=52 time=252 ms
64 bytes from haetae.canonical.com (91.189.95.83): icmp_seq=4 ttl=52 time=173 ms
64 bytes from haetae.canonical.com (91.189.95.83): icmp_seq=5 ttl=52 time=140 ms
64 bytes from haetae.canonical.com (91.189.95.83): icmp_seq=6 ttl=52 time=220 ms
的结果ping 91.189.95.83
:
64 bytes from 91.189.95.83: icmp_seq=1 ttl=52 time=171 ms
64 bytes from 91.189.95.83: icmp_seq=2 ttl=52 time=194 ms
64 bytes from 91.189.95.83: icmp_seq=3 ttl=52 time=140 ms
64 bytes from 91.189.95.83: icmp_seq=4 ttl=52 time=239 ms
64 bytes from 91.189.95.83: icmp_seq=5 ttl=52 time=139 ms
64 bytes from 91.189.95.83: icmp_seq=6 ttl=52 time=155 ms
关闭路由器、调制解调器和 Ubuntu,然后重新打开它们,效果类似。
cat /etc/resolv.conf
:
# Dynamic resolv.conf(5) file for glibc resolver(3) generated by resolvconf(8)
# DO NOT EDIT THIS FILE BY HAND -- YOUR CHANGES WILL BE OVERWRITTEN
nameserver 127.0.1.1
sudo lshw -C network
:
[sudo] password for arghhjayy:
*-network
description: Wireless interface
product: Wireless 3160
vendor: Intel Corporation
physical id: 0
bus info: pci@0000:06:00.0
logical name: wlp6s0
version: 83
serial: 2c:6e:85:20:60:b1
width: 64 bits
clock: 33MHz
capabilities: pm msi pciexpress bus_master cap_list ethernet physical wireless
configuration: broadcast=yes driver=iwlwifi driverversion=4.4.0-45-generic firmware=16.242414.0 ip=10.0.0.5 latency=0 link=yes multicast=yes wireless=IEEE 802.11abgn
resources: irq:50 memory:aa200000-aa201fff
*-network
description: Ethernet interface
product: RTL8101/2/6E PCI Express Fast/Gigabit Ethernet controller
vendor: Realtek Semiconductor Co., Ltd.
physical id: 0
bus info: pci@0000:07:00.0
logical name: enp7s0
version: 07
serial: 20:47:47:58:c1:c0
size: 10Mbit/s
capacity: 100Mbit/s
width: 64 bits
clock: 33MHz
capabilities: pm msi pciexpress msix vpd bus_master cap_list ethernet physical tp mii 10bt 10bt-fd 100bt 100bt-fd autonegotiation
configuration: autonegotiation=on broadcast=yes driver=r8169 driverversion=2.3LK-NAPI duplex=half firmware=rtl8106e-1_0.0.1 06/29/12 latency=0 link=no multicast=yes port=MII speed=10Mbit/s
resources: irq:43 ioport:4000(size=256) memory:aa100000-aa100fff memory:d2100000-d2103fff
我正在使用无线网络运行。