[opensuse] RPMDB Packages: unsupported hash version: 9
All... I have had a significant crash of the whole RPM system on my 11.4 x86_64 and I can't find the correct answer. Using Yast2, I was downloading all the files I needed to do in order to load perl-bootloader. Yast2 decided it couldn't finish the install and died. Now when I try and run RPM I get the same thing: rpmdb: /var/lib/rpm/Packages: unsupported hash version: 9 error: cannot open Packages index using db3 - Invalid argument (22) Searching through the web I've found cd /var/lib/rpm rm -fv __db* mv -v Packages Packages-BAK db_dump Packages-BAK | db45_load Packages rpm -vv --rebuilddb This was not successful Thanks to an old post by Carlos, I found the backup, but I get the same error zypper gets me: error while loading shared libraries: librpm.so.2: cannot open shared object file: No such file or directory Smart's answer is 'rpm' python module is not available Yast2 never comes up. Trying to reinstall python-rpm gets me nowhere. I really don't want to do a reinstall.. Since switching to x86_64 I've had more problems then I did with 6.3. Any help would be appreciated.. -- Quis custodiet ipsos custodes _.._ _ ."\__/"./`_\ _/__<__>__\/ jgs `"/_/""""\_\\ Adolph & Sharon Weidanz SuSE 11.4 x86_64 '78 43' Endeavour Ketch S/V Time To Paws -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 2011-07-30 01:59, Adolph & Sharon Weidanz wrote: ...
Thanks to an old post by Carlos, I found the backup, but I get the same error
zypper gets me: error while loading shared libraries: librpm.so.2: cannot open shared object file: No such file or directory
That's funny, there is no such file in 11.4. You might have installed parts from another version. 11.4 has: cer@Telcontar:~> locate librpm.so /usr/lib64/librpm.so.1 /usr/lib64/librpm.so.1.0.0 You may have incorrect repos defined. Factory or tumbleweed, perhaps. - -- Cheers / Saludos, Carlos E. R. (from 11.4 x86_64 "Celadon" at Telcontar) -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.16 (GNU/Linux) Comment: Using GnuPG with SUSE - http://enigmail.mozdev.org/ iEYEARECAAYFAk4zWPgACgkQtTMYHG2NR9Vt9gCgibZkQXjxwACsyt8MNTt2tyJ/ B+cAn020ZrN+Z27yTjzyuGuPfU07m8e7 =rVFZ -----END PGP SIGNATURE----- -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On 07/29/2011 09:06 PM, Carlos E. R. wrote:
You may have incorrect repos defined. Factory or tumbleweed, perhaps.
I probably do have them set up wrong. But the question is, can it be fixed without having to do a reinstall. As I mentioned in the previous, I just hope I don't have to a reinstall. I might try and do an 'upgrade' and see I get around the has problem. -- Quis custodiet ipsos custodes _.._ _ ."\__/"./`_\ _/__<__>__\/ jgs `"/_/""""\_\\ Adolph & Sharon Weidanz SuSE 11.3 '78 43' Endeavour Ketch S/V Time To Paws -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 2011-07-31 13:18, Adolph & Sharon Weidanz wrote:
On 07/29/2011 09:06 PM, Carlos E. R. wrote:
You may have incorrect repos defined. Factory or tumbleweed, perhaps.
I probably do have them set up wrong. But the question is, can it be fixed without having to do a reinstall. As I mentioned in the previous, I just hope I don't have to a reinstall.
If zypper work, yes, reinstalling the proper libraries. If it doesn't, but rpm does, then download manually and reinstall the libraries. If rpm doesn't work, you have to copy the files manually from another installation, or perhaps, boot another linux and run rpm from there, I don't know how exactly. - -- Cheers / Saludos, Carlos E. R. (from 11.4 x86_64 "Celadon" at Telcontar) -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.16 (GNU/Linux) Comment: Using GnuPG with SUSE - http://enigmail.mozdev.org/ iEYEARECAAYFAk41QxQACgkQtTMYHG2NR9XUkACggWTiHCGyvct+LP6f8/k26TMh IOQAn0xIbqbXhIS15laOtpRL97gNlmyT =gBHL -----END PGP SIGNATURE----- -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
One last option if nothing else works can be to download the full installation dvd boot fro it and run an update instead of a new install from it and hope that it is able to repair the broken packages. Of course I do not know if that works in this situation and a full backup of all your data should be done before trying it. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On 07/31/2011 07:18 AM, Adolph & Sharon Weidanz pecked at the keyboard and wrote:
On 07/29/2011 09:06 PM, Carlos E. R. wrote:
You may have incorrect repos defined. Factory or tumbleweed, perhaps.
I probably do have them set up wrong. But the question is, can it be fixed without having to do a reinstall. As I mentioned in the previous, I just hope I don't have to a reinstall.
I might try and do an 'upgrade' and see I get around the has problem.
"upgrade" is the path I would pursue. It will find and fix most package problems that may exist. -- Ken Schneider SuSe since Version 5.2, June 1998 -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On 07/31/2011 11:21 AM, Ken Schneider - openSUSE wrote:
On 07/31/2011 07:18 AM, Adolph & Sharon Weidanz pecked at the keyboard and wrote:
On 07/29/2011 09:06 PM, Carlos E. R. wrote:
You may have incorrect repos defined. Factory or tumbleweed, perhaps.
I probably do have them set up wrong. But the question is, can it be fixed without having to do a reinstall. As I mentioned in the previous, I just hope I don't have to a reinstall.
I might try and do an 'upgrade' and see I get around the has problem.
"upgrade" is the path I would pursue. It will find and fix most package problems that may exist.
well that was a great idea, that didn't work. When I went to do the upgrade (using the x86_64 DVD) it found the root drive. but when it went mount root, it came back with an unspecified error. Warned me but asked if I wanted to continue. I said continue, but all it did was take me back to the previous window where you select upgrade/new install Maybe I'll just wait for OS 12.2... -- Quis custodiet ipsos custodes _.._ _ ."\__/"./`_\ _/__<__>__\/ jgs `"/_/""""\_\\ Adolph & Sharon Weidanz SuSE 11.3 '78 43' Endeavour Ketch S/V Time To Paws -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 2011-08-01 00:31, Adolph & Sharon Weidanz wrote:
Maybe I'll just wait for OS 12.2...
Or reinstall, being careful this time with what repos you activate. - -- Cheers / Saludos, Carlos E. R. (from 11.4 x86_64 "Celadon" at Telcontar) -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.16 (GNU/Linux) Comment: Using GnuPG with SUSE - http://enigmail.mozdev.org/ iEYEARECAAYFAk416tMACgkQtTMYHG2NR9V5OgCdE3wTh8nI0Tmq/GBLmuOfQ0a9 DqoAn25zo/eA4oCuN7cWNdlmbO8eBGel =IKpe -----END PGP SIGNATURE----- -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
participants (4)
-
Adolph & Sharon Weidanz
-
Carlos E. R.
-
Ken Schneider - openSUSE
-
Martin Helm