Subject: Re: Package Pain Prevention Procedure
To: None <firstname.lastname@example.org>
From: Laurent DAVERIO <email@example.com>
Date: 09/08/2004 17:31:44
This is an OpenPGP/MIME signed message (RFC 2440 and 3156)
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
> The reason I ask is that I have struggled for the last two years to find easy but good ways to update all the packages on my system without losing those that don't build (it's no fun to restart apache only to realize it's no longer installed). I have read about many different methods which seem to work, but couldn't find one that was simple enough that I trusted myself not to futz it up.
Funny, I hade the exact same surprise the first time I used "make
upgrade" on Apache... :-/
I'm sure it has been discussed here before, but the way "portupgrade" (a
very handy Ruby script written for the FreeBSD Ports) handles this
situation is to create a temporary tarball of the old files just before
the "make deinstall / make reinstall" phase, and restore them from the
tarball if "make reinstall" returned an error. It should be possible to
borrow ideas (or code) from here...
Centre de Recherche en Informatique
de l'École Nationale Supérieure des Mines de Paris (CRI-ENSMP)
35, Rue Saint-Honoré
77305 FONTAINEBLEAU CEDEX
FRANCE Tel: (+33|0) 126.96.36.199.37
Fax: (+33|0) 188.8.131.52.47
La Page Trad : http://trad.org/
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="signature.asc"
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (Darwin)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org
-----END PGP SIGNATURE-----