Date: Fri, 8 Feb 2008 00:23:33 -1000 From: Parv <parv@pair.com> To: Hans Lambermont <hans@lambermont.dyndns.org> Cc: freebsd-ports@freebsd.org Subject: Partially OT - Re: Upgrading the Installed package Message-ID: <20080208102333.GA10300@holstein.holy.cow> In-Reply-To: <20080207143247.GB53709@leia.lambermont.dyndns.org> References: <1563a4fd0802052211h623de132q68a1ad0c8a9b930c@mail.gmail.com> <230174700802060040x4f2a0815r1a4bdc7fccf62b5d@mail.gmail.com> <20080206095133.GA94134@eos.sc1.parodius.com> <20080206110215.T2130@wojtek.tensor.gdynia.pl> <1563a4fd0802060239t16e539adn784001d75f9d1d02@mail.gmail.com> <20080206114113.GA95591@eos.sc1.parodius.com> <20080207143247.GB53709@leia.lambermont.dyndns.org>
next in thread | previous in thread | raw e-mail | index | archive | help
in message <20080207143247.GB53709@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 --
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20080208102333.GA10300>