PDA

Archiv verlassen und diese Seite im Standarddesign anzeigen : [Suse Leap 15.4] zypper -> Failed to cache rpm database (129) - bisher hilft nichts



Wille
19.04.23, 16:48
Ola,
ich hab meinen Rechner von Leap 15.3 auf 15.4 per zypper dup geupdated. Daraufhin war zypper kaputt, nach einigem Gefummel hab ich aufgegeben und eine 15.4-Installations-DVD runtergeladen und mit Hilfe dieser einmal das Update nochmal über das bestehende System drüber installiert.
Leap 15.4 startet, ein Updatedurchlauf funktioniert, ich trage Packman in die Repositoryliste mit Yast2 ein und ich hab das gleiche Problem von vorn.



linux-0pp9:/home/matthi # zypper up
Zielinitialisierung fehlgeschlagen:
Failed to cache rpm database (129).
Verlauf:



Ich hab verschiedene Sachen gesucht, gefunden und ausprobiert, ich hoffe, ich hab an alles gedacht:
- rpm --rebuilddb (mehrfach)
- rpm --initdb
- zypper clean
- rm -rf /var/cache/zypp /var/cache/zypper
- Gemäß dem Hinweis von Suse selbst, hab ich auch den Inhalt /var/lib/rpm gelöscht und durch die letzte (und einzige nach Update-)Version aus /var/adm/backup/rpmdb/ ersetzt. Seit dem gibt auch rpm -qa keinen Mucks mehr von sich (vorher kam da eine lange Liste an Paketen)
- Packman deaktiviert

und hier noch die Ausgabe von zypper lr -d


# | Alias | Name | Enabled | GPG Check | Refresh | Priority | Type | URI | Serv->
---+----------------------------------------------+------------------------------------+-----------+-----------------+----------------+-----------+------+-------------------------------------------------------------------------+-------
1 | ftp.gwdg.de-openSUSE_Leap_$releasever | Packman Repository | Nein | ---- | ---- | 95 | NONE | http://ftp.gwdg.de/pub/linux/misc/packman/suse/openSUSE_Leap_15.4/ |
2 | openSUSE-Leap-15.4-1 | openSUSE-Leap-15.4-1 | Nein | ---- | ---- | 99 | NONE | cd:/?devices=/dev/disk/by-id/ata-HL-DT-ST_DVDRAM_GSA-H42N_K1G73MH3008 |
3 | opensuse-guide.org-openSUSE_Leap_$releasever | Libdvdcss Repository | Nein | ---- | ---- | 97 | NONE | http://opensuse-guide.org/repo/openSUSE_Leap_15.4/ |
4 | repo-backports-debug-update | Update repository of openSUSE Ba-> | Nein | ---- | ---- | 99 | NONE | http://download.opensuse.org/update/leap/15.4/backports_debug/ |
5 | repo-backports-update | Update repository of openSUSE Ba-> | Ja | ( p) Ja | Ja | 99 | NONE | http://download.opensuse.org/update/leap/15.4/backports/ |
6 | repo-debug | Debug Repository | Nein | ---- | ---- | 99 | NONE | http://download.opensuse.org/debug/distribution/leap/15.4/repo/oss/ |
7 | repo-debug-non-oss | Debug Repository (Non-OSS) | Nein | ---- | ---- | 99 | NONE | http://download.opensuse.org/debug/distribution/leap/15.4/repo/non-oss/ |
8 | repo-debug-update | Update Repository (Debug) | Nein | ---- | ---- | 99 | NONE | http://download.opensuse.org/debug/update/leap/15.4/oss/ |
9 | repo-debug-update-non-oss | Update Repository (Debug, Non-OSS) | Nein | ---- | ---- | 99 | NONE | http://download.opensuse.org/debug/update/leap/15.4/non-oss/ |
10 | repo-non-oss | Non-OSS Repository | Ja | ( p) Ja | Ja | 99 | NONE | http://download.opensuse.org/distribution/leap/15.4/repo/non-oss/ |
11 | repo-oss | Main Repository | Ja | ( p) Ja | Ja | 99 | NONE | http://download.opensuse.org/distribution/leap/15.4/repo/oss/ |
12 | repo-sle-debug-update | Update repository with updates f-> | Nein | ---- | ---- | 99 | NONE | http://download.opensuse.org/debug/update/leap/15.4/sle/ |
13 | repo-sle-update | Update repository with updates f-> | Ja | ( p) Ja | Ja | 99 | NONE | http://download.opensuse.org/update/leap/15.4/sle/ |
14 | repo-source | Source Repository | Nein | ---- | ---- | 99 | NONE | http://download.opensuse.org/source/distribution/leap/15.4/repo/oss/ |
15 | repo-update | Main Update Repository | Ja | ( p) Ja | Ja | 99 | NONE | http://download.opensuse.org/update/leap/15.4/oss/ |
16 | repo-update-non-oss | Update Repository (Non-Oss) | Ja | ( p) Ja | Ja | 99 | NONE | http://download.opensuse.org/update/leap/15.4/non-oss/

