Ubuntu
無法在 Ubuntu 19.10 上安裝 rpcbind。E: 獲取失敗錯誤
我正在嘗試使用
rpc middleware
並且我必須安裝一個應用程序,rpcbind
但後來我一直遇到一個問題:Reading package lists... Done Building dependency tree Reading state information... Done The following additional packages will be installed: libtirpc-common libtirpc3 The following NEW packages will be installed: libtirpc-common libtirpc3 rpcbind 0 upgraded, 3 newly installed, 0 to remove and 146 not upgraded. Need to get 142 kB of archives. After this operation, 445 kB of additional disk space will be used. Do you want to continue? [Y/n] y Ign:1 http://us.archive.ubuntu.com/ubuntu eoan/main amd64 libtirpc-common all 1.1.4-0.4 Err:2 http://us.archive.ubuntu.com/ubuntu eoan/main amd64 libtirpc3 amd64 1.1.4-0.4 404 Not Found [IP: 91.189.91.38 80] Err:3 http://us.archive.ubuntu.com/ubuntu eoan/main amd64 rpcbind amd64 1.2.5-6 404 Not Found [IP: 91.189.91.38 80] Err:1 http://us.archive.ubuntu.com/ubuntu eoan/main amd64 libtirpc-common all 1.1.4-0.4 404 Not Found [IP: 91.189.91.38 80] E: Failed to fetch http://us.archive.ubuntu.com/ubuntu/pool/main/libt/libtirpc/libtirpc-common_1.1.4-0.4_all.deb 404 Not Found [IP: 91.189.91.38 80] E: Failed to fetch http://us.archive.ubuntu.com/ubuntu/pool/main/libt/libtirpc/libtirpc3_1.1.4-0.4_amd64.deb 404 Not Found [IP: 91.189.91.38 80] E: Failed to fetch http://us.archive.ubuntu.com/ubuntu/pool/main/r/rpcbind/rpcbind_1.2.5-6_amd64.deb 404 Not Found [IP: 91.189.91.38 80] E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?
當我輸入時
df -h
,我得到這個:Filesystem Size Used Avail Use% Mounted on udev 953M 0 953M 0% /dev tmpfs 196M 1.5M 195M 1% /run /dev/sda1 20G 7.5G 12G 41% / tmpfs 980M 15M 965M 2% /dev/shm tmpfs 5.0M 4.0K 5.0M 1% /run/lock tmpfs 980M 0 980M 0% /sys/fs/cgroup /dev/loop0 384K 384K 0 100% /snap/gnome-characters/570 /dev/loop3 1.0M 1.0M 0 100% /snap/gnome-logs/100 /dev/loop1 157M 157M 0 100% /snap/gnome-3-28-1804/110 /dev/loop2 65M 65M 0 100% /snap/gtk-common-themes/1514 /dev/loop5 98M 98M 0 100% /snap/core/10577 /dev/loop4 218M 218M 0 100% /snap/gnome-3-34-1804/60 /dev/loop7 56M 56M 0 100% /snap/core18/1944 /dev/loop6 90M 90M 0 100% /snap/core/8268 /dev/loop9 15M 15M 0 100% /snap/gnome-characters/375 /dev/loop8 163M 163M 0 100% /snap/gnome-3-28-1804/145 /dev/loop10 55M 55M 0 100% /snap/core18/1754 /dev/loop13 4.3M 4.3M 0 100% /snap/gnome-calculator/544 /dev/loop11 2.5M 2.5M 0 100% /snap/gnome-calculator/826 /dev/loop12 1.0M 1.0M 0 100% /snap/gnome-logs/81 /dev/loop14 45M 45M 0 100% /snap/gtk-common-themes/1440 tmpfs 196M 32K 196M 1% /run/user/1000
Ubuntu 19.10 是 EOL Ubuntu 版本。建議升級您的發行版。
要繼續使用 EOL 版本,您需要
/etc/apt/sources.list
通過將 URL 替換為 來調整您的版本http://old-releases.ubuntu.com/ubuntu/
,然後執行:sudo apt update && sudo apt upgrade