Skip site navigation (1)Skip section navigation (2)
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

--vdqwC0msT4ilQ2it
Content-Type: text/plain; charset=windows-1251
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

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 fil=
es
> > 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 ot=
her
> > packages).
>=20
> 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

--=20
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.

--vdqwC0msT4ilQ2it
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.3 (FreeBSD)

iD8DBQE/VgNv7Ri2jRYZRVMRAm8GAKC/yYWC/gJItPwsLq9ynr7a9pVVhwCeMv+u
jE+C665N1mQG8aRUksuBms8=
=+qpO
-----END PGP SIGNATURE-----

--vdqwC0msT4ilQ2it--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030903150623.GT707>