Partially OT - Re: Upgrading the Installed package
Parv
parv at pair.com
Fri Feb 8 02:22:00 PST 2008
in message <20080207143247.GB53709 at leia.lambermont.dyndns.org>,
wrote Hans Lambermont thusly...
>
> Jeremy Chadwick wrote:
> ...
> > The way you upgrade a port/package on a FreeBSD machine is that
> > you pkg_delete (deinstall) the old one before pkg_add'ing
> > (installing) the new one. All package management systems on
> > every platform I've used (Solaris, Linux, and FreeBSD) behave
> > this way.
>
> The dreadful RPM system does not work this way. It leaves the
> files that get no update untouched, adds new stuff next to them
> and then removes the obsoleted files. rpm -Uvv shows the upgrade
> behaviour :
>
> * Run %pre of new package (2)
> * Install new files
> * Run %post of new package (2)
> * Run %preun of old package (1)
> * Delete any old files not overwritten by newer ones
> * Run %postun of old package (1)
So, if anything makes the upgrade to halt after the 3d step, only
mess is left to clean up (if one is aware & willing)?
- Parv
--
More information about the freebsd-ports
mailing list