[plug] RPM

Steve Vertigan vertigan at bigfoot.com
Fri Jan 12 17:03:00 WST 2001


Jon Miller wrote:
> 
> Anyone know how to install RPM (actual) program after it has been accidentlt erase? Seems like a chicken and egg situation.

Do you have your distribution CD handy?  One way that should work would
be to boot off your cd as a rescue disk (or any other rescue disk that
includes rpm), then mount your / partition as, say, /mnt/disk then do
# rpm --root /mnt/disk -i <rpmpackagefile>

'cept this requires that /usr and /var is under your / partition and not
a separate partition.  Otherwise maybe you could check out Redhats site
and see if they have a source distribution that you can compile
yourself.  You might want to back up your rpm directory (on my system
/var/lib/rpm) as well to ensure your existing package configuration's
aren't lost though you'd hope the install programs will pick this up.

HTH,
Steve

-- 
FreeBSD maestro.dhis.org 3.4-STABLE i386
 4:50PM  up 10 days, 18:34, 3 users, load averages: 0.12, 0.05, 0.01
"But I don't like Spam!!!!"



More information about the plug mailing list