Re: rpm from rescue CD

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

 



On Thu, 2006-03-30 at 22:59 +0100, Luciano Miguel Ferreira Rocha wrote:
> On Thu, Mar 30, 2006 at 04:50:46PM -0500, Jeff Johnson wrote:
> > 
> > On Mar 30, 2006, at 3:50 PM, Bob Tennent 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?
> > >
> > 
> > Doing
> >     mkdir /var/lib/rpm
> > probably resolves the problem.
> 
> Shouldn't that be  /mnt/sysimage/var/lib/rpm?
> 
> (And I presume /mnt/sysimage was mounted rw.)

bind mount /mnt/sysimage/var/lib/rpm to /var/lib/rpm outside the root.

Paul

_______________________________________________
Rpm-list mailing list
Rpm-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/rpm-list

[Index of Archives]     [RPM Ecosystem]     [Linux Kernel]     [Red Hat Install]     [PAM]     [Red Hat Watch]     [Red Hat Development]     [Red Hat]     [Gimp]     [Yosemite News]     [IETF Discussion]

  Powered by Linux