[Yum] old code questions
Gallie, Keith
Keith.Gallie at amd.com
Wed Aug 1 15:36:34 UTC 2007
KG > Thank you. We've actually discovered mutiple rpm databases on our
systems...
Seth > That's.... odd.
You don't know the half of it...
There is the venerable /var/lib/rpm
kgallie 539> l /var/lib/rpm
total 76868
-rw-r--r-- 1 root root 663552 Feb 14 17:03 __db.003
-rw-r--r-- 1 root root 1318912 Feb 14 17:03 __db.002
-rw-r--r-- 1 root root 16384 Feb 14 17:03 __db.001
-rw-r--r-- 1 rpm rpm 12288 Feb 20 06:38 Conflictname
-rw-r--r-- 1 rpm rpm 12288 Aug 1 03:43 Triggername
-rw-r--r-- 1 rpm rpm 86016 Aug 1 03:43 Sigmd5
-rw-r--r-- 1 rpm rpm 176128 Aug 1 03:43 Sha1header
-rw-r--r-- 1 rpm rpm 208896 Aug 1 03:43 Requireversion
-rw-r--r-- 1 rpm rpm 393216 Aug 1 03:43 Requirename
-rw-r--r-- 1 rpm rpm 12288 Aug 1 03:43 Pubkeys
-rw-r--r-- 1 rpm rpm 114688 Aug 1 03:43 Provideversion
-rw-r--r-- 1 rpm rpm 663552 Aug 1 03:43 Providename
-rw-r--r-- 1 rpm rpm 56676352 Aug 1 03:43 Packages
-rw-r--r-- 1 rpm rpm 45056 Aug 1 03:43 Name
-rw-r--r-- 1 rpm rpm 20480 Aug 1 03:43 Installtid
-rw-r--r-- 1 rpm rpm 32768 Aug 1 03:43 Group
-rw-r--r-- 1 rpm rpm 10514432 Aug 1 03:43 Filemd5s
-rw-r--r-- 1 rpm rpm 1708032 Aug 1 03:43 Dirnames
-rw-r--r-- 1 rpm rpm 10641408 Aug 1 03:43 Basenames
There is /usr/lib/rpmdb/x86_64-redhat-linux/redhat
-rw-r--r-- 1 root root 24576 Jul 12 2006 Triggername
-rw-r--r-- 1 root root 98304 Jul 12 2006 Sigmd5
-rw-r--r-- 1 root root 106496 Jul 12 2006 Sha1header
-rw-r--r-- 1 root root 196608 Jul 12 2006 Requireversion
-rw-r--r-- 1 root root 368640 Jul 12 2006 Requirename
-rw-r--r-- 1 root root 24576 Jul 12 2006 Pubkeys
-rw-r--r-- 1 root root 106496 Jul 12 2006 Provideversion
-rw-r--r-- 1 root root 327680 Jul 12 2006 Providename
-rw-r--r-- 1 root root 49152 Jul 12 2006 Name
-rw-r--r-- 1 root root 32768 Jul 12 2006 Installtid
-rw-r--r-- 1 root root 24576 Jul 12 2006 Group
-rw-r--r-- 1 root root 10510336 Jul 12 2006 Filemd5s
-rw-r--r-- 1 root root 1474560 Jul 12 2006 Dirnames
-rw-r--r-- 1 root root 24576 Jul 12 2006 Conflictname
-rw-r--r-- 1 root root 10534912 Jul 12 2006 Basenames
-rw-r--r-- 1 root root 50298880 Jul 12 2006 Packages
-rw------- 1 root root 663552 Aug 1 03:43 __db.003
-rw------- 1 root root 1318912 Aug 1 03:43 __db.002
-rw------- 1 root root 16384 Aug 1 03:43 __db.001
What REALLY scares me is that the __db.00* files in the redhat directory
have the same dates as all the other files in /var/lib/tmp. Cool, huh?
Somehow that just doesn't seem right...
DISCLAIMER: Note that I am NOT a sys admin. I'm a CAD guy. I am trying
use rpm and yum to distribute s/w packages (subscribable and required)
across our sites. I don't want to involve sys admin. I tracked down
issues with yum 2.0.8 and rpm 4.2.3 to an error message of >> "error:
cannot open Basenames index using db3 - No such file or directory
(2)"Segmentation fault << coming out of a shared lib in librpmdb-4.2.so.
I decided to PUNT on that old crap and get some new crap. I have
requested rpm 4.4.2.1 be loaded up and I'll have to hack on yum 3.2.2 to
remove the root user requirement. I know it's a little late for the
question but is that a good combo?
Furthermore does python 2.4+ include 2.5? I've had some python lawyers
around here tell me "NO", the python 2.4+ means python 2.4.* and does
not include 2.5.
More information about the Yum
mailing list