Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.bugs.dist > #1198037

Bug#1071431: libssl3t64: apt full-upgrade replaced libssl3:amd64 with libssl3t64:i386, breaking sudo…

From Jean-Guilhem Cailton <jgc@arkemie.com>
Newsgroups linux.debian.bugs.dist
Subject Bug#1071431: libssl3t64: apt full-upgrade replaced libssl3:amd64 with libssl3t64:i386, breaking sudo…
Date 2024-05-20 12:30 +0200
Message-ID <IG8rf-eBSu-5@gated-at.bofh.it> (permalink)
References (4 earlier) <IFVNn-etYU-3@gated-at.bofh.it> <IG5jH-eA68-9@gated-at.bofh.it> <IG6pr-eAHn-5@gated-at.bofh.it> <IFIdr-em2a-1@gated-at.bofh.it> <IG6pr-eAHn-5@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


[Multipart message — attachments visible in raw view] - view raw

Le 20/05/2024 à 10:11, Sebastian Andrzej Siewior a écrit :
> Okay. This was old testing -> new testing or Bookworm -> testing? Was
> this "apt upgrade && apt dist-upgrade" or just "apt dist-upgrade" ?

This was old testing -> new testing.
This was just "apt full-upgrade".

>> By looking in the full log for instances of other libraries that had both
>> :amd64 and :i386 versions, and that were going to be removed in spite of
>> apparent "dependency problems", I noticed that the installation of the
>> replacement t64:amd64 version sometimes happened much later than the
>> removal.
> Now that I think about it, you need both PostgreSQL version since you
> need to perform an update of the databse (to get it from 15 to 16).
postgresql-16 was already present, and was supposed to get upgraded from 
16.2-1 to 16.3-1.
Which apparently, according to the error messages quoted above, included 
running a pre-removal script, of which old and new versions both failed.

> Let me try to do this later and see what happens. But you have :i386 and
> :amd64 binaries. This shouldn't complicate the sitution much since sudo/
> systemd and so on depend on the amd64 library only.
> Anyway. I will try to spin a Bookworm VM with psql and then update to
> testing and check what happens during the update.
>
>> So, my understanding is that, unfortunately, the postgresql-16 install
>> script error interrupted the full-upgrade before libssl3t64:amd64 had been
>> installed, which left the system without the libcrypto.so.3 needed by both
>> systemctl and sudo...
> Correct. Usually a transition is something like libfoo1 -> libfoo2 where
> the package names changes and the name of .so file changes, too. In this
> t64 transition however only the package name changes while the library
> file itself remains the same. That means thr new (t64) package conflict with
> the older (non-t64) and both can't exists at the same time. dpkg then
> needs to break the system a bit where it removes libssl3 and later adds
> libssl3t64 to the system.
>

It seems to me that having both :i386 and :amd64 libraries increases the 
risk of failure, because of the many "apt" steps that can take place 
between the removal of old :amd64 (that may happen close to the 
treatment of the :i386 version, like here for libssl3) and install of 
t64:amd64. On the contrary, when only :amd64 is present, it seems that 
the replacement install closely follows the removal.

Jean-Guilhem

Back to linux.debian.bugs.dist | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

Bug#1071431: libssl3t64: apt full-upgrade replaced libssl3:amd64 with libssl3t64:i386, breaking sudo… Jean-Guilhem Cailton <jgc@arkemie.com> - 2024-05-19 08:30 +0200
  Bug#1071431: Acknowledgement (libssl3t64: apt full-upgrade replaced libssl3:amd64 with libssl3t64:i386, breaking sudo…) Jean-Guilhem Cailton <jgc@arkemie.com> - 2024-05-19 10:10 +0200
  Bug#1071431: Info received (Bug#1071431: Acknowledgement (libssl3t64: apt full-upgrade replaced libssl3:amd64 with libssl3t64:i386, breaking sudo…)) Jean-Guilhem Cailton <jgc@arkemie.com> - 2024-05-19 16:30 +0200
    Bug#1071431: [Pkg-openssl-devel] Bug#1071431: Info received (Bug#1071431: Acknowledgement (libssl3t64: apt full-upgrade replaced libssl3:amd64 with libssl3t64:i386, breaking sudo…)) Sebastian Andrzej Siewior <sebastian@breakpoint.cc> - 2024-05-19 23:00 +0200
      Bug#1071431: [Pkg-openssl-devel] Bug#1071431: Info received (Bug#1071431: Acknowledgement (libssl3t64: apt full-upgrade replaced libssl3:amd64 with libssl3t64:i386, breaking sudo…)) Jean-Guilhem Cailton <jgc@arkemie.com> - 2024-05-20 09:10 +0200
        Bug#1071431: libssl3t64: apt full-upgrade replaced libssl3:amd64 with libssl3t64:i386, breaking sudo… Sebastian Andrzej Siewior <sebastian@breakpoint.cc> - 2024-05-20 10:20 +0200
          Bug#1071431: libssl3t64: apt full-upgrade replaced libssl3:amd64 with libssl3t64:i386, breaking sudo… Jean-Guilhem Cailton <jgc@arkemie.com> - 2024-05-20 12:30 +0200
            Bug#1071431: libssl3t64: apt full-upgrade replaced libssl3:amd64 with libssl3t64:i386, breaking sudo… Sebastian Andrzej Siewior <sebastian@breakpoint.cc> - 2024-05-26 22:10 +0200
              Bug#1071431: libssl3t64: apt full-upgrade replaced libssl3:amd64 with libssl3t64:i386, breaking sudo… Jean-Guilhem Cailton <jgc@arkemie.com> - 2024-05-29 19:30 +0200

csiph-web