maybe I can find some advice here. After an "uncoordinated shutdown" I have problems with some broken packages, so now any upgrade or installation attempt fails:
(I translated the outputs, I hope this is ok)
Code: Select all
... Status information is read in... Done
Try "apt --fix-broken install" to fix this.
The following packages have unfulfilled dependencies:
libkrb5-3 : Depends on: libkrb5support0 (= 1.19.2-2ubuntu0.1) but 1.19.2-2ubuntu0.2 is installed
libkrb5support0 : Corrupted: libkrb5support0:i386 (!= 1.19.2-2ubuntu0.2) but 1.19.2-2ubuntu0.1 is installed
libkrb5support0:i386 : Corrupted: libkrb5support0 (!= 1.19.2-2ubuntu0.1) but 1.19.2-2ubuntu0.2 is installed
E: Unfulfilled dependencies. Try "apt --fix-broken install" without specifying a package (or specify a solution).
Code: Select all
:~$ sudo apt --fix-broken install
Package lists are read... Done
Dependency tree is built... Done
Status information is read... Done
Dependencies are corrected... Done
The following additional packages are installed:
libgssapi-krb5-2 libgssapi-krb5-2:i386 libk5crypto3 libk5crypto3:i386 libkrb5-3 libkrb5-3:i386
libkrb5support0:i386
Proposed packages:
krb5-doc krb5-user krb5-doc:i386 krb5-user:i386
The following packages are upgraded
libgssapi-krb5-2 libgssapi-krb5-2:i386 libk5crypto3 libk5crypto3:i386 libkrb5-3 libkrb5-3:i386
libkrb5support0:i386
7 updated, 0 reinstalled, 0 to remove, and 90 not updated.
8 not fully installed or removed.
0 B of 1,273 kB of archives remain to be downloaded.
After this operation, 0 B of additional disk space will be used.
Do you want to continue? [Y/n] y
(Read database ... 703410 files and directories are currently installed).
Preparing to unpack .../libkrb5support0_1.19.2-2ubuntu0.2_i386.deb ...
Unpacking libkrb5support0:i386 (1.19.2-2ubuntu0.2) over (1.19.2-2ubuntu0.1) ...
dpkg: Error processing archive /var/cache/apt/archives/libkrb5support0_1.19.2-2ubuntu0.2_i386.deb (--unpack):
Attempt to overwrite shared "/usr/share/doc/libkrb5support0/changelog.Debian.gz" which is different from other instances of the libkrb5support0:i386 package.
Errors occurred while editing:
/var/cache/apt/archives/libkrb5support0_1.19.2-2ubuntu0.2_i386.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
Code: Select all
:~$ sudo dpkg --configure -a
dpkg: Error processing package libkrb5support0:amd64 (--configure):
Package libkrb5support0:amd64 cannot be configured because libkrb5support0:i386 is not ready (current status "half-installed")
Triggers for libc-bin (2.35-0ubuntu3.1) are processed ...
/sbin/ldconfig.real: /lib/libmimalloc.so.2 is not a symbolic link
Errors occurred while editing:
libkrb5support0:amd64
Another hint to reinstall the package also failed:
Code: Select all
~$ sudo apt install --reinstall libkrb5support0
Package lists are read... Done
Dependency tree is built... Done
Status information is read... Done
Try "apt --fix-broken install" to fix this.
The following packages have unfulfilled dependencies:
libgssapi-krb5-2:i386 : Depends on: libkrb5support0:i386 (>= 1.15~beta1) but should not be installed
libk5crypto3:i386 : Depends on: libkrb5support0:i386 (>= 1.16) but should not be installed
libkrb5-3 : Depends on: libkrb5support0 (= 1.19.2-2ubuntu0.1) but 1.19.2-2ubuntu0.2 should be installed
libkrb5-3:i386 : Depends on: libkrb5support0:i386 (= 1.19.2-2ubuntu0.1) but should not be installed
E: Unfulfilled dependencies. Try "apt --fix-broken install" without specifying a package (or specify a solution).
Code: Select all
sudo dpkg --force-remove-reinstreq --remove libkrb5support0
I was able to restore it in a live session with my timeshift backup, but now I'm back to the state before.
Would be cool if someone has a hint. Thanks!
p.s:
Kernel: 5.15.0-71-generic x86_64
Distributor ID: Linuxmint
Description: Linux Mint 21
Release: 21 Codename: vanessa