<to...@tuxteam.de> writes: > On Tue, Mar 14, 2023 at 09:17:17AM +0100, Loris Bennett wrote: >> <to...@tuxteam.de> writes: >> >> > On Tue, Mar 14, 2023 at 07:54:45AM +0100, Loris Bennett wrote: >> > >> > [...] >> > >> >> > OK, forget all the r-cran stuff for the moment. >> >> > The current version of libpq5 is: >> >> > >> >> > $ dpkg -l | grep libpq5 >> >> > ii libpq5:amd64 13.9-0+deb11u1 amd64 PostgreSQL C client >> >> > library >> > ^^^^^^^^^^^^^^ >> > [...] >> > >> >> Err:1 http://deb.debian.org/debian bullseye/main amd64 libpq5 amd64 >> >> 13.8-0+deb11u1 >> >> 404 Not Found [IP: 146.75.118.132 80] >> >> E: Failed to fetch >> >> http://deb.debian.org/debian/pool/main/p/postgresql-13/libpq5_13.8-0%2bdeb11u1_amd64.deb >> >> 404 Not Found [IP: 146.75.118.132 80] >> > >> > ^^^^^^ >> > >> > Your package cache is stale. Try doing a (sudo) apt-get update >> > or equivalent and retry. >> >> You edited out the part of the message in which this has already been >> suggested to which I replied that I had already done that and that the >> problem remains. > > The error message above doesn't correspond to this state. If I retry my > "curl -I" with the corrected, current URL, I don't get a 404, but a 200.
I'm sorry, I don't understand what you mean by 'this state'. If I run 'curl -I' for 'libpq5_13.8', I get also get 404 and for 'libpq5_13.9', I get 200. The problem as I understand it is that 'apt-get install libpq5' with an updated cache tries to install version 13.8, which is not the correct version for bullseye. > Please retry and post the new error message. Do you mean retry 'apt-get update'? As I wrote, updating the cache does not make any difference: root:~# apt-get update Hit:1 http://security.debian.org/debian-security bullseye-security InRelease Hit:2 http://deb.debian.org/debian bullseye InRelease Hit:3 http://deb.debian.org/debian bullseye-updates InRelease Reading package lists... Done root:~# apt-get install libpq5 Reading package lists... Done Building dependency tree... Done Reading state information... Done The following NEW packages will be installed: libpq5 0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded. Need to get 180 kB of archives. After this operation, 805 kB of additional disk space will be used. Err:1 http://deb.debian.org/debian bullseye/main amd64 libpq5 amd64 13.8-0+deb11u1 404 Not Found [IP: 146.75.122.132 80] E: Failed to fetch http://deb.debian.org/debian/pool/main/p/postgresql-13/libpq5_13.8-0%2bdeb11u1_amd64.deb 404 Not Found [IP: 146.75.122.132 80] E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing? Cheers, Loris -- This signature is currently under constuction.