You are not logged in.

#1 2024-11-28 20:53:51

Franco_64
Member
From: Milano, Italy
Registered: 2021-11-20
Posts: 48

[RESOLVED] Problems with pacman: a lot of 404 errors

Hi,

I'm trying to install Gnome, but pacman gives me a lot of 404 errors (my connection is OK):

:: Vuoi procedere con l'installazione? [S/n]
:: Download dei pacchetti in corso...
impossibile scaricare openal-1.24.0-1-x86_64.pkg.tar.zst
Totale (  1/266)                           46,7 MiB  5,10 MiB/s 00:09 [#######################################] 100%
errore: impossibile scaricare il pacchetto 'openal-1.24.0-1-x86_64.pkg.tar.zst' da mirror.theo546.fr : The requested URL returned error: 404
errore: impossibile scaricare il pacchetto 'openal-1.24.0-1-x86_64.pkg.tar.zst' da al.arch.niranjan.co : The requested URL returned error: 404

and so on, for a lot of Arch mirrors.

All the errors concern openal-1.24.0-1-x86_64.pkg.tar.zst

Last edited by Franco_64 (2024-11-28 21:10:21)

Offline

#2 2024-11-28 21:01:48

pvtvega
Member
Registered: 2024-11-25
Posts: 21

Re: [RESOLVED] Problems with pacman: a lot of 404 errors

Did you update your package database first with

pacman -Syu

? Are you able to install other packages?

Offline

#3 2024-11-28 21:02:07

seth
Member
Registered: 2012-09-03
Posts: 58,964

Re: [RESOLVED] Problems with pacman: a lot of 404 errors

Because openal is at 1.24.1-1
Either bad mirror (try reflector) or you're running partial updates.

pacman -Syu

Online

#4 2024-11-28 21:05:18

Franco_64
Member
From: Milano, Italy
Registered: 2021-11-20
Posts: 48

Re: [RESOLVED] Problems with pacman: a lot of 404 errors

I've done a general update with pacman -Syu about three hours ago and running reflector just 5 minutes before trying to install Gnome

Offline

#5 2024-11-28 21:07:52

Franco_64
Member
From: Milano, Italy
Registered: 2021-11-20
Posts: 48

Re: [RESOLVED] Problems with pacman: a lot of 404 errors

Now I've done another pacman -Syu and all is ok.

Arch is a very rolling distro! :-)

Offline

#6 2024-11-28 21:11:24

pvtvega
Member
Registered: 2024-11-25
Posts: 21

Re: [RESOLVED] Problems with pacman: a lot of 404 errors

Always run pacman -Syu before installing any packages.

Offline

#7 2024-11-28 21:17:53

seth
Member
Registered: 2012-09-03
Posts: 58,964

Re: [RESOLVED] Problems with pacman: a lot of 404 errors

You technically don't have to, but 404 is a strong indicator for a dated database, ie. you need to run "-Sy" and at that point your setting yourself up for partial updates which will either cause immediate problems or some later on (unless you make a mental note that you did this and check every subseqent pacman -S for whether the latest package versions predate your database update)

tl;dr
"Always run pacman -Syu when you encounter a 404 on a good mirror"

Online

Board footer

Powered by FluxBB