rpm -qa without results
vicki at thepenguin.org
vicki at thepenguin.org
Tue Apr 22 14:40:14 UTC 2008
> On Mon, 2008-04-21 at 22:09 -0400, Antonio Sebastián Sallés M. wrote:
>> 2008/4/21, Aaron Konstam <akonstam at sbcglobal.net>:
>> > On Sun, 2008-04-20 at 21:11 -0400, David C. Chipman wrote:
>> > What pessamistic advice. Try this:
>> > rm /var/lib/rpm/__db.*
>> > rpm --rebuilddb
>> >
>>
>> root at tesis:/var/lib/rpm# ls -las
>> total 492
>> 4 drwxr-xr-x 2 root root 4096 2008-04-19 22:23 .
>> 4 drwxr-xr-x 19 root root 4096 2008-04-19 22:23 ..
>> 8 -rw-r--r-- 1 root root 12288 2008-04-19 22:21 Basenames
>> 8 -rw-r--r-- 1 root root 12288 2008-04-19 22:21 Conflictname
>> 12 -rw-r--r-- 1 root root 24576 2008-04-19 22:23 __db.001
>> 100 -rw-r--r-- 1 root root 1318912 2008-04-19 22:23 __db.002
>> 324 -rw-r--r-- 1 root root 450560 2008-04-19 22:23 __db.003
>> 8 -rw-r--r-- 1 root root 12288 2008-04-12 00:52 Name
>> 8 -rw-r--r-- 1 root root 12288 2008-04-12 00:52 Packages
>> 8 -rw-r--r-- 1 root root 12288 2008-04-12 00:52 Providename
>> 8 -rw-r--r-- 1 root root 12288 2008-04-19 22:21 Pubkeys
>> root at tesis:/var/lib/rpm# rm __db.00*
>> root at tesis:/var/lib/rpm# rpm --rebuilddb
>> root at tesis:/var/lib/rpm# rpm -qa
>> root at tesis:/var/lib/rpm#
>>
>>
Strange, on my system all of the files in this directory besides the db
files are owned by rpm with a group of rpm. I'd bet that is your problem.
Vicki
More information about the users
mailing list