[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
Re: Installing RPMs without booting normally
- From: Jesse Merriman <jessemerriman warpmail net>
- To: rpm-list redhat com
- Subject: Re: Installing RPMs without booting normally
- Date: Thu, 28 Aug 2003 14:16:36 -0400
Hi,
Nope, this doesn't work. I have no /mnt/sysimage or /mnt/mnt/sysimage
(since when you choose "mount exististing partitions under /mnt" in
Mandrake's rescue mode, my old / is under /mnt). Still any combination
of things I try give the same 2 errors as before:
error: cannot open Packages index using db3 - No such file or directory (2)
error: cannot open Packages database in /var/lib/rpm
-jdm
James Olin Oden wrote:
You need to chroot to /mnt/sysimage, and then all will be well. This of
course means that you would need to copy the rpm to
/mnt/sysimage/something.
On the other hand you can achieve the same thing by doing from the
non-chrooted environment:
rpm -Uvh --root /mnt/sysimage path_to_rpm
If your on RH 9 you will get an error message about not being able
to read the trigger index. If nothing is triggered on this package
then your fine (Jeff, if you read this, I think this is revealing
a bug with triggers and --root, but it could just be the verison of
rpm in the RH rescue environement; I saw this in the RHCE class last
week but forgot to mention it).
Cheers...james
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
[]