Re: How to upgrade RPM?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, 23 Jun 2004, Scot Mc Pherson wrote:

> On Wednesday 23 June 2004 08:53 am, James Olin Oden wrote:
> > On Tue, 22 Jun 2004, Scot Mc Pherson wrote:
> > > How does one upgrade RPM or GLIBC or other runtime dependency while using
> > > RPM to do it?
> >
> > With rpm (-;.  For instance, when I am hacking away at RPM, and I have
> > decided what I have done should be OK, on my test system, I'lll do:
> >
> > 	rpm -Uvh rpm-$ver-$rel.i386.rpm rpm-devel-$ver-$rel.i386.rpm
> > rpm-build-$ver-$rel.i386.rpm popt-$ver2-$rel.i386.rpm
> >
> > replacing the $ver, $ver1, and $rel with real versions and realeas.
> >
> > Cheers...james
> 
> You don't have any issues with the software locking up because runtime libs 
> a$ren't available between uninstallation and installation?
Nope.  I upgrade rpm quite a bit, both in production and non-production 
environments, and have not seen this issue.  Now I have stupidly tried to 
upgrade it one time before thoughrly testing a patch, and had a borked 
system (-;  Oh, wait I just noticed your comment "uninstallation and 
installation"; that is the point you are misunderstanding perhaps.  RPM
when it does an upgrade, first installs the new software, and then erases 
only the files from the old software that did not belong to the new 
package.  Also, as long as rpm stays resident in memory the entire time,
any libraries it is using will remain the old versions until it exits. 


>  Last time I tried this was with 4.1, perhaps things have changed?  I need to 
> try it I guess. Of course that means I have rpm-4.1 running on this system 
> and have built rpms and the runtime chain for rpm-4.3.2 and want to upgrade 
> using rpm and not just $ make install
> 
The other way you could do this, if there was a problem with that version 
of rpm (don't know if there was) is boot from RH/Fedora media and go into 
rescue mode.  Once in there you can install your new rpm using the rpm 
that is on the media (will need to use the --root option with rpm).

Cheers...james 


_______________________________________________
Rpm-list mailing list
Rpm-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/rpm-list

[Index of Archives]     [RPM Ecosystem]     [Linux Kernel]     [Red Hat Install]     [PAM]     [Red Hat Watch]     [Red Hat Development]     [Red Hat]     [Gimp]     [Yosemite News]     [IETF Discussion]

  Powered by Linux