[GH-ISSUE #4952] error: failed retrieving file 'apparmor-3.0.3-3-x86_64.pkg.tar.zst' when installing firejail #2835

Closed
opened 2026-05-05 09:29:23 -06:00 by gitea-mirror · 1 comment
Owner

Originally created by @ghost on GitHub (Feb 16, 2022).
Original GitHub issue: https://github.com/netblue30/firejail/issues/4952

below is what gets printed into the console

pogprogrammer@acris$ sudo pacman -S firejail 
resolving dependencies...
looking for conflicting packages...

Packages (2) apparmor-3.0.3-3  firejail-0.9.68-1

Total Download Size:   1.08 MiB
Total Installed Size:  6.18 MiB

:: Proceed with installation? [Y/n] y
:: Retrieving packages...
 apparmor-3.0.3-3-x86_64.pkg.tar.zst failed to download
error: failed retrieving file 'apparmor-3.0.3-3-x86_64.pkg.tar.zst' from arch.mirror.constant.com : The requested URL returned error: 404
error: failed retrieving file 'apparmor-3.0.3-3-x86_64.pkg.tar.zst' from america.mirror.pkgbuild.com : The requested URL returned error: 404
error: failed retrieving file 'apparmor-3.0.3-3-x86_64.pkg.tar.zst' from mirror.cyberbits.eu : The requested URL returned error: 404
error: failed retrieving file 'apparmor-3.0.3-3-x86_64.pkg.tar.zst' from archlinux.mailtunnel.eu : The requested URL returned error: 404
error: failed retrieving file 'apparmor-3.0.3-3-x86_64.pkg.tar.zst' from europe.mirror.pkgbuild.com : The requested URL returned error: 404
error: failed retrieving file 'apparmor-3.0.3-3-x86_64.pkg.tar.zst' from mirror.ubrco.de : The requested URL returned error: 404
error: failed retrieving file 'apparmor-3.0.3-3-x86_64.pkg.tar.zst' from ftp.halifax.rwth-aachen.de : The requested URL returned error: 404
error: failed retrieving file 'apparmor-3.0.3-3-x86_64.pkg.tar.zst' from mirror.lty.me : The requested URL returned error: 404
error: failed retrieving file 'apparmor-3.0.3-3-x86_64.pkg.tar.zst' from de.arch.mirror.kescher.at : The requested URL returned error: 404
error: failed retrieving file 'apparmor-3.0.3-3-x86_64.pkg.tar.zst' from mirror.chaoticum.net : The requested URL returned error: 404
error: failed retrieving file 'apparmor-3.0.3-3-x86_64.pkg.tar.zst' from mirror.moson.org : The requested URL returned error: 404
error: failed retrieving file 'apparmor-3.0.3-3-x86_64.pkg.tar.zst' from phinau.de : The requested URL returned error: 404
error: failed retrieving file 'apparmor-3.0.3-3-x86_64.pkg.tar.zst' from mirror.luzea.de : The requested URL returned error: 404
error: failed retrieving file 'apparmor-3.0.3-3-x86_64.pkg.tar.zst' from mirror.pkgbuild.com : The requested URL returned error: 404
error: failed retrieving file 'apparmor-3.0.3-3-x86_64.pkg.tar.zst' from mirror.telepoint.bg : The requested URL returned error: 404
error: failed retrieving file 'apparmor-3.0.3-3-x86_64.pkg.tar.zst' from mirror.f4st.host : The requested URL returned error: 404
error: failed retrieving file 'apparmor-3.0.3-3-x86_64.pkg.tar.zst' from mirror.cyberbits.asia : 
error: failed retrieving file 'apparmor-3.0.3-3-x86_64.pkg.tar.zst' from archlinux.thaller.ws : The requested URL returned error: 404
error: failed retrieving file 'apparmor-3.0.3-3-x86_64.pkg.tar.zst' from asia.mirror.pkgbuild.com : The requested URL returned error: 404
error: failed retrieving file 'apparmor-3.0.3-3-x86_64.pkg.tar.zst' from archmirror.it : The requested URL returned error: 403
warning: failed to retrieve some files
error: failed to commit transaction (failed to retrieve some files)
Errors occurred, no packages were upgraded.
pogprogrammer@acris$ 
Originally created by @ghost on GitHub (Feb 16, 2022). Original GitHub issue: https://github.com/netblue30/firejail/issues/4952 below is what gets printed into the console ```console pogprogrammer@acris$ sudo pacman -S firejail resolving dependencies... looking for conflicting packages... Packages (2) apparmor-3.0.3-3 firejail-0.9.68-1 Total Download Size: 1.08 MiB Total Installed Size: 6.18 MiB :: Proceed with installation? [Y/n] y :: Retrieving packages... apparmor-3.0.3-3-x86_64.pkg.tar.zst failed to download error: failed retrieving file 'apparmor-3.0.3-3-x86_64.pkg.tar.zst' from arch.mirror.constant.com : The requested URL returned error: 404 error: failed retrieving file 'apparmor-3.0.3-3-x86_64.pkg.tar.zst' from america.mirror.pkgbuild.com : The requested URL returned error: 404 error: failed retrieving file 'apparmor-3.0.3-3-x86_64.pkg.tar.zst' from mirror.cyberbits.eu : The requested URL returned error: 404 error: failed retrieving file 'apparmor-3.0.3-3-x86_64.pkg.tar.zst' from archlinux.mailtunnel.eu : The requested URL returned error: 404 error: failed retrieving file 'apparmor-3.0.3-3-x86_64.pkg.tar.zst' from europe.mirror.pkgbuild.com : The requested URL returned error: 404 error: failed retrieving file 'apparmor-3.0.3-3-x86_64.pkg.tar.zst' from mirror.ubrco.de : The requested URL returned error: 404 error: failed retrieving file 'apparmor-3.0.3-3-x86_64.pkg.tar.zst' from ftp.halifax.rwth-aachen.de : The requested URL returned error: 404 error: failed retrieving file 'apparmor-3.0.3-3-x86_64.pkg.tar.zst' from mirror.lty.me : The requested URL returned error: 404 error: failed retrieving file 'apparmor-3.0.3-3-x86_64.pkg.tar.zst' from de.arch.mirror.kescher.at : The requested URL returned error: 404 error: failed retrieving file 'apparmor-3.0.3-3-x86_64.pkg.tar.zst' from mirror.chaoticum.net : The requested URL returned error: 404 error: failed retrieving file 'apparmor-3.0.3-3-x86_64.pkg.tar.zst' from mirror.moson.org : The requested URL returned error: 404 error: failed retrieving file 'apparmor-3.0.3-3-x86_64.pkg.tar.zst' from phinau.de : The requested URL returned error: 404 error: failed retrieving file 'apparmor-3.0.3-3-x86_64.pkg.tar.zst' from mirror.luzea.de : The requested URL returned error: 404 error: failed retrieving file 'apparmor-3.0.3-3-x86_64.pkg.tar.zst' from mirror.pkgbuild.com : The requested URL returned error: 404 error: failed retrieving file 'apparmor-3.0.3-3-x86_64.pkg.tar.zst' from mirror.telepoint.bg : The requested URL returned error: 404 error: failed retrieving file 'apparmor-3.0.3-3-x86_64.pkg.tar.zst' from mirror.f4st.host : The requested URL returned error: 404 error: failed retrieving file 'apparmor-3.0.3-3-x86_64.pkg.tar.zst' from mirror.cyberbits.asia : error: failed retrieving file 'apparmor-3.0.3-3-x86_64.pkg.tar.zst' from archlinux.thaller.ws : The requested URL returned error: 404 error: failed retrieving file 'apparmor-3.0.3-3-x86_64.pkg.tar.zst' from asia.mirror.pkgbuild.com : The requested URL returned error: 404 error: failed retrieving file 'apparmor-3.0.3-3-x86_64.pkg.tar.zst' from archmirror.it : The requested URL returned error: 403 warning: failed to retrieve some files error: failed to commit transaction (failed to retrieve some files) Errors occurred, no packages were upgraded. pogprogrammer@acris$ ```
gitea-mirror 2026-05-05 09:29:23 -06:00
  • closed this issue
  • added the
    notabug
    label
Author
Owner

@kmk3 commented on GitHub (Feb 16, 2022):

@GamingMaster991 commented on Feb 16:

below is what gets printed into the console

pogprogrammer@acris$ sudo pacman -S firejail 
resolving dependencies...
looking for conflicting packages...

Packages (2) apparmor-3.0.3-3  firejail-0.9.68-1

Total Download Size:   1.08 MiB
Total Installed Size:  6.18 MiB

:: Proceed with installation? [Y/n] y
:: Retrieving packages...
 apparmor-3.0.3-3-x86_64.pkg.tar.zst failed to download
error: failed retrieving file 'apparmor-3.0.3-3-x86_64.pkg.tar.zst' from arch.mirror.constant.com : The requested URL returned error: 404

This is either a usage error or an issue with your distribution/mirrors, not
with firejail. Most likely, it's caused by an outdated database.

From https://wiki.archlinux.org/title/Pacman#Packages_cannot_be_retrieved_on_installation:

Packages cannot be retrieved on installation

This error manifests as Not found in sync db, Target not found or Failed retrieving file.

Firstly, ensure the package actually exists. If certain the package exists,
your package list may be out-of-date. Try running pacman -Syu to force a
refresh of all package lists and upgrade. Also make sure the selected mirrors
are up-to-date and repositories are correctly configured.

<!-- gh-comment-id:1042405750 --> @kmk3 commented on GitHub (Feb 16, 2022): @GamingMaster991 commented [on Feb 16](https://github.com/netblue30/firejail/issues/4952#issue-1140679919): > below is what gets printed into the console > > ``` > pogprogrammer@acris$ sudo pacman -S firejail > resolving dependencies... > looking for conflicting packages... > > Packages (2) apparmor-3.0.3-3 firejail-0.9.68-1 > > Total Download Size: 1.08 MiB > Total Installed Size: 6.18 MiB > > :: Proceed with installation? [Y/n] y > :: Retrieving packages... > apparmor-3.0.3-3-x86_64.pkg.tar.zst failed to download > error: failed retrieving file 'apparmor-3.0.3-3-x86_64.pkg.tar.zst' from arch.mirror.constant.com : The requested URL returned error: 404 > ``` This is either a usage error or an issue with your distribution/mirrors, not with firejail. Most likely, it's caused by an outdated database. From <https://wiki.archlinux.org/title/Pacman#Packages_cannot_be_retrieved_on_installation>: > Packages cannot be retrieved on installation > > This error manifests as `Not found in sync db`, `Target not found` or `Failed > retrieving file`. > > Firstly, ensure the package actually exists. If certain the package exists, > your package list may be out-of-date. Try running `pacman -Syu` to force a > refresh of all package lists and upgrade. Also make sure the selected mirrors > are up-to-date and repositories are correctly configured.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: github-starred/firejail#2835
No description provided.