rpm -ivh takes long time to install kernel rpm

Steven Shiau steven at nchc.org.tw
Sat Oct 9 18:15:20 UTC 2004


Hi.
I am trying to install kernel-smp-2.6.8-1.521.i586.rpm into atypical
root directory (/tftpboot/node_root) for the diskless clients to use.
rpm version: rpm-4.3.1-0.3
OS: fedora core 2
The procedure I did is: 
---------------------
mkdir -p /tftpboot/node_root/var/lib/
rsync -a /var/lib/rpm /tftpboot/node_root/var/lib/
rpm -ivh -vvv  --root /tftpboot/node_root/ --force --nodeps --noscripts kernel-smp-2.6.8-1.521.i586.rpm
---------------------
However, it takes more than 30 minutes to finish this...
I also tried to use the rpm in the development (version: 4.3.2-10), the result is the same.
Does anybody encounter similar problem and know why ?

ps. The "rpm -ivh -vvv" spent most of its time in "D: opening  db index
/var/lib/rpm/Basenames create mode=0x42" like this:
--------------------------------------------------------------
...
Preparing...                D: computing file dispositions
D: opening  db index       /var/lib/rpm/Basenames create mode=0x42
--------------------------------------------------------------

-- 
Steven Shiau




More information about the fedora-list mailing list