[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: Help with RPM rebuilddb



On Sat, 23 Sep 2006, Myles Green wrote:

On Sat, 23 Sep 2006 15:18:29 -0700
"Ian Burrell" <ianburrell gmail com> wrote:

You said "delete the rpm db".  The rpm db is everything in
/var/lib/rpm.  Your comment is at best ambiguous and if interpreted
incorrectly can lead catastrophe.  It is best to be clear when that is
a possibility.

My mistake, I always understood it to mean the __db.xxx file(s)
inside /var/lib/rpm/. I'll be more concise next time :)

For the record the /var/lib/rpm/__db* files are the lock files. The other files
as shown below are the rpmdb files. As I said in an earlier post NEVER delete the rpmdb files.

(tigger pts2) $ ll /var/lib/rpm
total 60852
-rw-r--r-- 1 rpm  rpm   5632000 Sep 20 09:12 Basenames
-rw-r--r-- 1 rpm  rpm     12288 Sep 15 14:03 Conflictname
-rw-r--r-- 1 rpm  rpm   2392064 Sep 20 09:12 Dirnames
-rw-r--r-- 1 rpm  rpm  10489856 Sep 20 09:12 Filemd5s
-rw-r--r-- 1 rpm  rpm     28672 Sep 20 09:12 Group
-rw-r--r-- 1 rpm  rpm     28672 Sep 20 09:12 Installtid
-rw-r--r-- 1 rpm  rpm     49152 Sep 20 09:12 Name
-rw-r--r-- 1 rpm  rpm  43819008 Sep 20 09:12 Packages
-rw-r--r-- 1 rpm  rpm    331776 Sep 20 09:12 Providename
-rw-r--r-- 1 rpm  rpm    131072 Sep 20 09:12 Provideversion
-rw-r--r-- 1 rpm  rpm     12288 Jul  9 16:11 Pubkeys
-rw-r--r-- 1 rpm  rpm    434176 Sep 20 09:12 Requirename
-rw-r--r-- 1 rpm  rpm    253952 Sep 20 09:12 Requireversion
-rw-r--r-- 1 rpm  rpm     98304 Sep 20 09:12 Sha1header
-rw-r--r-- 1 rpm  rpm     86016 Sep 20 09:12 Sigmd5
-rw-r--r-- 1 rpm  rpm     12288 Sep 15 14:03 Triggername
-rw-r--r-- 1 root root        0 Sep 15 11:07 __db.000
-rw-r--r-- 1 root root    24576 Sep 15 04:07 __db.001
-rw-r--r-- 1 root root  1318912 Sep 15 04:07 __db.002
-rw-r--r-- 1 root root   450560 Sep 15 04:07 __db.003
(tigger pts2) $

Regards,

--
Tom Diehl		tdiehl rogueind com		Spamtrap address mtd123 rogueind com


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]