On Mon, 2002-07-15 at 19:29, Sachin wrote:
hi there while i was upgrading rpm pakage from rpm-4.0.2x i removed rpm of previos version now i can install newer version please tell me how to isntall rpm package do i have to install it from a tarball thanx for u r suggestion in advance sachin
Hi,
You might try this, I am not sure whether this will work.
use rpm2cpio utility, it looks statically linked and won't require rpm libs.
# rpm2cpio rpm-4.0.2x.rpm rpm4.cpio
now extract file from this cpio archive
# cpio -i --make-directories < rpm4.cpio
This will create a hierarchy of directories starting with ./usr, ./bin, etc.
now copy these files to apropriate place on the system.
now see if you can upgrade your rpm with rpm -Uvh rpm4.0.rpm.
let us know if this works,
Rajesh