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
On Tue, 16 Jul 2002, Sachin wrote:
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
why oh why did you remove rpm? this is something that you should never do on a redhat system. that's the reason there is a -U flag - for upgrading.
to upgrade rpm, do rpm -Uvh rpm-package-name.rpm
but first you'll have to get some version of rpm installed.
Hi sachin, You will have to get the rpm source and then compile it and install it man . As simple as that..... Enjoy LINUX Tapesh 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
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