我尝试在 Windows (WSL) 上的 Bash 上运行此命令
sudo apt-get install libudev1 libudev-dev libparted0-dev
因为程序或脚本需要这些包才能正常运行f3probe
。我尝试使用和修复缺失的命令,但没有什么效果f3fix
。altMayor
apt-get update
E: Failed to fetch http://archive.ubuntu.com/ubuntu/pool/main/s/systemd/udev_229-4ubuntu21_amd64.deb 404 Not Found [IP: 91.189.88.149 80]
E: Failed to fetch http://archive.ubuntu.com/ubuntu/pool/main/s/systemd/libudev1_229-4ubuntu21_amd64.deb 404 Not Found [IP: 91.189.88.149 80]
E: Failed to fetch http://archive.ubuntu.com/ubuntu/pool/main/s/systemd/libudev-dev_229-4ubuntu21_amd64.deb 404 Not Found [IP: 91.189.88.149 80]
E: Failed to fetch http://security.ubuntu.com/ubuntu/pool/main/g/glibc/libc-dev-bin_2.23-0ubuntu9_amd64.deb 404 Not Found [IP: 91.189.88.149 80]
E: Failed to fetch http://security.ubuntu.com/ubuntu/pool/main/l/linux/linux-libc-dev_4.4.0-104.127_amd64.deb 404 Not Found [IP: 91.189.88.149 80]
E: Failed to fetch http://security.ubuntu.com/ubuntu/pool/main/g/glibc/libc6-dev_2.23-0ubuntu9_amd64.deb 404 Not Found [IP: 91.189.88.149 80]
E: Failed to fetch http://archive.ubuntu.com/ubuntu/pool/main/u/util-linux/uuid-dev_2.27.1-6ubuntu3.3_amd64.deb 404 Not Found [IP: 91.189.88.149 80]
E: Failed to fetch http://archive.ubuntu.com/ubuntu/pool/main/u/util-linux/libblkid-dev_2.27.1-6ubuntu3.3_amd64.deb 404 Not Found [IP: 91.189.88.149 80]
E: Aborting install.
答案1
尝试通过 Apt 下载软件包时出现 404 错误的一个可能原因是系统上的可用软件包列表已过期:Apt 尝试下载不再可用的旧版本软件包,从而导致 404 错误。在这种情况下,必须更新软件包列表,例如使用sudo apt update
。