[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: [bullseye] r-cran-ggplot2 depends on missing libpq5 v13.8



David Wright <deblis@lionunicorn.co.uk> writes:

> On Mon 13 Mar 2023 at 07:38:50 (+0100), Loris Bennett wrote:
>> David Wright <deblis@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

  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.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]
  E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?

> If that fails, I think we need to see your /etc/apt/sources.list
> and anything in /etc/apt/sources.list.d/*

  root:~# cat /etc/apt/sources.list
  # See https://wiki.debian.org/SourcesList for more information.
  deb http://deb.debian.org/debian bullseye main contrib non-free
  deb-src http://deb.debian.org/debian bullseye main contrib non-free

  deb http://deb.debian.org/debian bullseye-updates main contrib non-free
  deb-src http://deb.debian.org/debian bullseye-updates main contrib non-free

  deb http://security.debian.org/debian-security/ bullseye-security main contrib non-free
  deb-src http://security.debian.org/debian-security/ bullseye-security main contrib non-free

So relative to the original 'source.list' I just added 'contrib' and
'non-free'.  I have nothing in 'sources.list.d':

  root:~# ll /etc/apt/sources.list.d
  total 0

Cheers,

Loris

-- 
This signature is currently under constuction.


Reply to: