On a DU today, I am getting the following error with texlive:
# apt -f install
The following packages were automatically installed and are no longer required:
hplip-data libspdlog1.12 python3-freetype
idle-python3.12 linux-headers-6.12.6-1-siduction-amd64 python3-reportlab
libsane-hpaio linux-image-6.12.6-1-siduction-amd64 python3-rlpycairo
Use 'apt autoremove' to remove them.
Summary:
Upgrading: 0, Installing: 0, Removing: 0, Not Upgrading: 0
23 not fully installed or removed.
Space needed: 0 B / 142 GB available
Setting up tex-common (6.18) ...
Running mktexlsr. This may take some time... done.
Running mtxrun --generate. This may take some time...
mtxrun --generate failed. Output has been stored in
/tmp/mtxrun.hBCQuJSd
Please include this file if you report a bug.
dpkg: error processing package tex-common (--configure):
installed tex-common package post-installation script subprocess returned error exit status 1
dpkg: dependency problems prevent configuration of texlive-humanities:
texlive-humanities depends on tex-common (>= 6.13); however:
Package tex-common is not configured yet.
dpkg: error processing package texlive-humanities (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of texlive-latex-base:
texlive-latex-base depends on tex-common (>= 6.13); however:
Package tex-common is not configured yet.
dpkg: error processing package texlive-latex-base (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of texlive-extra-utils:
texlive-extra-utils depends on tex-common (>= 6.13); however:
Package tex-common is not configured yet.
texlive-extra-utils depends on texlive-latex-base (>= 2024.20240401); however:
Package texlive-latex-base is not configured yet.
dpkg: error processing package texlive-extra-utils (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of texlive-games:
texlive-games depends on tex-common (>= 6.13); however:
Package tex-common is not configured yet.
texlive-games depends on texlive-latex-base (>= 2024.20240401); however:
Package texlive-latex-base is not configured yet.
dpkg: error processing package texlive-games (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of texlive-fonts-extra:
texlive-fonts-extra depends on tex-common (>= 6.13); however:
Package tex-common is not configured yet.
dpkg: error processing package texlive-fonts-extra (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of texlive-latex-recommended:
texlive-latex-recommended depends on tex-common (>= 6.13); however:
Package tex-common is not configured yet.
texlive-latex-recommended depends on texlive-latex-base (>= 2024.20240401); however:
Package texlive-latex-base is not configured yet.
dpkg: error processing package texlive-latex-recommended (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of texlive-fonts-extra-doc:
texlive-fonts-extra-doc depends on tex-common (>= 6.13); however:
Package tex-common is not configured yet.
dpkg: error processing package texlive-fonts-extra-doc (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of texlive-pictures:
texlive-pictures depends on tex-common (>= 6.13); however:
Package tex-common is not configured yet.
texlive-pictures depends on texlive-latex-recommended (>= 2024.20240401); however:
Package texlive-latex-recommended is not configured yet.
dpkg: error processing package texlive-pictures (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of texlive-latex-recommended-doc:
texlive-latex-recommended-doc depends on tex-common (>= 6.13); however:
Package tex-common is not configured yet.
dpkg: error processing package texlive-latex-recommended-doc (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of texlive-humanities-doc:
texlive-humanities-doc depends on tex-common (>= 6.13); however:
Package tex-common is not configured yet.
dpkg: error processing package texlive-humanities-doc (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of texlive-fonts-recommended:
texlive-fonts-recommended depends on tex-common (>= 6.13); however:
Package tex-common is not configured yet.
dpkg: error processing package texlive-fonts-recommended (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of texlive-xetex:
texlive-xetex depends on tex-common (>= 6.13); however:
Package tex-common is not configured yet.
texlive-xetex depends on texlive-latex-base (>= 2024.20240401); however:
Package texlive-latex-base is not configured yet.
dpkg: error processing package texlive-xetex (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of texlive-pictures-doc:
texlive-pictures-doc depends on tex-common (>= 6.13); however:
Package tex-common is not configured yet.
dpkg: error processing package texlive-pictures-doc (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of texlive-latex-base-doc:
texlive-latex-base-doc depends on tex-common (>= 6.13); however:
Package tex-common is not configured yet.
dpkg: error processing package texlive-latex-base-doc (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of texlive-metapost-doc:
texlive-metapost-doc depends on tex-common (>= 6.13); however:
Package tex-common is not configured yet.
dpkg: error processing package texlive-metapost-doc (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of texlive-music:
texlive-music depends on tex-common (>= 6.13); however:
Package tex-common is not configured yet.
texlive-music depends on texlive-latex-base (>= 2024.20240401); however:
Package texlive-latex-base is not configured yet.
dpkg: error processing package texlive-music (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of texlive-pstricks:
texlive-pstricks depends on tex-common (>= 6.13); however:
Package tex-common is not configured yet.
texlive-pstricks depends on texlive-pictures (>= 2024.20240401); however:
Package texlive-pictures is not configured yet.
dpkg: error processing package texlive-pstricks (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of texlive-publishers:
texlive-publishers depends on tex-common (>= 6.13); however:
Package tex-common is not configured yet.
texlive-publishers depends on texlive-latex-base (>= 2024.20240401); however:
Package texlive-latex-base is not configured yet.
texlive-publishers depends on texlive-latex-recommended (>= 2024.20240401); however:
Package texlive-latex-recommended is not configured yet.
dpkg: error processing package texlive-publishers (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of texlive:
texlive depends on texlive-fonts-recommended (>= 2024.20240401); however:
Package texlive-fonts-recommended is not configured yet.
texlive depends on texlive-latex-base (>= 2024.20240401); however:
Package texlive-latex-base is not configured yet.
texlive depends on texlive-latex-recommended (>= 2024.20240401); however:
Package texlive-latex-recommended is not configured yet.
dpkg: error processing package texlive (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of texlive-science:
texlive-science depends on tex-common (>= 6.13); however:
Package tex-common is not configured yet.
texlive-science depends on texlive-fonts-recommended (>= 2024.20240401); however:
Package texlive-fonts-recommended is not configured yet.
texlive-science depends on texlive-latex-base (>= 2024.20240401); however:
Package texlive-latex-base is not configured yet.
texlive-science depends on texlive-latex-recommended (>= 2024.20240401); however:
Package texlive-latex-recommended is not configured yet.
dpkg: error processing package texlive-science (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of texlive-latex-extra:
texlive-latex-extra depends on tex-common (>= 6.13); however:
Package tex-common is not configured yet.
texlive-latex-extra depends on texlive-latex-recommended (>= 2024.20240401); however:
Package texlive-latex-recommended is not configured yet.
texlive-latex-extra depends on texlive-pictures (>= 2024.20240401); however:
Package texlive-pictures is not configured yet.
dpkg: error processing package texlive-latex-extra (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of texlive-bibtex-extra:
texlive-bibtex-extra depends on tex-common (>= 6.13); however:
Package tex-common is not configured yet.
texlive-bibtex-extra depends on texlive-latex-base (>= 2024.20240401); however:
Package texlive-latex-base is not configured yet.
dpkg: error processing package texlive-bibtex-extra (--configure):
dependency problems - leaving unconfigured
Errors were encountered while processing:
tex-common
texlive-humanities
texlive-latex-base
texlive-extra-utils
texlive-games
texlive-fonts-extra
texlive-latex-recommended
texlive-fonts-extra-doc
texlive-pictures
texlive-latex-recommended-doc
texlive-humanities-doc
texlive-fonts-recommended
texlive-xetex
texlive-pictures-doc
texlive-latex-base-doc
texlive-metapost-doc
texlive-music
texlive-pstricks
texlive-publishers
texlive
texlive-science
texlive-latex-extra
texlive-bibtex-extra
Error: Sub-process /usr/bin/dpkg returned an error code (1)
The error file mentioned above says:
mtxrun: error while loading shared libraries: libmimalloc.so.2: cannot open shared object file: No such file or directory
I found this thread: https://www.mail-archive.com/debian-bugs-dist@lists.debian.org/msg2011263.html
Hopefully a fix will come soon...
I completely forgot to post about this issue here in the forum when I was hit by this a week ago, sorry.
If you need texlive or to be more precise luametatex, you can fix it by downgrading libmimalloc2.0 to the version in testing and put it on hold until the problem is fixed.
EDIT:
Btw. as the soname of libmimalloc changed, a transition is going to be required which might take a while.
Quote from: Mister00X on 2025/01/17, 14:29:04
I completely forgot to post about this issue here in the forum when I was hit by this a week ago, sorry.
If you need texlive or to be more precise luametatex, you can fix it by downgrading libmimalloc2.0 to the version in testing and put it on hold until the problem is fixed.
EDIT:
Btw. as the soname of libmimalloc changed, a transition is going to be required which might take a while.
Thanks for your comments! Since it seems that it will take a while for this to be fixed, I did what you suggested and installed libmimalloc2.0 from testing and put it on hold. After that, I could "apt -f install" successfully.
Now the question is how to find when it is safe to remove the hold... I suppose I will keep an eye at the bug report.
Thanks again!
Quote from: finotti on 2025/01/17, 18:10:31
Now the question is how to find when it is safe to remove the hold... I suppose I will keep an eye at the bug report.
Thanks again!
I would be grateful if you could mark the problem as solved, so that I can benefit from your knowledge!
Many thanks
Quote from: finotti on 2025/01/17, 18:10:31
Now the question is how to find when it is safe to remove the hold... I suppose I will keep an eye at the bug report.
You can subscribe to the bug here https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1092330 that way you are kept up to date.
(The debian bug tracker works via email, so you won't even need an account.)
As an alternative for the future you could also install and use
apt-listbugs, which offers the possibility to pin certain packages until the bug report is resolved/fixed. Just be aware that apt-listbugs can not guarantee that you won't be hit by any bug at all, it has its own limitations.
The downgrade workaround for `libmimalloc` mentioned in the thread is a solid temporary fix, but it's important to be cautious about keeping things on hold for too long, as future updates might break dependencies again. If you rely on `texlive` heavily, you might want to explore switching to a more stable version or using a container/VM until the bug is fully addressed. Additionally, it could be worth setting up `apt-listbugs` as a precaution, as it can help avoid hitting other issues in the future.
I have been hit by this bug which was not detected by apt-listbugs.
I have done
cp /usr/lib/x86_64-linux-gnu/libmimalloc.so.3.0 /usr/lib/x86_64-linux-gnu/libmimalloc.so.2
updated texlive and then removed /usr/lib/x86_64-linux-gnu/libmimalloc.so.2
It seems that the bug has been fixed.
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1092330#61
I will not know for sure until another version of texlive comes, though, I suppose. :-)
Guten Abend ...
irgendwie komm ich hier an dieser Stelle nicht weiter.
Ich habe den Tipp von lanig ( am: 2025/01/20, 22:17:31 ) durchgeführt, aber irgendwie krieg ich die Abhängigkeiten nicht aufgelöst:
┌──(isegrimm ㉿ T-A-K-A-Y-A)-▷[/var/cache/apt/archives]
└─▷$ dofu
OK:1 https://packages.siduction.org/fixes unstable InRelease
OK:2 https://ftp.gwdg.de/pub/linux/siduction/extra unstable InRelease
OK:3 https://deb.debian.org/debian unstable InRelease
Aktualisierung für 392 Pakete verfügbar. Führen Sie »apt list --upgradable« aus, um sie anzuzeigen.
Notice: Fehlendes Signed-By im Eintrag sources.list(5) für »https://deb.debian.org/debian«
Notice: Fehlendes Signed-By im Eintrag sources.list(5) für »https://ftp.gwdg.de/pub/linux/siduction/extra«
Notice: Fehlendes Signed-By im Eintrag sources.list(5) für »https://packages.siduction.org/fixes«
Notice: Consider migrating all sources.list(5) entries to the deb822 .sources format
Notice: The deb822 .sources format supports both embedded as well as external OpenPGP keys
Notice: See apt-secure(7) for best practices in configuring repository signing.
Probieren Sie »apt --fix-broken install«, um dies zu korrigieren.
Unsatisfied dependencies:
luametatex : Hängt ab von: libmimalloc3 (>= 3.0.1+ds) ist aber nicht installiert
Error: Unerfüllte Abhängigkeiten. Versuchen Sie »apt --fix-broken install« ohne Angabe eines Pakets (oder geben Sie eine Lösung an).
┌──(isegrimm ㉿ T-A-K-A-Y-A)-▷[/var/cache/apt/archives]
└─▷$ doas apt --fix-broken install
Abhängigkeiten werden korrigiert ... fehlgeschlagen.
Unsatisfied dependencies:
luametatex : Hängt ab von: libmimalloc3 (>= 3.0.1+ds) ist aber nicht installiert
Error: Fehler: Unterbrechungen durch pkgProblemResolver::Resolve hervorgerufen; dies könnte durch zurückgehaltene Pakete verursacht worden sein.
Error: Abhängigkeiten konnten nicht korrigiert werden.
Was kann ich tun?
is libmimalloc3 installed? If so, maybe you could try to remove libmimalloc2.0 and try -f install again.
No ... it isn't ... :
Quoteluametatex : Hängt ab von: libmimalloc3 (>= 3.0.1+ds) ist aber nicht installiert
I tried to make an ...
apt install libmimalloc3... but it failed, because of "Unsatisfied dependencies"
Jetzt nochmal komplett:
Zuerst das übliche full-upgrade mit solver:
┌──(isegrimm ㉿ T-A-K-A-Y-A)-▷[~]
└─▷$ dofu
OK:1 https://packages.siduction.org/fixes unstable InRelease
Holen:2 https://deb.debian.org/debian unstable InRelease [205 kB]
OK:3 https://ftp.gwdg.de/pub/linux/siduction/extra unstable InRelease
Holen:4 https://deb.debian.org/debian unstable/main amd64 Packages.diff/Index [63,6 kB]
Holen:5 https://deb.debian.org/debian unstable/main i386 Packages.diff/Index [63,6 kB]
Holen:6 https://deb.debian.org/debian unstable/main Translation-en.diff/Index [63,6 kB]
Holen:7 https://deb.debian.org/debian unstable/main Translation-de.diff/Index [63,3 kB]
Holen:8 https://deb.debian.org/debian unstable/main amd64 Contents (deb).diff/Index [63,9 kB]
Holen:9 https://deb.debian.org/debian unstable/main i386 Contents (deb).diff/Index [63,8 kB]
Holen:10 https://deb.debian.org/debian unstable/main all Contents (deb).diff/Index [63,8 kB]
Holen:11 https://deb.debian.org/debian unstable/main amd64 Packages T-2025-01-31-0806.51-F-2025-01-30-2016.44.pdiff [64,5 kB]
Holen:11 https://deb.debian.org/debian unstable/main amd64 Packages T-2025-01-31-0806.51-F-2025-01-30-2016.44.pdiff [64,5 kB]
Holen:12 https://deb.debian.org/debian unstable/main i386 Packages T-2025-01-31-0806.51-F-2025-01-30-2016.44.pdiff [60,3 kB]
Holen:12 https://deb.debian.org/debian unstable/main i386 Packages T-2025-01-31-0806.51-F-2025-01-30-2016.44.pdiff [60,3 kB]
Holen:13 https://deb.debian.org/debian unstable/main Translation-en T-2025-01-31-0806.51-F-2025-01-30-2016.44.pdiff [4.507 B]
Holen:14 https://deb.debian.org/debian unstable/main Translation-de T-2025-01-31-0806.51-F-2025-01-31-0806.51.pdiff [4.046 B]
Holen:13 https://deb.debian.org/debian unstable/main Translation-en T-2025-01-31-0806.51-F-2025-01-30-2016.44.pdiff [4.507 B]
Holen:14 https://deb.debian.org/debian unstable/main Translation-de T-2025-01-31-0806.51-F-2025-01-31-0806.51.pdiff [4.046 B]
Holen:15 https://deb.debian.org/debian unstable/main amd64 Contents (deb) T-2025-01-31-0806.51-F-2025-01-30-2016.44.pdiff [21,1 kB]
Holen:15 https://deb.debian.org/debian unstable/main amd64 Contents (deb) T-2025-01-31-0806.51-F-2025-01-30-2016.44.pdiff [21,1 kB]
Holen:16 https://deb.debian.org/debian unstable/main i386 Contents (deb) T-2025-01-31-0806.51-F-2025-01-30-2016.44.pdiff [18,8 kB]
Holen:16 https://deb.debian.org/debian unstable/main i386 Contents (deb) T-2025-01-31-0806.51-F-2025-01-30-2016.44.pdiff [18,8 kB]
Holen:17 https://deb.debian.org/debian unstable/main all Contents (deb) T-2025-01-31-0806.51-F-2025-01-30-2016.44.pdiff [11,8 kB]
Holen:17 https://deb.debian.org/debian unstable/main all Contents (deb) T-2025-01-31-0806.51-F-2025-01-30-2016.44.pdiff [11,8 kB]
Holen:18 https://deb.debian.org/debian unstable/main amd64 Components [5.036 kB]
Holen:19 https://deb.debian.org/debian unstable/main Icons (48x48) [3.710 kB]
Holen:20 https://deb.debian.org/debian unstable/main Icons (64x64) [7.612 kB]
Holen:21 https://deb.debian.org/debian unstable/main Icons (128x128) [11,6 MB]
Holen:22 https://deb.debian.org/debian unstable/non-free amd64 Components [4.972 B]
Es wurden 28,8 MB in 9 s geholt (3.117 kB/s).
Aktualisierung für 411 Pakete verfügbar. Führen Sie »apt list --upgradable« aus, um sie anzuzeigen.
Notice: Fehlendes Signed-By im Eintrag sources.list(5) für »https://deb.debian.org/debian«
Notice: Fehlendes Signed-By im Eintrag sources.list(5) für »https://ftp.gwdg.de/pub/linux/siduction/extra«
Notice: Fehlendes Signed-By im Eintrag sources.list(5) für »https://packages.siduction.org/fixes«
Notice: Consider migrating all sources.list(5) entries to the deb822 .sources format
Notice: The deb822 .sources format supports both embedded as well as external OpenPGP keys
Notice: See apt-secure(7) for best practices in configuring repository signing.
Probieren Sie »apt --fix-broken install«, um dies zu korrigieren.
Unsatisfied dependencies:
luametatex : Hängt ab von: libmimalloc3 (>= 3.0.1+ds) ist aber nicht installiert
Error: Unerfüllte Abhängigkeiten. Versuchen Sie »apt --fix-broken install« ohne Angabe eines Pakets (oder geben Sie eine Lösung an).
Gut ... dann folgen wir dem Vorschlag und machen ein:
┌──(isegrimm ㉿ T-A-K-A-Y-A)-▷[~]
└─▷$ doas apt --fix-broken install
Abhängigkeiten werden korrigiert ... fehlgeschlagen.
Unsatisfied dependencies:
luametatex : Hängt ab von: libmimalloc3 (>= 3.0.1+ds) ist aber nicht installiert
Error: Fehler: Unterbrechungen durch pkgProblemResolver::Resolve hervorgerufen; dies könnte durch zurückgehaltene Pakete verursacht worden sein.
Error: Abhängigkeiten konnten nicht korrigiert werden.
... was aber bringt.
Die nächste Überlegung ist, jetzt libmimalloc3 einzeln zu installieren:
┌──(isegrimm ㉿ T-A-K-A-Y-A)-▷[~]
└─▷$ doas apt install libmimalloc3
Die folgenden Pakete wurden automatisch installiert und werden nicht mehr benötigt:
libmimalloc2.0 linux-headers-6.12.9-1-siduction-amd64 linux-image-6.12.9-1-siduction-amd64
Verwenden Sie »apt autoremove«, um sie zu entfernen.
Installing:
libmimalloc3
Summary:
Upgrading: 0, Installing: 1, Removing: 0, Not Upgrading: 411
26 nicht vollständig installiert oder entfernt.
Download size: 0 B / 53,5 kB
Space needed: 160 kB / 281 GB available
(Lese Datenbank ... 967855 Dateien und Verzeichnisse sind derzeit installiert.)
Vorbereitung zum Entpacken von .../libmimalloc3_3.0.1+ds-2+b1_amd64.deb ...
Entpacken von libmimalloc3:amd64 (3.0.1+ds-2+b1) ...
dpkg: Fehler beim Bearbeiten des Archivs /var/cache/apt/archives/libmimalloc3_3.0.1+ds-2+b1_amd64.deb (--unpack):
Versuch, »/usr/lib/x86_64-linux-gnu/libmimalloc.so.3.0« zu überschreiben, welches auch in Paket libmimalloc2.0:amd64 (3.0.1+ds-1) ist
Fehler traten auf beim Bearbeiten von:
/var/cache/apt/archives/libmimalloc3_3.0.1+ds-2+b1_amd64.deb
Error: Sub-process /usr/bin/dpkg returned an error code (1)
Gut ... klappt also auch nich. Also mache ich ein:
┌──(isegrimm ㉿ T-A-K-A-Y-A)-▷[/var/cache/apt/archives]
└─▷$ doas apt autoremove
Probieren Sie »apt --fix-broken install«, um dies zu korrigieren.
Unsatisfied dependencies:
luametatex : Hängt ab von: libmimalloc3 (>= 3.0.1+ds) ist aber nicht installiert
Error: Unerfüllte Abhängigkeiten. Versuchen Sie »apt --fix-broken install« ohne Angabe eines Pakets (oder geben Sie eine Lösung an).
... weil libmimalloc2 ja entfernt werden kann. Klappt auch nicht.
Das Ganze scheint sich für mich im Kreis zu drehen. was kann ich noch tun?
Did you try to remove version 2.0? It worked for me in one of my machines that was having a similar problem... Remove it and try install version 3 again.
I tried it ....
┌──(isegrimm ㉿ T-A-K-A-Y-A)-▷[/var/cache/apt/archives]
└─▷$ doas apt purge libmimalloc2.0
Probieren Sie »apt --fix-broken install«, um dies zu korrigieren.
Unsatisfied dependencies:
luametatex : Hängt ab von: libmimalloc3 (>= 3.0.1+ds) soll aber nicht installiert werden
Error: Unerfüllte Abhängigkeiten. Versuchen Sie »apt --fix-broken install« ohne Angabe eines Pakets (oder geben Sie eine Lösung an).
... but it failed.
OK, now I am grasping at straws here, but you could try to also purge luametatex and libmimalloc3 and see if you can then reinstall it. Be careful, though. See if anything else would be removed.
I am assuming that the problem is what you got here:
Vorbereitung zum Entpacken von .../libmimalloc3_3.0.1+ds-2+b1_amd64.deb ...
Entpacken von libmimalloc3:amd64 (3.0.1+ds-2+b1) ...
dpkg: Fehler beim Bearbeiten des Archivs /var/cache/apt/archives/libmimalloc3_3.0.1+ds-2+b1_amd64.deb (--unpack):
Versuch, »/usr/lib/x86_64-linux-gnu/libmimalloc.so.3.0« zu überschreiben, welches auch in Paket libmimalloc2.0:amd64 (3.0.1+ds-1) ist
Fehler traten auf beim Bearbeiten von:
/var/cache/apt/archives/libmimalloc3_3.0.1+ds-2+b1_amd64.deb
Error: Sub-process /usr/bin/dpkg returned an error code (1)
A more extreme solution would be to force the overwrite. But that is a bit more dangerous. So, it would be really a last case solution:
dpkg -i --force-overwrite /var/cache/apt/archives/libmimalloc3_3.0.1+ds-2+b1_amd64.deb
Ideally, if you can remove version 2.0, this would not be necessary.
Maybe someone more experience can offer better advice...
FWIW, here is what just happened in my laptop:
# apt full-upgrade
The following packages were automatically installed and are no longer required:
libconfig9 libmimalloc2.0
Use 'apt autoremove' to remove them.
Upgrading:
bind9-dnsutils libatomic1 libpulse0
bind9-host libcc1-0 libpulsedsp
bind9-libs libeis1 libquadmath0
chromium libfluidsynth3 libruby3.3
chromium-common libgcc-14-dev libstdc++-14-dev
chromium-sandbox libgcc-s1 libstdc++6
cpp-14 libgcc-s1:i386 libtesseract5
cpp-14-x86-64-linux-gnu libgccjit0 libtre5
firefox libgfortran-14-dev libtsan2
firefox-l10n-pt-br libgfortran5 libubsan1
fluidsynth libgomp1 mc
g++-14 libgstreamer-gl1.0-0 mc-data
g++-14-x86-64-linux-gnu libgstreamer-plugins-base1.0-0 mercurial
gcc-14 libgstreamer1.0-0 mercurial-common
gcc-14-base libgtk-3-0t64 osinfo-db
gcc-14-base:i386 libgtk-3-bin pulseaudio-utils
gcc-14-x86-64-linux-gnu libgtk-3-common pv
gfortran-14 libgtk-4-1 python-apt-common
gfortran-14-x86-64-linux-gnu libgtk-4-bin python-tables-data
gir1.2-gtk-3.0 libgtk-4-common python3-apt
gir1.2-gtk-4.0 libgtk-4-media-gstreamer python3-isort
gstreamer1.0-alsa libhwasan0 python3-pandas
gstreamer1.0-gl libitm1 python3-pandas-lib
gstreamer1.0-plugins-base libkpim6pimcommon6 python3-py
gstreamer1.0-plugins-good libkpim6pimcommonakonadi6 python3-rope
gstreamer1.0-pulseaudio liblsan0 python3-scipy
gstreamer1.0-tools libltdl7 python3-tables
gstreamer1.0-x libmimalloc2.0 python3-tables-lib
gtk-update-icon-cache libpam-modules python3-zarr
iotop libpam-modules-bin ruby3.3
iwd libpam-runtime tailscale
lib32gcc-s1 libpam0g xserver-xorg-input-wacom
lib32stdc++6 libpimcommon-data
libasan8 libpulse-mainloop-glib0
Summary:
Upgrading: 100, Installing: 0, Removing: 0, Not Upgrading: 0
Download size: 0 B / 357 MB
Space needed: 9,249 kB / 138 GB available
Continue? [Y/n]
Extracting templates from packages: 100%
Preconfiguring packages ...
[snip]
Preparing to unpack .../56-libmimalloc2.0_3.0.1+ds-1_amd64.deb ...
Unpacking libmimalloc2.0:amd64 (3.0.1+ds-1) over (2.1.7+ds-1+b1) ...
dpkg: error processing archive /tmp/apt-dpkg-install-IuQBvD/56-libmimalloc2.0_3.0.1+ds-1_amd64.deb (--unpack):
trying to overwrite '/usr/lib/x86_64-linux-gnu/libmimalloc.so.3.0', which is also in package libmimalloc3:amd64 (3.0.1+ds-2+b1)
[snip]
Errors were encountered while processing:
/tmp/apt-dpkg-install-IuQBvD/56-libmimalloc2.0_3.0.1+ds-1_amd64.deb
Error: Sub-process /usr/bin/dpkg returned an error code (1)
I could remove ibmimalloc2.0 and the upgrade finished by itself:
# apt remove libmimalloc2.0
The following package was automatically installed and is no longer required:
libconfig9
Use 'apt autoremove' to remove it.
REMOVING:
libmimalloc2.0
Summary:
Upgrading: 0, Installing: 0, Removing: 1, Not Upgrading: 0
92 not fully installed or removed.
Freed space: 152 kB
Continue? [Y/n]
(Reading database ... 1232788 files and directories currently installed.)
Removing libmimalloc2.0:amd64 (2.1.7+ds-1+b1) ...
Setting up gtk-update-icon-cache (4.16.12+ds-2) ...
Setting up libtre5:amd64 (0.9.0-1) ...
Setting up python3-py (1.11.0-4) ...
Setting up bind9-libs:amd64 (1:9.20.5-1) ...
Setting up mercurial-common (6.9.1-2) ...
Setting up libpulse0:amd64 (17.0+dfsg1-2) ...
[snip]
Setting up libgtk-4-media-gstreamer (4.16.12+ds-2) ...
Setting up gstreamer1.0-pulseaudio:amd64 (1.24.12-1) ...
Processing triggers for libc-bin (2.40-6) ...
I am not sure why it does not work on your system...
Ok ... i'm finished *g
According to another post in the internet (stack overflow) i started "synaptic", set the filter to "broken" ('cause luametatex seems broken) and let synaptic repair the broken package.
Afterwards i started a full-upgrade (with solver) again ... and the i works. :)