Re: rpm install from rescue CD
- From: Bob Tennent <BobT@xxxxxxxxxxxxx>
- Date: 31 Mar 2006 13:06:25 GMT
On Fri, 31 Mar 2006 07:39:45 +0200, Michael Heiming wrote:
rpm -U --replacepkgs --root /mnt/sysimage glibc*
and am getting
error: can't create transaction lock on /var/lib/rpm/_db.000
It turns out that I just have to
mkdir -p /var/lib/rpm
Actually you have to tell rpm where the rpmdb to use is,
(--dbpath).
Well --root /mnt/sysimage does that but it seems the transaction lock
code in rpm doesn't pay attention and is using /var/lib/rpm regardless.
The version of rpm on the CD doesn't even recognize the --dbpath option
and in any case there would be no rpm database at /var/lib/rpm for it to
use. Creating the directory just gives the transaction-lock code a place
to put the lock.
Bob T.
.
- References:
- rpm install from rescue CD
- From: Bob Tennent
- Re: rpm install from rescue CD
- From: SINNER
- Re: rpm install from rescue CD
- From: Bob Tennent
- Re: rpm install from rescue CD
- From: Michael Heiming
- rpm install from rescue CD
- Prev by Date: Securing a linux box for online shopping? TIA
- Next by Date: procedure how to find out(before buying) if Knoppix supports that WLAN Card?
- Previous by thread: Re: rpm install from rescue CD
- Next by thread: CK-ERP (Open Source ERP/CRM Software) v.0.18.1 released
- Index(es):
Relevant Pages
|