You are not logged in.

#1 2019-11-22 01:36:00

ripread
Member
Registered: 2013-02-13
Posts: 6

Can't install postgres - 404 error

For some reason I can't reach any of the postgres package mirrors. I've tried reefreshing my repositories and updating my packages. Nothing. I can connect to the mirror webservers so it's an issue with the package only. Any ideas?

[ripread ~]$ sudo pacman -S postgresql
[sudo] password for ripread:
resolving dependencies...
looking for conflicting packages...

Packages (2) postgresql-libs-11.5-7  postgresql-11.5-7

Total Download Size:   16.17 MiB
Total Installed Size:  56.09 MiB

:: Proceed with installation? [Y/n] y
:: Retrieving packages...
error: failed retrieving file 'postgresql-libs-11.5-7-x86_64.pkg.tar.xz' from mirrors.evowise.com : The requested URL returned error: 404
error: failed retrieving file 'postgresql-libs-11.5-7-x86_64.pkg.tar.xz' from mirrors.kernel.org : The requested URL returned error: 404
error: failed retrieving file 'postgresql-libs-11.5-7-x86_64.pkg.tar.xz' from mirrors.kernel.org : The requested URL returned error: 404
warning: failed to retrieve some files
error: failed retrieving file 'postgresql-11.5-7-x86_64.pkg.tar.xz' from mirrors.evowise.com : The requested URL returned error: 404
error: failed retrieving file 'postgresql-11.5-7-x86_64.pkg.tar.xz' from mirrors.kernel.org : The requested URL returned error: 404
error: failed retrieving file 'postgresql-11.5-7-x86_64.pkg.tar.xz' from mirrors.kernel.org : 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.
[ripread ~]$ sudo pacman -Syu
:: Synchronizing package databases...
 core is up to date
 extra is up to date
 community is up to date
:: Starting full system upgrade...
 there is nothing to do
[ripread ~]$ sudo pacman -Syy
:: Synchronizing package databases...
 core                                        135.4 KiB  8.26 MiB/s 00:00 [########################################] 100%
 extra                                      1651.6 KiB  2.02 MiB/s 00:01 [########################################] 100%
 community                                     4.7 MiB  2.35 MiB/s 00:02 [########################################] 100%
[ripread ~]$ ping mirrors.kernel.org
PING mirrors.pdx.kernel.org (198.145.21.9) 56(84) bytes of data.
64 bytes from mirrors.pdx.kernel.org (198.145.21.9): icmp_seq=1 ttl=47 time=44.9 ms
64 bytes from mirrors.pdx.kernel.org (198.145.21.9): icmp_seq=2 ttl=47 time=42.8 ms
64 bytes from mirrors.pdx.kernel.org (198.145.21.9): icmp_seq=3 ttl=47 time=28.7 ms
^C
--- mirrors.pdx.kernel.org ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 2002ms
rtt min/avg/max/mdev = 28.681/38.791/44.919/7.202 ms
[ripread ~]$ sudo pacman -S postgresql
resolving dependencies...
looking for conflicting packages...

Packages (2) postgresql-libs-11.5-7  postgresql-11.5-7

Total Download Size:   16.17 MiB
Total Installed Size:  56.09 MiB

:: Proceed with installation? [Y/n] y
:: Retrieving packages...
error: failed retrieving file 'postgresql-libs-11.5-7-x86_64.pkg.tar.xz' from mirrors.evowise.com : The requested URL returned error: 404
error: failed retrieving file 'postgresql-libs-11.5-7-x86_64.pkg.tar.xz' from mirrors.kernel.org : The requested URL returned error: 404
error: failed retrieving file 'postgresql-libs-11.5-7-x86_64.pkg.tar.xz' from mirrors.kernel.org : The requested URL returned error: 404
warning: failed to retrieve some files
error: failed retrieving file 'postgresql-11.5-7-x86_64.pkg.tar.xz' from mirrors.evowise.com : The requested URL returned error: 404
error: failed retrieving file 'postgresql-11.5-7-x86_64.pkg.tar.xz' from mirrors.kernel.org : The requested URL returned error: 404
error: failed retrieving file 'postgresql-11.5-7-x86_64.pkg.tar.xz' from mirrors.kernel.org : The requested URL returned error: 404
warning: failed to retrieve some files
error: failed to commit transaction (failed to retrieve some files)

Offline

#2 2019-11-22 01:38:27

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,426
Website

Re: Can't install postgres - 404 error

https://www.archlinux.org/packages/extr … ostgresql/ 12.1-1

Pick an up-to-date mirror...


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#3 2019-11-22 01:52:08

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

Re: Can't install postgres - 404 error

More importantly, pick a non-broken mirror.

kernel.org is almost certainl a good mirror, but note that it fails to retrieve the file there too because the database was retrieved from the first available mirror (evowise.com).  And the database retrieved from that first mirror apparently lists outdated packages.  The real oddity here, though, is that that mirror has an out-of-date db, but current packages.  If it were simple an out of date mirror, you would be able to install the package (just a slightly older version of it).

So the real problem isn't so much that your first mirror is out-dated, but that it is completely broken and internally inconsistent.


"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman

Offline

Board footer

Powered by FluxBB