我尝试安装 Snap。我克隆了它https://aur.archlinux.org/snapd.git
然后我输入了makepkg -si
,但它无法检索包裹。
looking for conflicting packages...
Packages (2) apparmor-3.0.0-3 squashfs-tools-4.4-2
Total Download Size: 1.19 MiB
Total Installed Size: 4.24 MiB
:: Proceed with installation? [Y/n] y
:: Retrieving packages...
error: failed retrieving file 'apparmor-3.0.0-3-x86_64.pkg.tar.zst' from arch.jensgutermuth.de : The requested URL returned error: 404
error: failed retrieving file 'apparmor-3.0.0-3-x86_64.pkg.tar.zst' from mirror.kumi.systems : The requested URL returned error: 404
error: failed retrieving file 'apparmor-3.0.0-3-x86_64.pkg.tar.zst' from mirror.orbit-os.com : The requested URL returned error: 404
error: failed retrieving file 'apparmor-3.0.0-3-x86_64.pkg.tar.zst' from mirror.ubrco.de : The requested URL returned error: 404
error: failed retrieving file 'apparmor-3.0.0-3-x86_64.pkg.tar.zst' from mirror.chaoticum.net : The requested URL returned error: 404
error: failed retrieving file 'apparmor-3.0.0-3-x86_64.pkg.tar.zst' from archlinux.dynamict.se : The requested URL returned error: 404
error: failed retrieving file 'apparmor-3.0.0-3-x86_64.pkg.tar.zst' from ftp.myrveln.se : The requested URL returned error: 404
一直持续到最后。
我应该怎么做才能解决这个问题?
答案1
您的包索引已过时 - 源存储库已经有 3.0.1-1。您需要先使用 进行更新/升级pacman -Syu
(也可以使用 进行部分升级pacman -Sy
,但不推荐也不支持)。