You are not logged in.
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
Read this: https://archlinux.org/news/git-migration-completed/
Wait and mirrors will resync
Offline
I did read this, and I thought I must have messed something up. Thank you, I'm calm now
Offline
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
Online
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
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
Online
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
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
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
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 ).
I do not speak English, but I understand...
Offline
Upgrades working now as expected, marking as solved.
Offline