On Mon 13 Mar 2023 at 07:38:50 (+0100), Loris Bennett wrote: > David Wright <deb...@lionunicorn.co.uk> writes: > > On Fri 10 Mar 2023 at 10:10:48 (+0100), Loris Bennett wrote: > >> > >> I am on bullseye and am trying to install the package r-cran-ggplot2. > >> This fails with > >> > >> 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] > >> > >> (full output below). > >> > >> There seems to be a dependency on libpq5 version 13.8 whereas the > >> version available for bullseye is 13.9. > >> > >> Any ideas how to solve this? > > > > Try: > > > > # apt-get update > > > > first. > > I had already done this. It does not solve the problem.
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 $ and you don't have libpq5 installed, so what do you get from this? # apt-get install libpq5 If that fails, I think we need to see your /etc/apt/sources.list and anything in /etc/apt/sources.list.d/* Cheers, David.