Welcome, Guest. Please login or register.
Did you miss your activation email?

Author Topic: [EN] Problem updating texlive  (Read 1202 times)

Offline finotti

  • User
  • Posts: 296
[EN] Problem updating texlive
« on: 2025/01/17, 02:46:59 »
On a DU today, I am getting the following error with texlive:

Code: [Select]
# 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:

Code: [Select]
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...

Offline Mister00X

  • User
  • Posts: 207
Re: Problem updating texlive
« Reply #1 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.
Arguing that you don't care about the right to privacy because you have nothing to hide is no different than saying you don't care about free speech because you have nothing to say. – Edward Snowden

Offline finotti

  • User
  • Posts: 296
Re: Problem updating texlive
« Reply #2 on: 2025/01/17, 18:10:31 »
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!

Offline graviton

  • User
  • Posts: 63
Re: Problem updating texlive
« Reply #3 on: 2025/01/18, 10:51:36 »

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

Offline Mister00X

  • User
  • Posts: 207
Re: Problem updating texlive
« Reply #4 on: 2025/01/18, 13:01:19 »
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.
Arguing that you don't care about the right to privacy because you have nothing to hide is no different than saying you don't care about free speech because you have nothing to say. – Edward Snowden

Offline mendserene

  • Newbie
  • Posts: 1
    • Geometry Dash
Re: Problem updating texlive
« Reply #5 on: 2025/01/20, 05:44:20 »
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.

Offline lanig

  • User
  • Posts: 73
Re: Problem updating texlive
« Reply #6 on: 2025/01/20, 22:17:31 »
I have been hit by this bug which was not detected by apt-listbugs.
I have done
Code: [Select]
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

Offline finotti

  • User
  • Posts: 296
Re: Problem updating texlive
« Reply #7 on: 2025/01/29, 21:44:27 »
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. :-)

Offline Isegrimm666

  • User
  • Posts: 177
Re: Problem updating texlive
« Reply #8 on: 2025/01/30, 17:51:10 »
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:

Code: [Select]
┌──(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?

Offline finotti

  • User
  • Posts: 296
Re: Problem updating texlive
« Reply #9 on: 2025/01/30, 21:05:08 »
is libmimalloc3 installed?  If so, maybe you could try to remove libmimalloc2.0 and try -f install again.

Offline Isegrimm666

  • User
  • Posts: 177
Re: Problem updating texlive
« Reply #10 on: 2025/01/31, 06:26:01 »
No ... it isn't ... :

Quote
luametatex : Hängt ab von: libmimalloc3 (>= 3.0.1+ds) ist aber nicht installiert

I tried to make an ...

Code: [Select]
apt install libmimalloc3
... but it failed, because of "Unsatisfied dependencies"

Offline Isegrimm666

  • User
  • Posts: 177
Re: Problem updating texlive
« Reply #11 on: 2025/01/31, 14:08:53 »
Jetzt nochmal komplett:

Zuerst das übliche full-upgrade mit solver:

Code: [Select]
┌──(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:

Code: [Select]
┌──(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:

Code: [Select]
┌──(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:

Code: [Select]
┌──(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?

Offline finotti

  • User
  • Posts: 296
Re: Problem updating texlive
« Reply #12 on: 2025/01/31, 16:19:27 »
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.

Offline Isegrimm666

  • User
  • Posts: 177
Re: Problem updating texlive
« Reply #13 on: 2025/01/31, 16:33:27 »
I tried it ....

Code: [Select]
┌──(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.
« Last Edit: 2025/01/31, 16:39:41 by Isegrimm666 »

Offline finotti

  • User
  • Posts: 296
Re: Problem updating texlive
« Reply #14 on: 2025/01/31, 17:56:51 »
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:

Code: [Select]
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:

Code: [Select]
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...