Re: rpm install from rescue CD
- From: Michael Heiming <michael+USENET@xxxxxxxxxxxxxx>
- Date: Fri, 31 Mar 2006 07:39:45 +0200
In comp.os.linux.misc Bob Tennent <BobT@xxxxxxxxxxxxx>:
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
Actually you have to tell rpm where the rpmdb to use is,
(--dbpath). Iirc told you already to do so.
Good luck
[..]
--
Michael Heiming (X-PGP-Sig > GPG-Key ID: EDD27B94)
mail: echo zvpunry@xxxxxxxxxx | perl -pe 'y/a-z/n-za-m/'
#bofh excuse 283: Lawn mower blade in your fan need sharpening
.
- Follow-Ups:
- Re: rpm install from rescue CD
- From: Bob Tennent
- Re: rpm install from rescue CD
- 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
- rpm install from rescue CD
- Prev by Date: Re: Recommended distro for 486/96MB *no GUI* ?
- Next by Date: Re: Adobe Reader 7.0.5 fails in redhat 9
- Previous by thread: Re: rpm install from rescue CD
- Next by thread: Re: rpm install from rescue CD
- Index(es):
Relevant Pages
|