You are not logged in.

#1 2023-05-21 13:35:04

qwrtln
Member
Registered: 2023-05-21
Posts: 4

[Solved] 404 on all packages in all mirrors

Hello, I'm trying to perform a system upgrade, but I can't download any packages, as all the mirrors for all the packages return 404. Example:

sudo pacman -Syu
:: Synchronising package databases...
 core is up to date
 extra is up to date
 community is up to date
 multilib is up to date
:: Starting full system upgrade...
resolving dependencies...
looking for conflicting packages...

Packages (8) lib32-sqlite-3.42.0-1  libbytesize-2.8-1  pacman-6.0.2-7  perl-alien-build-2.79-1  python-pycryptodome-3.18.0-1  python-setuptools-1:67.7.1-1
             python-trove-classifiers-2023.5.2-1  python-validate-pyproject-0.13-1

Total Download Size:    3.85 MiB
Total Installed Size:  16.43 MiB
Net Upgrade Size:       0.04 MiB

:: Proceed with installation? [Y/n]
:: Retrieving packages...
 python-pycryptodome-3.18.0-1-x86_64.pkg.tar.zst failed to download
 Total (1/8)                                                                      3.9 MiB  5.79 MiB/s 00:01 [################################################################] 100%
error: failed retrieving file 'python-pycryptodome-3.18.0-1-x86_64.pkg.tar.zst' from ftp.icm.edu.pl : The requested URL returned error: 404
error: failed retrieving file 'python-pycryptodome-3.18.0-1-x86_64.pkg.tar.zst' from mirror.juniorjpdj.pl : The requested URL returned error: 404
error: failed retrieving file 'python-pycryptodome-3.18.0-1-x86_64.pkg.tar.zst' from arch.midov.pl : The requested URL returned error: 404
error: failed retrieving file 'python-pycryptodome-3.18.0-1-x86_64.pkg.tar.zst' from ftp.psnc.pl : The requested URL returned error: 404
error: failed retrieving file 'python-pycryptodome-3.18.0-1-x86_64.pkg.tar.zst' from arch.sakamoto.pl : The requested URL returned error: 404
error: failed retrieving file 'python-pycryptodome-3.18.0-1-x86_64.pkg.tar.zst' from repo.skni.umcs.pl : 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.

Everything has been working until recently, as I'm upgrading almost daily. In this example, I'm using Polish mirrors, as I've been using Polish-based ones for more than a year now. I've tried German, UK and USA ones too, http, https, in every case the same result as above. Of course, all the mirrors lists are newly generated ones from https://archlinux.org/mirrorlist/. I've tried using different networks, different DNS servers, nothing helps. I have no idea how to further troubleshoot this or what could be the underlying issue. Could anybody suggest anything?

Last edited by qwrtln (2023-05-21 20:43:07)

Offline

#2 2023-05-21 13:41:57

Allan
Pacman
From: Brisbane, AU
Registered: 2007-06-09
Posts: 11,365
Website

Re: [Solved] 404 on all packages in all mirrors

Read this: https://archlinux.org/news/git-migration-completed/

Wait and mirrors will resync

Offline

#3 2023-05-21 13:43:42

qwrtln
Member
Registered: 2023-05-21
Posts: 4

Re: [Solved] 404 on all packages in all mirrors

I did read this, and I thought I must have messed something up. Thank you, I'm calm now big_smile

Offline

#4 2023-05-21 13:53:30

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 29,441
Website

Re: [Solved] 404 on all packages in all mirrors

Waiting is the solution - though I am still curious about why numerous mirrors appear to have synced new databases without syncing new packages.  If they just hadn't synced at all, there'd be no 404s, there'd just be nothing to do.


"UNIX is simple and coherent..." - Dennis Ritchie, "GNU's Not UNIX" -  Richard Stallman

Offline

#5 2023-05-21 13:58:18

qwrtln
Member
Registered: 2023-05-21
Posts: 4

Re: [Solved] 404 on all packages in all mirrors

Yeah, that was also a riddle for me. Virtually all the mirrors I've tried (apart from a select few faulty ones) had up-to-date databases, with none having a single package to download.

Offline

#6 2023-05-21 16:23:38

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 29,441
Website

Re: [Solved] 404 on all packages in all mirrors

This seems in may not be (just) a mirror issue: the main source ("tier 0") is providing a 404, for example, see the download link here:
https://archlinux.org/packages/core/x86_64/pacman/

Last edited by Trilby (2023-05-21 16:25:58)


"UNIX is simple and coherent..." - Dennis Ritchie, "GNU's Not UNIX" -  Richard Stallman

Offline

#7 2023-05-21 16:26:24

progandy
Member
Registered: 2012-05-17
Posts: 5,184

Re: [Solved] 404 on all packages in all mirrors

Trilby wrote:

This seems in may not be (just) a mirror issue: the main source is providing a 404, for example, see the download link here:
https://archlinux.org/packages/core/x86_64/pacman/

There should not be an option option to download from the main source. All I see is a link to download from a mirror. That probably selects a random mirror and fails if that mirror does not have the file.

As for why some mirrors have 56 byte files for the pacman package: That is probably a symlink to the package in the pool directory, but the pool directory failed to sync.

Last edited by progandy (2023-05-21 16:35:11)


| alias CUTF='LANG=en_XX.UTF-8@POSIX ' |

Offline

#8 2023-05-21 16:52:40

mcloaked
Member
From: Yorkshire, UK
Registered: 2012-02-02
Posts: 1,222

Re: [Solved] 404 on all packages in all mirrors

Things are now settling down for some mirrors - and updates are working as expected for those mirrors where the sync has completed.   I guess it will take time for every mirror to reach the same stage of full sync.


Mike C

Offline

#9 2023-05-21 18:05:35

TheFurryWeeb
Member
Registered: 2020-08-06
Posts: 68

Re: [Solved] 404 on all packages in all mirrors

I also struggle with Hungarian and Austrian servers. Although they already have core-testing.db and extra-testing.db in their servers and have some packages in [core-testing] and [extra-testing], pacman still throws a 404 error, saying it can't find core-testing.db and extra-testing.db.

I'm effing confused, even if I consider myself a veteran at Arch Linux (been using it for 3 years now).

Anyone with any advice regarding those Central European servers?


A computer and Linux nerd, an avid 2D platformer and RPG gamer and a furry combined into one person.

I hope I can help you out with your Arch issues and get myself helped out, as well.

Offline

#10 2023-05-21 18:09:48

Pyntux
Member
From: Serbia
Registered: 2008-12-21
Posts: 391

Re: [Solved] 404 on all packages in all mirrors

I am also using Hungarian and Austrian servers.... We can only wait for now. I also consider myself a veteran at Arch Linux (been using it since 2008  big_smile ).


I do not speak English, but I understand...

Offline

#11 2023-05-21 20:42:50

qwrtln
Member
Registered: 2023-05-21
Posts: 4

Re: [Solved] 404 on all packages in all mirrors

Upgrades working now as expected, marking as solved.

Offline

Board footer

Powered by FluxBB