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


Groups > linux.debian.devel.testing > #1191

Bug#974552: upgrade-reports: libc6/libcrypt split breaks perl during buster->bullseye upgrade

From Alois Wohlschlager <alois1@gmx-topmail.de>
Newsgroups linux.debian.bugs.dist, linux.debian.devel.testing
Subject Bug#974552: upgrade-reports: libc6/libcrypt split breaks perl during buster->bullseye upgrade
Date 2020-11-12 09:10 +0100
Message-ID <BafQ6-5Xg-3@gated-at.bofh.it> (permalink)
Organization linux.* mail to news gateway

Cross-posted to 2 groups.

Show all headers | View raw


Package: upgrade-reports
Severity: critical
Justification: breaks the whole system
X-Debbugs-Cc: alois1@gmx-topmail.de

Dear Maintainer,

*** Reporter, please consider answering these questions, where appropriate ***

   * What led up to the situation?

   Do an upgrade from buster to bullseye.


   * What exactly did you do (or not do) that was effective (or
     ineffective)?

   1. adjust sources.list
   2. apt upgrade
   3. apt dist-upgrade

   * What was the outcome of this action?

   apt dist-upgrade goes horribly wrong. Excerpt from the log:

---
Entpacken von libc6:amd64 (2.31-4) über (2.28-10) ...
Vormals nicht ausgewähltes Paket libc6:i386 wird gewählt.
Vorbereitung zum Entpacken von .../4-libc6_2.31-4_i386.deb ...
Entpacken von libc6:i386 (2.31-4) ...
Vormals nicht ausgewähltes Paket libgcc-s1:i386 wird gewählt.
Vorbereitung zum Entpacken von .../5-libgcc-s1_10.2.0-16_i386.deb ...
Entpacken von libgcc-s1:i386 (10.2.0-16) ...
Vormals nicht ausgewähltes Paket gcc-10-base:i386 wird gewählt.
Vorbereitung zum Entpacken von .../6-gcc-10-base_10.2.0-16_i386.deb ...
Entpacken von gcc-10-base:i386 (10.2.0-16) ...
/usr/bin/perl: error while loading shared libraries: libcrypt.so.1: cannot open
shared object file: No such file or directory
dpkg: Fehler: Fehler beim Ausführen des Hooks »if [ -x /usr/share/debian-
security-support/check-support-status.hook ] ; then /usr/sh
are/debian-security-support/check-support-status.hook ; fi«, Exitkode 32512
---

   At this point, perl is still the version from buster, and libcrypt1 is not
yet installed. The missing libcrypt.so.1 also completely breaks PAM, so login
and sudo don't work any more.
   To recover from this outcome, I had to boot with "init=/bin/sh", install the
libcrypt1 package with dpkg and run "apt -f install" twice. This rendered the
system operational again and a further "apt dist-upgrade" ran through smoothly.

   * What outcome did you expect instead?

   libcrypt1 is installed before libcrypt.so.1 is required again, so the dist-
upgrade can proceed normally.



-- System Information:
Debian Release: bullseye/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 5.9.0-1-amd64 (SMP w/4 CPU threads)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Back to linux.debian.devel.testing | Previous | Next | Find similar


Thread

Bug#974552: upgrade-reports: libc6/libcrypt split breaks perl during buster->bullseye upgrade Alois Wohlschlager <alois1@gmx-topmail.de> - 2020-11-12 09:10 +0100

csiph-web