Re: Ubuntu 20.04: Problem with postgresql-client-common and postgresql-common upgrade

From: Rafał Kędziorski <rafal(dot)kedziorski(at)gmail(dot)com>
To: Holger Jakobs <holger(at)jakobs(dot)com>
Cc: pgsql-admin(at)lists(dot)postgresql(dot)org
Subject: Re: Ubuntu 20.04: Problem with postgresql-client-common and postgresql-common upgrade
Date: 2022-11-11 18:30:42
Message-ID: CAAQwffJNEkSsriMVF7ykLTMq2HEMxFef2-8nhF-Ugq0JN6YaJg@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

Hi Holger,

yes:

deb http://apt.postgresql.org/pub/repos/apt/ focal-pgdg main
/etc/apt/sources.list.d/pgdg.list (END)

I got the info today. But both packages couldn't be updated.

Die folgenden Pakete sind zurückgehalten worden:
postgresql-client-common postgresql-common
Die folgenden Pakete werden aktualisiert (Upgrade):
libpq5 postgresql-13 postgresql-client-13

3 aktualisiert, 0 neu installiert, 0 zu entfernen und 2 nicht aktualisiert.

Es müssen 16,8 MB an Archiven heruntergeladen werden.
Nach dieser Operation werden 74,8 kB Plattenplatz zusätzlich benutzt.
Möchten Sie fortfahren? [J/n] j
Holen:1 http://apt.postgresql.org/pub/repos/apt focal-pgdg-testing/main
amd64 libpq5 amd64 15.1-1.pgdg20.04+1 [183 kB]
Holen:2 http://apt.postgresql.org/pub/repos/apt focal-pgdg-testing/main
amd64 postgresql-client-13 amd64 13.9-1.pgdg20.04+1 [1.503 kB]
Holen:3 http://apt.postgresql.org/pub/repos/apt focal-pgdg-testing/main
amd64 postgresql-13 amd64 13.9-1.pgdg20.04+1 [15,1 MB]
Es wurden 16,8 MB in 1 s geholt (20,3 MB/s).
Vorkonfiguration der Pakete ...
(Lese Datenbank ... 198218 Dateien und Verzeichnisse sind derzeit
installiert.)
Vorbereitung zum Entpacken von .../libpq5_15.1-1.pgdg20.04+1_amd64.deb ...
Entpacken von libpq5:amd64 (15.1-1.pgdg20.04+1) über (15.0-1.pgdg20.04+1)
...
Vorbereitung zum Entpacken von
.../postgresql-client-13_13.9-1.pgdg20.04+1_amd64.deb ...
Entpacken von postgresql-client-13 (13.9-1.pgdg20.04+1) über
(13.8-1.pgdg20.04+1) ...
Vorbereitung zum Entpacken von
.../postgresql-13_13.9-1.pgdg20.04+1_amd64.deb ...
Entpacken von postgresql-13 (13.9-1.pgdg20.04+1) über (13.8-1.pgdg20.04+1)
...
libpq5:amd64 (15.1-1.pgdg20.04+1) wird eingerichtet ...
postgresql-client-13 (13.9-1.pgdg20.04+1) wird eingerichtet ...
postgresql-13 (13.9-1.pgdg20.04+1) wird eingerichtet ...
Trigger für postgresql-common (244.pgdg20.04+1) werden verarbeitet ...
Building PostgreSQL dictionaries from installed myspell/hunspell packages...
Removing obsolete dictionary files:
Trigger für libc-bin (2.31-0ubuntu9.9) werden verarbeitet ...
Paketlisten werden gelesen... Fertig
Abhängigkeitsbaum wird aufgebaut.
Statusinformationen werden eingelesen.... Fertig
0 aktualisiert, 0 neu installiert, 0 zu entfernen und 2 nicht aktualisiert.

I had no problems in the last 3 years.

Best Regards,
Rafal

Am Fr., 11. Nov. 2022 um 19:25 Uhr schrieb Holger Jakobs <holger(at)jakobs(dot)com
>:

> Am 11.11.22 um 19:11 schrieb Rafał Kędziorski:
> > Hi,
> >
> > since 2 hours I can't upgrade
> >
> > $ apt list --upgradable
> > Auflistung... Fertig
> > postgresql-client-common/focal-pgdg-testing,focal-pgdg 246.pgdg20.04+1
> > all [aktualisierbar von: 244.pgdg20.04+1]
> > postgresql-common/focal-pgdg-testing,focal-pgdg 246.pgdg20.04+1 all
> > [aktualisierbar von: 244.pgdg20.04+1]
> >
> > $ sudo apt upgrade postgresql-client-common postgresql-common
> > Paketlisten werden gelesen... Fertig
> > Abhängigkeitsbaum wird aufgebaut.
> > Statusinformationen werden eingelesen.... Fertig
> > Paketaktualisierung (Upgrade) wird berechnet... Fertig
> > Einige Pakete konnten nicht installiert werden. Das kann bedeuten, dass
> > Sie eine unmögliche Situation angefordert haben oder, wenn Sie die
> > Unstable-Distribution verwenden, dass einige erforderliche Pakete noch
> > nicht erstellt wurden oder Incoming noch nicht verlassen haben.
> > Die folgenden Informationen helfen Ihnen vielleicht, die Situation zu
> > lösen:
> >
> > Die folgenden Pakete haben unerfüllte Abhängigkeiten:
> > postgresql-common : Kollidiert mit: pgdg-keyring aber 2018.2 soll
> > installiert werden
> > E: Beschädigte Pakete
> >
> > $ uname -a
> > Linux nuc-mini-data-server 5.15.0-52-generic #58~20.04.1-Ubuntu SMP
> > Thu Oct 13 13:09:46 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux
> >
> > $ lsb_release -a
> > No LSB modules are available.
> > Distributor ID: Ubuntu
> > Description: Ubuntu 20.04.5 LTS
> > Release: 20.04
> > Codename: focal
> >
> > I have the same problem on three different servers.
> >
> >
> > Best Reagrds,
> > Rafal
>
> When I do the apt list command, I get the following:
>
> postgresql-client-common/focal-pgdg 246.pgdg20.04+1 all [aktualisierbar
> von: 244.pgdg20.04+1]
> postgresql-common/focal-pgdg 246.pgdg20.04+1 all [aktualisierbar von:
> 244.pgdg20.04+1]
>
> So the names differ, you have something with
> postgresql-client-common/focal-pgdg-testing, I don't have any name
> including "testing" on my systems.
>
> Do you have the same content in /etc/apt/sources.list.d/pgdg.list (and
> no other PostgreSQL related source)?
>
> deb http://apt.postgresql.org/pub/repos/apt focal-pgdg main
>
> There the culprit could lie,
>
> Best Regards,
>
> Holger
>
>
> --
> Holger Jakobs, Bergisch Gladbach, Tel. +49-178-9759012
>
>

In response to

Responses

Browse pgsql-admin by date

  From Date Subject
Next Message Holger Jakobs 2022-11-11 18:37:10 Re: Ubuntu 20.04: Problem with postgresql-client-common and postgresql-common upgrade
Previous Message Holger Jakobs 2022-11-11 18:25:19 Re: Ubuntu 20.04: Problem with postgresql-client-common and postgresql-common upgrade