Mailinglist Archive: opensuse-factory (468 mails)

< Previous Next >
Re: [opensuse-factory] rpm - list all files
On Thu, Apr 02, 2020 at 12:46:59PM +0200, Christoph Feck wrote:
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?

Is /var/lib/rpm a symlink to ../../usr/lib/sysimage/rpm as it
ought to be?

If not, you have two databases and need to find out which one
to keep.

(There was a bad interaction between rpm and libzypp that
caused this at one point in time. This is already fixed now.)

Cheers,
Michael.

--
Michael Schroeder SUSE Software Solutions Germany GmbH
mls@xxxxxxx GF: Felix Imendoerffer HRB 36809, AG Nuernberg
main(_){while(_=~getchar())putchar(~_-1/(~(_|32)/13*2-11)*13);}
--
To unsubscribe, e-mail: opensuse-factory+unsubscribe@xxxxxxxxxxxx
To contact the owner, e-mail: opensuse-factory+owner@xxxxxxxxxxxx

< Previous Next >