这是我尝试下载并安装系统更新时收到此错误消息的第二天。有 25 个更新等待安装,其中包括操作系统更新。
包管理器的详细错误如下:
无法将 Packages/j/java-1.8.0-openjdk-headless-1.8.0.60-14.b27.fc23.i686.rpm 下载到 /var/cache/PackageKit/metadata/fedora/packages/: Curl 错误 (6):无法解析主机名 https://mirrors.fedoraproject.org/metalink?repo=fedora-23&arch=x86_64 [无法解析主机:mirrors.fedoraproject.org]
我已经能够安装各种软件包,但不能安装系统更新。还有什么我可以在本地尝试的吗?
当我去https://mirrors.fedoraproject.org/metalink?repo=fedora-23&arch=x86_64或在浏览器中使用mirrors.fedoraproject.org,解析 URL。只有在进行系统更新时才会失败。
我的文件内容/etc/resolv.conf
:
# Generated by NetworkManager
search hsd1.ma.comcast.net
nameserver 75.75.75.75
nameserver 75.75.76.76
nameserver 2001:558:feed::1
# NOTE: the libc resolver may not support more than 3 nameservers.
# The nameservers listed below may not be recognized.
nameserver 2001:558:feed::2
的输出sudo ifconfig -a
:
enp0s25:标志=4099 mtu 1500
ether 00:24:7e:e1:89:5b txqueuelen 1000 (Ethernet) RX packets 0 bytes 0 (0.0 B) RX errors 0 dropped 0 overruns 0 frame 0 TX packets 0 bytes 0 (0.0 B) TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0 device interrupt 20 memory 0xfc600000-fc620000
瞧:标志=73 mtu 65536
inet 127.0.0.1 netmask 255.0.0.0 inet6 ::1 prefixlen 128 scopeid 0x10<host> loop txqueuelen 0 (Local Loopback) RX packets 24 bytes 2064 (2.0 KiB) RX errors 0 dropped 0 overruns 0 frame 0 TX packets 24 bytes 2064 (2.0 KiB) TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
virbr0:标志=4099 mtu 1500
inet 192.168.124.1 netmask 255.255.255.0 broadcast 192.168.124.255 ether 52:54:00:1d:e6:d9 txqueuelen 0 (Ethernet) RX packets 0 bytes 0 (0.0 B) RX errors 0 dropped 0 overruns 0 frame 0 TX packets 0 bytes 0 (0.0 B) TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
virbr0-nic:标志=4098 mtu 1500
ether 52:54:00:1d:e6:d9 txqueuelen 500 (Ethernet) RX packets 0 bytes 0 (0.0 B) RX errors 0 dropped 0 overruns 0 frame 0 TX packets 0 bytes 0 (0.0 B) TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
wlp3s0:标志=4163 mtu 1500
inet 10.0.0.142 netmask 255.255.255.0 broadcast 10.0.0.255 inet6 2601:184:4500:bff5:221:6aff:fe8b:fbbc prefixlen 64 scopeid 0x0<global> inet6 fe80::221:6aff:fe8b:fbbc prefixlen 64 scopeid 0x20<link> inet6 2601:184:4500:bff5::154d prefixlen 128 scopeid 0x0<global> ether 00:21:6a:8b:fb:bc txqueuelen 1000 (Ethernet) RX packets 17231 bytes 9568612 (9.1 MiB) RX errors 0 dropped 0 overruns 0 frame 0 TX packets 13742 bytes 2820399 (2.6 MiB) TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0