Re: rpm install from rescue CD



* 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?

Bob T.

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.
--
David
A door is what a dog is perpetually on the wrong side of.
-- Ogden Nash
.



Relevant Pages

  • Re: external HDD
    ... all ran smoothly BUT now it won't let me boot up. ... RH/Fedora while using the rescue image and it should be mounted ... about patches installed and the fact that almost none ever ... It doesn't let me install them manually. ...
    (comp.os.linux.misc)
  • Re: Flash Drive As "Drive A:"
    ... There is a way to make a bootable Windows rescue disc. ... This is like a BartPE CD on steroids. ... backingup hardisks using USB Hard-drives. ... Using floppy drive to boot DOS or programs is very slow. ...
    (microsoft.public.windowsxp.general)
  • Re: external HDD
    ... all ran smoothly BUT now it won't let me boot up. ... RH/Fedora while using the rescue image and it should be mounted ... The suse rescue didn't like that. ... installs any patch, you haven't installed a single one? ...
    (comp.os.linux.misc)
  • RE: /bin/sh: ro: No such file or directory Kernel panic - not syncing; Attempted to kill init
    ... I'd boot from the rescue cd, mount your partition then chroot to it. ... Nevendon Hall, Nevendon Road, Basildon, Essex. ... Registered Office as above. ...
    (Fedora)
  • Re: Need Help - Reconfigure LILO from rescue CD
    ... lilo.conf & applying the new settings while booted from a rescue cd. ... etc as the boot & root partitions on the ... I get a kernel panic when booting as lilo ... "A personal computer is called a personal computer because it's yours, ...
    (comp.os.linux.setup)