Package: util-linux
Version: 2.36.1-8
Severity: critical
Justification: breaks the whole system

ear Maintainer,

I was upgrading 'buster' to 'bullseye' using simple instructions here:
https://linuxiac.com/upgrade-debian-10-buster-to-debian-11-bullseye/

Which has worked in every upgrade until the last one, on a different machine 
than the one I'm submitting this bug on. That machine requires 
a reinstall of the operating system from scratch.

I have at least 20 years experience using debian, so this is certainly
not an easy problem, and it may be a one-of-a-kind glitch due to random 
data corruption on disk. 

I cannot reproduce it, because the installation in question is no longer
bootable, and I don't want to screw around with what I view as a lost cause.

The system got into a state in which new software was not installable, but
was needed to install upgrades. The culprit was the 'util-linux' package.

This was an older, but up to date 'buster' installation, that had seen
a lot of use. Of course user settings can be recovered from backups, but 
what a pain! 

I've got to say now that the debian team is second to none, absolutely 
top-notch, especially in the installer, which I've used several times
over the past few weeks. 

The util-linux package failed to complete post-install scripts, 
which I took to mean the script is faulty. One thing I not able to 
do: delete the configuration files corresponding to util-linux,
in /var/lib/dpkg/info.

But I tried:

$ dpkg -i --force-depends util-linux(full file name of deb found in 
/var/cache/apt/archives)
Ended with failure of post install  

$ dpkg --configure --pending
Repeatedly, got me a bit further in the upgrade, but the util-linux package
ultimately led to further failure

$ apt-get -f install
Failed with a libcrypt perl error, installing liccrypt and libcrypt-dev
using 'dpkg -i --force-depends' succeeded, but made no difference.

Appstreamcli threw an error with 'symbol could not be found', or something like 
that,
and the exact text of the message was found with:

$ strings appstreamcli | grep <message>

So that went nowhere. I also checked LD_LIBRARY_PATH, and substituted several
paths, but none fixed the problem. So, I set it to empty for the duration 
of my ordeal.

Util-linux was half installed. Bsdmainutils may have also played a role, as it, 
along
with at least 10 other packages had permanent errors from 'dpkg'. I tried to 
straighten 
the whole mess using 'dselect', which sometimes works, but it didn't this time. 

The upgrade succeeded through:

$ apt-get upgrade --without-new-pkgs

but failed with the final step:

$ apt-get full-upgrade

If there is anything else I could try, I'm still learning debian, so let me 
know! And,
thank you for being active in the development of: 

'The Worlds Reference Standard Computer Operating System'. 

Debian gets better each day, because of the efforts put forth by
the developers. 

Currently, it is perhaps 'possible' to salvage the upgrade, but my preference 
would be
to do a fresh install, and simply have the team notified to test util-linux, 
and see 
whether it is defective. Maybe something will be uncovered.    

The system info is relevant only in that I'm submitting the report
on a machine running bullseye, and the machinbe in question was in 
the midst of an upgrade to bullseye. 



-- System Information:
Debian Release: 11.0
  APT prefers stable-security
  APT policy: (500, 'stable-security'), (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 5.10.0-8-amd64 (SMP w/8 CPU threads)
Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_OOT_MODULE, 
TAINT_UNSIGNED_MODULE
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.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

Versions of packages util-linux depends on:
ii  libaudit1      1:3.0-2
ii  libblkid1      2.36.1-8
ii  libc6          2.31-13
ii  libcap-ng0     0.7.9-2.2+b1
ii  libcrypt1      1:4.4.18-4
ii  libmount1      2.36.1-8
ii  libpam0g       1.4.0-9
ii  libselinux1    3.1-3
ii  libsmartcols1  2.36.1-8
ii  libsystemd0    247.3-6
ii  libtinfo6      6.2+20201114-2
ii  libudev1       247.3-6
ii  libuuid1       2.36.1-8
ii  login          1:4.8.1-1
ii  zlib1g         1:1.2.11.dfsg-2

util-linux recommends no packages.

Versions of packages util-linux suggests:
ii  dosfstools          4.2-1
ii  kbd                 2.3.0-3
ii  util-linux-locales  2.36.1-8

-- no debconf information

Reply via email to