Sziasztok,
Ubuntu 22.04-ről 24.04-re való frissítéskor ( sudo do-release-upgrade -d ) a frissítés megakad feloldhatatlan csomag hibával. Maga a csomag a glibc6, amire úgy tűnik, az egész világ épül. A halálozás oka, hogy a log szerint nem talál valamiféle változókat:
sudo apt install -f kimenete:
A művelet után 171 kB lemezterület szabadul fel.
Folytatni akarja? [I/n] i
locale: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.36' not found (required by locale)
locale: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_ABI_DT_RELR' not found (required by locale)
locale: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.38' not found (required by locale)
Csomagok előkonfigurálása ...
(Adatbázis olvasása ... 342897 fájl és könyvtár van jelenleg telepítve.)
Kibontás előkészítése: .../libc6_2.39-0ubuntu8_amd64.deb ...
locale: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.36' not found (require
d by locale)
locale: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_ABI_DT_RELR' not found (
required by locale)
locale: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.38' not found (require
d by locale)
Checking for services that may need to be restarted...
Checking init scripts...
Checking for services that may need to be restarted...
Checking init scripts...
Stopping some services possibly affected by the upgrade (will be restarted later
):
dpkg-divert: error: cannot divert directories
Use --help for help about diverting files.
dpkg: hiba az archívum feldolgozásakor: /var/cache/apt/archives/libc6_2.39-0ubun
tu8_amd64.deb (--unpack):
new libc6:amd64 package pre-installation script subprocess returned error exit
status 2
Hibák történtek a feldolgozáskor:
/var/cache/apt/archives/libc6_2.39-0ubuntu8_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
Hogyan lehetne ezeket a hiányzó libraryket/lokális változókat? pótolni, hogy a telepítés rendben lemenjen? Jeleneg a csomagkezelő nem hajlandó semmit telepíteni, mert a libc6 miatt törött csomagok vannak.