Date: Wed, 3 Sep 2003 18:06:23 +0300 From: Peter Pentchev <roam@ringlet.net> To: freebsd-arch@freebsd.org Subject: Re: (proposal) new flag for pkg_delete Message-ID: <20030903150623.GT707@straylight.oblivion.bg> In-Reply-To: <20030903144734.GZ47671@procyon.firepipe.net> References: <20030903143948.GA61515@gattaca.yadt.co.uk> <20030903144734.GZ47671@procyon.firepipe.net>
next in thread | previous in thread | raw e-mail | index | archive | help
[-- Attachment #1 --] On Wed, Sep 03, 2003 at 07:47:34AM -0700, Will Andrews wrote: > On Wed, Sep 03, 2003 at 03:39:48PM +0100, David Taylor wrote: > > It fails to mention that if -f is specified it will also delete any files > > where the MD5 checksum is incorrect. I have now been repeatedly bitten by > > portupgrade wiping my configuration information because it specifies -f > > (as it must, in order to remove packages which are still 'in use' by other > > packages). > > Wrong way to fix the problem. Make the ports install sample > config files and only add those to the plist, not the actual ones. Exactly. Look at www/apache13/pkg-plist for an example (of course, there are lots of others, this is just the example I come across most often). G'luck, Peter -- Peter Pentchev roam@ringlet.net roam@sbnd.net roam@FreeBSD.org PGP key: http://people.FreeBSD.org/~roam/roam.key.asc Key fingerprint FDBA FD79 C26F 3C51 C95E DF9E ED18 B68D 1619 4553 I am not the subject of this sentence. [-- Attachment #2 --] -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.3 (FreeBSD) iD8DBQE/VgNv7Ri2jRYZRVMRAm8GAKC/yYWC/gJItPwsLq9ynr7a9pVVhwCeMv+u jE+C665N1mQG8aRUksuBms8= =+qpO -----END PGP SIGNATURE-----
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030903150623.GT707>
