rpm -qa without results
Michael Schwendt
mschwendt at gmail.com
Tue Apr 22 14:51:40 UTC 2008
On Tue, 22 Apr 2008 10:40:14 -0400 (EDT), vicki at thepenguin.org wrote:
> > 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.
Look at the size of the files! Ownership is not the problem. Around April
19th, the database was deleted and initialised. It's empty now.
--
Fedora release 8 (Werewolf) - Linux 2.6.23.15-137.fc8
loadavg: 4.35 4.39 3.77
More information about the users
mailing list