Mailinglist Archive: opensuse-factory (468 mails)

< Previous Next >
Re: [opensuse-factory] rpm - list all files
Hi,

Am Donnerstag, 2. April 2020, 16:05:55 CEST schrieb Stefan Seyfried:
Am 02.04.20 um 12:58 schrieb Fabian Vogt:
Hi,

Am Donnerstag, 2. April 2020, 12:46:59 CEST schrieb Christoph Feck:
On 04/02/20 12:43, Dominique Leuenberger / DimStar wrote:
On Thu, 2020-04-02 at 12:35 +0200, Christoph Feck wrote:
Since a recent rpm change, these commands (run as root) show no results:

1> rpm -qa # show all installed packages

Some useful information for tracking this down would be printed by:

rpm -vv -qi aaa_base

If no package is installed (according to rpm), there is also no aaa_base
to be shown ;-)

Yup, but the "-vv" makes rpm print some useful diagnostic output:

ufdio: 1 reads, 19451 total bytes in 0.000029 secs
D: loading keyring from pubkeys in /usr/lib/sysimage/rpm/pubkeys/*.key
D: couldn't find any keys in /usr/lib/sysimage/rpm/pubkeys/*.key
D: loading keyring from rpmdb
D: opening db environment /usr/lib/sysimage/rpm cdb:private:0x201
D: opening db index /usr/lib/sysimage/rpm/Packages 0x400 mode=0x0
D: locked db index /usr/lib/sysimage/rpm/Packages
D: opening db index /usr/lib/sysimage/rpm/Name nofsync:0x400 mode=0x0
D: read h# 93
...

There has to be a query which does a database access and
rpm -vv -qi imprettysurethispackagedoesnotexist would work the same way.

Cheers,
Fabian


--
To unsubscribe, e-mail: opensuse-factory+unsubscribe@xxxxxxxxxxxx
To contact the owner, e-mail: opensuse-factory+owner@xxxxxxxxxxxx

< Previous Next >
Follow Ups