Mailinglist Archive: opensuse-factory (468 mails)

< Previous Next >
Re: [opensuse-factory] rpm - list all files
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
1> rpm -qla # list all files in all installed packages

Is this intended, or a bug?

clearly a bug (on your system; I can't reproduce it)

both commands work as expected.

This sounds like you have a corrupt rpm database.

What else besides 'rpm --rebuilddb' could I do to fix it?

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

rpm -vv -qi aaa_base
rpm --eval %_dbpath
rpm --eval %_db_backend
stat /var/lib/rpm
ls -lR /var/lib/rpm/ /usr/lib/sysimage/rpm/

Cheers,
Fabian


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

< Previous Next >
Follow Ups