[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
Re: rpm from rescue CD
- From: "James Olin Oden" <james oden gmail com>
- To: "RPM Package Manager" <rpm-list redhat com>
- Subject: Re: rpm from rescue CD
- Date: Fri, 31 Mar 2006 08:34:59 -0500
On 3/30/06, Bob Tennent <rdtennent hotmail com> wrote:
> I'm trying to use rpm from the 1st install CD of FC4. I'm trying to
> re-install glibc packages that didn't get installed properly leaving the
> system without ld. I've tried the following:
>
> rpm -U --replacepkgs --root /mnt/sysimage glibc*
>
> and am getting
>
> error: can't create transaction lock on /var/lib/rpm/_db.000
>
> I've tried adding --dbpath /mnt/sysimage/var/lib/rpm but rpm isn't
> recognizing that option. What should I do?
>
Just a note certain options of rpm running in the installer
environment do not work.
These are typically options defined by the popt config that ships with
rpm (such as --dbpath). If you look at this config on an installed
system you will usually see that it is defining some macro (certainly
this is the case with --dbpath). So for instance you would replace
--dbpath with "--define _dbpath /mnt/sysimage/usr/lib/rpm' as seen
from the file /usr/lib/rpmpopt-$ver.
I don't know if this will solve your specific problem, but its
definately something to know about when running rpm directly in the
anaconda environment.
Cheers...james
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]