You are not logged in.

#1 2025-02-01 20:11:35

Tännhauser
Member
Registered: 2025-02-01
Posts: 2

[Solved] Pacman failed to download packages

Hi I'm a newbie when it comes to arch
I'm trying to install hyprland but I get a 404 from my set mirrors

error: failed retrieving file 'hyprland-0.47.0-2-x86_64.pkg.tar.zst' from london.mirror.pkgbuild.com : The requested URL returned error: 404
error: failed retrieving file 'hyprland-0.47.0-2-x86_64.pkg.tar.zst' from europe.mirror.pkgbuild.com : The requested URL returned error: 404
error: failed retrieving file 'hyprland-0.47.0-2-x86_64.pkg.tar.zst' from mirror.ubrco.de : The requested URL returned error: 404
...
warning: failed to retrieve some files
error: failed to commit transaction (failed to retrieve some files)
Errors occurred, no packages were upgraded.

I've looked on the pacman wiki page but I can't see anything that's helping

Last edited by Tännhauser (2025-02-02 07:15:44)

Offline

#2 2025-02-01 20:27:52

Daerandin
Member
From: Norway
Registered: 2013-05-07
Posts: 280
Website

Re: [Solved] Pacman failed to download packages

The current version of hyprland is 0.47.1-2, while you are trying to download an older version that most likely don't exist on mirrors anymore. This means that your local pacman database is outdated. Update your system and you should be good.

Offline

#3 2025-02-01 20:30:33

WorMzy
Administrator
From: Scotland
Registered: 2010-06-16
Posts: 13,492
Website

Re: [Solved] Pacman failed to download packages

That sort of error usually* means that your pacman sync databases are out of date. Update your system (pacman -Syu) and try again.

* it can also sometimes be caused by an out-of-sync mirror, but in this case hyprland is now at 0.47.1-2 in the Arch repos, so it is your system that is outdated.

Edit: beaten to the punch!

Last edited by WorMzy (2025-02-01 20:31:09)


Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD

Making lemonade from lemons since 2015.

Offline

#4 2025-02-01 20:34:22

jonno2002
Member
Registered: 2016-11-21
Posts: 856

Re: [Solved] Pacman failed to download packages

thats because the mirror has updated since your last Syu and the hyprland package has changed version, you need to run "pacman -Syu hyprland" or add the archlinux archive to the end of your /etc/pacman.d/mirrorlist

Server = https://archive.archlinux.org/packages/.all

that way you can still install packages without having to update the whole system.
the first method is preferred of course.

EDIT: beaten twice

Last edited by jonno2002 (2025-02-01 20:34:51)

Offline

Board footer

Powered by FluxBB