AUR 中有 3 个软件包我想安装:
但当我尝试使用耶,它找不到它:
❯ yay vazir-fonts
No packages match search
我认为原因是我无法连接到 AUR,因为当我 ping archlinux.org 时,一切正常:
❯ ping -c 4 archlinux.org
PING archlinux.org (138.201.81.199) 56(84) bytes of data.
64 bytes from apollo.archlinux.org (138.201.81.199): icmp_seq=1 ttl=55 time=124 ms
64 bytes from apollo.archlinux.org (138.201.81.199): icmp_seq=2 ttl=55 time=125 ms
64 bytes from apollo.archlinux.org (138.201.81.199): icmp_seq=3 ttl=55 time=122 ms
64 bytes from apollo.archlinux.org (138.201.81.199): icmp_seq=4 ttl=55 time=122 ms
--- archlinux.org ping statistics ---
4 packets transmitted, 4 received, 0% packet loss, time 4ms
rtt min/avg/max/mdev = 122.033/123.433/125.182/1.330 ms
但是当我 ping aur.archlinux.org 时,一半的数据包丢失了:
❯ ping -c 4 aur.archlinux.org
PING aur.archlinux.org (5.9.250.164) 56(84) bytes of data.
64 bytes from luna.archlinux.org (5.9.250.164): icmp_seq=1 ttl=55 time=121 ms
64 bytes from luna.archlinux.org (5.9.250.164): icmp_seq=2 ttl=55 time=120 ms
--- aur.archlinux.org ping statistics ---
4 packets transmitted, 2 received, 50% packet loss, time 17ms
rtt min/avg/max/mdev = 120.115/120.734/121.354/0.710 ms
我也尝试过torsocks
,但是也不起作用:
❯ torsocks yay vazir-fonts
No packages match search
我不确定这是否相关,但我也无法克隆 yay 的存储库:
❯ git clone https://aur.archlinux.org/yay.git
Cloning into 'yay'...
fatal: unable to access 'https://aur.archlinux.org/yay.git/': OpenSSL SSL_connect: SSL_ERROR_SYSCALL in connection to aur.archlinux.org:443
所以我必须手动从浏览器中的 AUR 下载它的快照并从那里开始。
我怎样才能解决这个问题?
另外,我曾经nmtui
连接过互联网。
内容/etc/resolv.conf
:
╰─ cat /etc/resolv.conf
# Generated by NetworkManager
search Home
nameserver 192.168.1.1