pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Holger Jakobs <holger@jakobs.com>
To: Rafał Kędziorski <rafal.kedziorski@gmail.com>
Cc: pgsql-admin@lists.postgresql.org
Subject: Re: Ubuntu 20.04: Problem with postgresql-client-common and postgresql-common upgrade
Date: Fri, 11 Nov 2022 19:37:10 +0100
Message-ID: <548c9a52-c943-fd26-99be-a8f114378e65@jakobs.com> (raw)
In-Reply-To: <CAAQwffJNEkSsriMVF7ykLTMq2HEMxFef2-8nhF-Ugq0JN6YaJg@mail.gmail.com>
References: <CAAQwffLP69++XE3Ur8i8yT3FT=ouroNY1zkKVycMMhog8mxMtQ@mail.gmail.com>
	<658e295a-945f-0954-368f-b226165b8cae@jakobs.com>
	<CAAQwffJNEkSsriMVF7ykLTMq2HEMxFef2-8nhF-Ugq0JN6YaJg@mail.gmail.com>

Am 11.11.22 um 19:30 schrieb Rafał Kędziorski:
> 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@jakobs.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
>
>
>

Still, "testing" are development snapshots, not releases. Don't use 
testing on production systems.

There must be a reason why you get the "testing" packages. I have never 
used any.

Deleting the packages and re-installing shouldn't cause any problems, 
because (unless you purge the packages) the configuration files are 
kept. Still, making a backup of them is a good ideas. And, of course, 
don't delete the cluster when deleting the packages.

After having removed the packages completely (except configuration), 
there can hardly be any conflicts.

Best Regards,

Holger

-- 
Holger Jakobs, Bergisch Gladbach, Tel. +49-178-9759012



Attachments:

  [application/pgp-signature] OpenPGP_signature (202B, ../548c9a52-c943-fd26-99be-a8f114378e65@jakobs.com/3-OpenPGP_signature)
  download

view thread (7+ messages)  latest in thread

Message-ID: <548c9a52-c943-fd26-99be-a8f114378e65@jakobs.com>
Permalink:  ../548c9a52-c943-fd26-99be-a8f114378e65@jakobs.com/
Also on:    postgresql.org/message-id/548c9a52-c943-fd26-99be-a8f114378e65@jakobs.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-admin@postgresql.org
  Cc: holger@jakobs.com, rafal.kedziorski@gmail.com, pgsql-admin@lists.postgresql.org
  Subject: Re: Ubuntu 20.04: Problem with postgresql-client-common and postgresql-common upgrade
  In-Reply-To: <548c9a52-c943-fd26-99be-a8f114378e65@jakobs.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox