Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 79642 - After installing rpm using the "emerge rpm" command, could not use the "rpm -ivh" command to install any applicaton. I am getting the error: rpmdb: /var/lib/rpm/Packages: unsupported hash version: 8
Summary: After installing rpm using the "emerge rpm" command, could not use the "rpm -...
Status: RESOLVED NEEDINFO
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Stefan Jones (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-01-26 14:22 UTC by vakris
Modified: 2005-09-22 19:41 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description vakris 2005-01-26 14:22:23 UTC
I have a basic version of gentoo linux on my x86 hardware (one cpu).  I tried to install the rpm using the command:
  emerge rpm

The system got installed rpm utility without any error(s) or messgaes.

Then I tried to install IBMJava2-1.4.2 rpm.  I am getting the following messages on the display:
rpmdb: /var/lib/rpm/Packages: unsupported hash version: 8
error: cannot open Packages index using db3 - Invalid argument (22)
error: cannot open Packages database in /var/lib/rpm


Reproducible: Always
Steps to Reproduce:
1.Install gentoo linux minimal install
2.Make sure you have the ssh daemon also installed
3.execute the command: emerge rpm
4.save the IBMJava2-1.4.2-JRE-0.51.i586.rpm
5.execute the command: rpm -ivh IBMJava2-1.4.2-JRE-0.51.i586.rpm
Note: here is the output of uname -a command:
Linux xxx 2.6.10 #1 Mon Jan 24 10:39:30 PST 2005 i686 Intel(R) Pentium(R) 4 CPU 2.40GHz GenuineIntel GNU/Linux

Actual Results:  
rpmdb: /var/lib/rpm/Packages: unsupported hash version: 8
error: cannot open Packages index using db3 - Invalid argument (22)
error: cannot open Packages database in /var/lib/rpm


Expected Results:  
the java or anyother application should get installed without any error messages.
Comment 1 Stefan Jones (RETIRED) gentoo-dev 2005-05-27 10:22:43 UTC
Where can I get this rpm package ( IBMJava2-1.4.2 ) from to test?

I assume you are using rpm-4.2
Comment 2 Stefan Jones (RETIRED) gentoo-dev 2005-09-22 19:41:57 UTC
I cannot get the rpm without registring and I do not know what rpm version you
are using, sorry