ArchにSnapdをインストール中にエラーが発生しました。

ArchにSnapdをインストール中にエラーが発生しました。

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推奨またはサポートしていません)。

おすすめ記事