Re: rpm install from rescue CD
- From: Bob Tennent <BobT@xxxxxxxxxxxxx>
- Date: 31 Mar 2006 00:41:18 GMT
On Thu, 30 Mar 2006 23:38:35 GMT, SINNER wrote:
* Bob Tennent wrote in comp.os.linux.misc:
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
What can be done?
When you boot a rescue CD it mounts the filesystem on the rescue CD as
your root. RPM is trying to create a lock on read only media. You need
to chroot the fixed disk / and rerun the command.
Thanks for replying. chroot wouldn't work because nothing on the system
can be run without a loader. It turns out that I just have to
mkdir -p /var/lib/rpm
and I guess that's in RAM, at least for the Fedora Core 4 install disk.
Bob T.
.
- Follow-Ups:
- Re: rpm install from rescue CD
- From: Michael Heiming
- Re: rpm install from rescue CD
- References:
- rpm install from rescue CD
- From: Bob Tennent
- Re: rpm install from rescue CD
- From: SINNER
- rpm install from rescue CD
- Prev by Date: Re: rpm install from rescue CD
- Next by Date: CK-ERP (Open Source ERP/CRM Software) v.0.18.1 released
- Previous by thread: Re: rpm install from rescue CD
- Next by thread: Re: rpm install from rescue CD
- Index(es):
Relevant Pages
|