Subject: Re: CVS commit: src/distrib/sets
To: Greg Troxel <gdt@ir.bbn.com>
From: Laurent DAVERIO <daverio@cri.ensmp.fr>
List: tech-pkg
Date: 11/12/2004 16:57:10
This is an OpenPGP/MIME signed message (RFC 2440 and 3156)
--------------enig3361FB3A427E228AE3B9B750
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 8bit

Greg Troxel wrote:
>   fwiw, it's *extremely* convenient to be able to rm -rf /usr/pkg and
>   /var/db/pkg and start from scratch, on any pkgsrc system, anywhere.
> 
> I agree, and I do this, but usually 'pkg_delete -r \*', and then
> delete crud from /usr/pkg, saving etc.

IMHO, the mere idea that it may be desirable to rm -rf /usr/pkg and rebuild it 
completely, makes me think that there must be something flawed with the pkgsrc 
system - not *fundamentally* flawed, but at least very incomplete.

I've been administering several FreeBSD servers for the last three years, and 
"portupgrade" (not a part of the base FreeBSD port system, I know) helped me a 
lot. In these three years, I've never had to rebuild my ports from scratch, so 
the idea seems very unnatural to me. I cannot even start to imagine deleting 500 
installed packages from a server, and telling my users to wait a couple of weeks 
till everything is recompiled and working again.

I should add that I've been bitten rather badly by "make update" in pkgsrc (as a 
consequence of which I'm currently unable to reinstall xpm on one Solaris 8 
server), because it starts by deleting a port and its dependencies, without 
first making sure that it will be able to install the new versions or restore 
the old ones.

But I agree that I am not a pkgsrc expert, as I tried it, with more or less 
success, only on thre "exotic" platforms (Solaris 7, Solaris 8, AIX 5). Just my 
2 cents...

Laurent.

-- 

     Laurent DAVERIO
     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) 1.64.69.48.37
                                          Fax:    (+33|0) 1.64.69.48.47
                                          E-mail: laurent@daverio.net
                                          http://daverio.net/
					 La Page Trad : http://trad.org/



--------------enig3361FB3A427E228AE3B9B750
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.6 (Darwin)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFBlN1aEevWK0aUuN4RAi3PAKCylCWdUGwgUMfg8l4dJD2f0yXQmQCfVDwT
HwbBWjDELMc9ZO/dQKrkOn8=
=qUh3
-----END PGP SIGNATURE-----

--------------enig3361FB3A427E228AE3B9B750--