rpm -qpi spews errors about about indexes

Bug #530023 reported by Michael Stringer
14
This bug affects 2 people
Affects Status Importance Assigned to Milestone
rpm (Debian)
Fix Released
Unknown
rpm (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

Binary package hint: rpm

If you try to query an rpm file using rpm -qpi <filename> you get errors about opening indexes:

$ rpm -qpi build/linux/repositories/yum/jre-6u18-linux-i586.rpm
error: cannot open Name index using db3 - No such file or directory (2)
Name : jre Relocations: /usr/java
...

This bug has been raised with Debian (http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=551669) and RPM (http://rpm.org/ticket/106).

Affected versions:
$ rpm --version
RPM version 4.7.0

$ lsb_release -rd
Description: Ubuntu 9.10
Release: 9.10

Related branches

CVE References

Changed in rpm (Debian):
status: Unknown → Confirmed
Changed in rpm (Debian):
status: Confirmed → Fix Released
Michal Čihař (nijel)
Changed in rpm (Ubuntu):
status: New → Fix Committed
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package rpm - 4.8.1-5

---------------
rpm (4.8.1-5) unstable; urgency=low

  * Fix compilation on hurd and kfreebsd (Closes: #587366).

rpm (4.8.1-4) unstable; urgency=low

  * Package rpm-common needs to be arch:any because it's content is different
    for each platform (LP: #574647).
  * Tighten dependency on rpm-common.
  * Fix build failure on arm (Closes: #587173).

rpm (4.8.1-3) unstable; urgency=low

  * Upload to unstable as python 2.6 is there.
  * Remove build dependency on beecrypt, it is not used at all (was replaced
    by NSS some time ago).
  * Also libneon does not seem to be used anymore.
  * Add missing build dependency on pkg-config.

rpm (4.8.1-2) experimental; urgency=low

  * Build depend on autopoint.

rpm (4.8.1-1) experimental; urgency=low

  * New upstream release.
    - Fix vulnerability in removing setuid on moved files (Closes: #584257,
      CVE-2010-2059).
    - Safer parsing of spec file (CVE-2010-2197).
  * Build depend on python-all-dev (>= 2.6) and cleanup debian/rules to again
    use all supported versions (which will anyway mean just 2.6).

rpm (4.8.0-4) experimental; urgency=low

  * Use new conditionals in symbol files and define symbols for sparc64
    (Closes: #572766).
  * Move default RPM database path to ~/.rpm.
    - Fixes problem with no accessible Names database (Closes: #551669,
    LP: #530023).
  * No longer handle database in postinst.
    - Removes debconf from postinst.
    - Avoids problems on installation with db version (LP: #542115).
  * Document above changes in NEWS and README.Debian.

rpm (4.8.0-3) experimental; urgency=low

  * Do not require --force-debian for installing packages, just complain that
    user should use alien. This allows easily people to shoot in the foot,
    however --force-debian switch seems to be too unpopular (Closes: #565421).
  * Bump standards to 3.8.4.

rpm (4.8.0-2) experimental; urgency=low

  * Add missing build dependency on cvs (for autoreconf) (Closes: #565795).

rpm (4.8.0-1) experimental; urgency=low

  * Fix filename of database backup - month and minute were switched
    (Closes: #561546).
  * Move watch file to 4.8 branch.
  * New upstream release.
  * Patch fixbashism.patch fixed better upstream.
  * Unfuzzy other patches.
  * Build depend on python 2.6, adjust Python-Version according to that.
  * Build agains python 2.6 for experimental.
  * Rename library packages after soname bump.
 -- Bhavani Shankar <email address hidden> Mon, 28 Jun 2010 11:12:30 +0200

Changed in rpm (Ubuntu):
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.