Sauerland1
19.04.23, 18:22
Hast du mal alle zypper und rpm rpm's neu installiert?

Wille
20.04.23, 14:38
ahh, gute Idee. Das hatte ich beim aller ersten Mal auch gemacht und hatte geklappt.
Diesmal allerdings passiert das:


rpm -ihv libzypp-17.30.0-150400.1.6.x86_64.rpm
warning: libzypp-17.30.0-150400.1.6.x86_64.rpm: Header V3 RSA/SHA256 Signature, key ID 39db7c82: NOKEY
error: Failed dependencies:
/bin/sh is needed by libzypp-17.30.0-150400.1.6.x86_64
/sbin/ldconfig is needed by libzypp-17.30.0-150400.1.6.x86_64
ld-linux-x86-64.so.2()(64bit) is needed by libzypp-17.30.0-150400.1.6.x86_64
ld-linux-x86-64.so.2(GLIBC_2.3)(64bit) is needed by libzypp-17.30.0-150400.1.6.x86_64
libboost_thread.so.1.66.0()(64bit) is needed by libzypp-17.30.0-150400.1.6.x86_64
libc.so.6()(64bit) is needed by libzypp-17.30.0-150400.1.6.x86_64
libc.so.6(GLIBC_2.10)(64bit) is needed by libzypp-17.30.0-150400.1.6.x86_64
libc.so.6(GLIBC_2.14)(64bit) is needed by libzypp-17.30.0-150400.1.6.x86_64
libc.so.6(GLIBC_2.15)(64bit) is needed by libzypp-17.30.0-150400.1.6.x86_64
libc.so.6(GLIBC_2.16)(64bit) is needed by libzypp-17.30.0-150400.1.6.x86_64
libc.so.6(GLIBC_2.2.5)(64bit) is needed by libzypp-17.30.0-150400.1.6.x86_64
libc.so.6(GLIBC_2.27)(64bit) is needed by libzypp-17.30.0-150400.1.6.x86_64
libc.so.6(GLIBC_2.28)(64bit) is needed by libzypp-17.30.0-150400.1.6.x86_64
libc.so.6(GLIBC_2.3)(64bit) is needed by libzypp-17.30.0-150400.1.6.x86_64
libc.so.6(GLIBC_2.3.2)(64bit) is needed by libzypp-17.30.0-150400.1.6.x86_64
libc.so.6(GLIBC_2.3.4)(64bit) is needed by libzypp-17.30.0-150400.1.6.x86_64
libc.so.6(GLIBC_2.4)(64bit) is needed by libzypp-17.30.0-150400.1.6.x86_64
libc.so.6(GLIBC_2.7)(64bit) is needed by libzypp-17.30.0-150400.1.6.x86_64
libc.so.6(GLIBC_2.8)(64bit) is needed by libzypp-17.30.0-150400.1.6.x86_64
libc.so.6(GLIBC_2.9)(64bit) is needed by libzypp-17.30.0-150400.1.6.x86_64
libcrypto.so.1.1()(64bit) is needed by libzypp-17.30.0-150400.1.6.x86_64
libcrypto.so.1.1(OPENSSL_1_1_0)(64bit) is needed by libzypp-17.30.0-150400.1.6.x86_64
libcurl.so.4()(64bit) is needed by libzypp-17.30.0-150400.1.6.x86_64
libcurl4 >= 7.19.4 is needed by libzypp-17.30.0-150400.1.6.x86_64
libgcc_s.so.1()(64bit) is needed by libzypp-17.30.0-150400.1.6.x86_64
libgcc_s.so.1(GCC_3.0)(64bit) is needed by libzypp-17.30.0-150400.1.6.x86_64
libglib-2.0.so.0()(64bit) is needed by libzypp-17.30.0-150400.1.6.x86_64
libgpgme.so.11()(64bit) is needed by libzypp-17.30.0-150400.1.6.x86_64
libgpgme.so.11(GPGME_1.0)(64bit) is needed by libzypp-17.30.0-150400.1.6.x86_64
libgpgme.so.11(GPGME_1.1)(64bit) is needed by libzypp-17.30.0-150400.1.6.x86_64
libprotobuf-lite.so.20()(64bit) is needed by libzypp-17.30.0-150400.1.6.x86_64
libproxy.so.1()(64bit) is needed by libzypp-17.30.0-150400.1.6.x86_64
libproxy.so.1(LIBPROXY_0.4.16)(64bit) is needed by libzypp-17.30.0-150400.1.6.x86_64
libpthread.so.0()(64bit) is needed by libzypp-17.30.0-150400.1.6.x86_64
libpthread.so.0(GLIBC_2.12)(64bit) is needed by libzypp-17.30.0-150400.1.6.x86_64
libpthread.so.0(GLIBC_2.2.5)(64bit) is needed by libzypp-17.30.0-150400.1.6.x86_64
libpthread.so.0(GLIBC_2.3.2)(64bit) is needed by libzypp-17.30.0-150400.1.6.x86_64
librpm.so.8()(64bit) is needed by libzypp-17.30.0-150400.1.6.x86_64
librpmio.so.8()(64bit) is needed by libzypp-17.30.0-150400.1.6.x86_64
libsigc-2.0.so.0()(64bit) is needed by libzypp-17.30.0-150400.1.6.x86_64
libsolv-tools = 0.7.22 is needed by libzypp-17.30.0-150400.1.6.x86_64
libstdc++.so.6()(64bit) is needed by libzypp-17.30.0-150400.1.6.x86_64
libstdc++.so.6(CXXABI_1.3)(64bit) is needed by libzypp-17.30.0-150400.1.6.x86_64
libstdc++.so.6(CXXABI_1.3.3)(64bit) is needed by libzypp-17.30.0-150400.1.6.x86_64
libstdc++.so.6(CXXABI_1.3.5)(64bit) is needed by libzypp-17.30.0-150400.1.6.x86_64
libstdc++.so.6(CXXABI_1.3.7)(64bit) is needed by libzypp-17.30.0-150400.1.6.x86_64
libstdc++.so.6(CXXABI_1.3.8)(64bit) is needed by libzypp-17.30.0-150400.1.6.x86_64
libstdc++.so.6(CXXABI_1.3.9)(64bit) is needed by libzypp-17.30.0-150400.1.6.x86_64
libstdc++.so.6(GLIBCXX_3.4)(64bit) is needed by libzypp-17.30.0-150400.1.6.x86_64
libstdc++.so.6(GLIBCXX_3.4.11)(64bit) is needed by libzypp-17.30.0-150400.1.6.x86_64
libstdc++.so.6(GLIBCXX_3.4.14)(64bit) is needed by libzypp-17.30.0-150400.1.6.x86_64
libstdc++.so.6(GLIBCXX_3.4.15)(64bit) is needed by libzypp-17.30.0-150400.1.6.x86_64
libstdc++.so.6(GLIBCXX_3.4.18)(64bit) is needed by libzypp-17.30.0-150400.1.6.x86_64
libstdc++.so.6(GLIBCXX_3.4.19)(64bit) is needed by libzypp-17.30.0-150400.1.6.x86_64
libstdc++.so.6(GLIBCXX_3.4.20)(64bit) is needed by libzypp-17.30.0-150400.1.6.x86_64
libstdc++.so.6(GLIBCXX_3.4.21)(64bit) is needed by libzypp-17.30.0-150400.1.6.x86_64
libstdc++.so.6(GLIBCXX_3.4.22)(64bit) is needed by libzypp-17.30.0-150400.1.6.x86_64
libstdc++.so.6(GLIBCXX_3.4.9)(64bit) is needed by libzypp-17.30.0-150400.1.6.x86_64
libudev.so.1()(64bit) is needed by libzypp-17.30.0-150400.1.6.x86_64
libudev.so.1(LIBUDEV_183)(64bit) is needed by libzypp-17.30.0-150400.1.6.x86_64
libutil.so.1()(64bit) is needed by libzypp-17.30.0-150400.1.6.x86_64
libutil.so.1(GLIBC_2.2.5)(64bit) is needed by libzypp-17.30.0-150400.1.6.x86_64
libxml2.so.2()(64bit) is needed by libzypp-17.30.0-150400.1.6.x86_64
libxml2.so.2(LIBXML2_2.4.30)(64bit) is needed by libzypp-17.30.0-150400.1.6.x86_64
libxml2.so.2(LIBXML2_2.5.0)(64bit) is needed by libzypp-17.30.0-150400.1.6.x86_64
libxml2.so.2(LIBXML2_2.6.0)(64bit) is needed by libzypp-17.30.0-150400.1.6.x86_64
libxml2.so.2(LIBXML2_2.6.6)(64bit) is needed by libzypp-17.30.0-150400.1.6.x86_64
libyaml-cpp.so.0.6()(64bit) is needed by libzypp-17.30.0-150400.1.6.x86_64
libz.so.1()(64bit) is needed by libzypp-17.30.0-150400.1.6.x86_64
libz.so.1(ZLIB_1.2.3.3)(64bit) is needed by libzypp-17.30.0-150400.1.6.x86_64
libzstd.so.1()(64bit) is needed by libzypp-17.30.0-150400.1.6.x86_64
rpm is needed by libzypp-17.30.0-150400.1.6.x86_64


Ich hab vermutet, dass die vermeintlich fehlenden Abhängigkeiten damit zu tun haben, das ich ja die rpm-Datenbank mit einem alten Backup überschrieben hab. Hab dann mal ein --nodeps hinter rpm gehängt und damit libzypp, zypper und rpm neu installiert. Leider gehts immer noch nicht.

Wille
20.04.23, 15:09
Versuche ich die geforderten Pakete zu installieren, dann steig ich von Runde zu Runde tiefer in die Abhängigkeiten ab. Ich vermute ich muss das System nochmal installieren^^

Sauerland1
20.04.23, 16:44
Da ist dein Update aber gründlich schief gelaufen........

Hast du kein btrfs?
Und damit snapper?

Wille
20.04.23, 17:27
Good point! Doch ich hab btrfs auf / . Da schau ich morgen weiter.

Sauerland1
20.04.23, 17:33
PS:
Beim Upgraden von einer Version zur nächsthöheren mach ich immer nach dem Ändern der URL's ein
zypper in -f zypper rpm.