Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 3 Jul 2008 22:43:14 +0300
From:      Kostik Belousov <kostikbel@gmail.com>
To:        Sergey Matveychuk <sem@freebsd.org>
Cc:        Andrey Chernov <ache@nagual.pp.ru>, freebsd-ports@freebsd.org
Subject:   Re: portupgrade 2.4.4
Message-ID:  <20080703194314.GT17123@deviant.kiev.zoral.com.ua>
In-Reply-To: <20080703191547.GA89709@nagual.pp.ru>
References:  <486A3E30.7080101@FreeBSD.org> <20080703191547.GA89709@nagual.pp.ru>

next in thread | previous in thread | raw e-mail | index | archive | help

--1c4XeR3HBwmMPD2z
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Thu, Jul 03, 2008 at 11:15:47PM +0400, Andrey Chernov wrote:
> On Tue, Jul 01, 2008 at 06:24:48PM +0400, Sergey Matveychuk wrote:
> > Hi.
> >=20
> > After a long time when a new employment and real life(c) having eaten=
=20
> > all my time, a new version of portupgrade was released.
>=20
> The modifying _all_ packages +CONTENTS bug still present in this version=
=20
> (as in stable too):
>=20
> --->  Updating dependency info
> --->  Modifying /var/db/pkg/GeoIP-1.4.4/+CONTENTS
> ....
> --->  Modifying /var/db/pkg/xxkb-1.11/+CONTENTS
> --->  Modifying /var/db/pkg/zidrav-1.2.0/+CONTENTS
> --->  Modifying /var/db/pkg/zip-2.32/+CONTENTS
>=20

Additional note: modification of /var/db/pkg/*/+CONTENTS (or any
non-trivial subset of it) is quite dangerous. Once, I had a machine
paniced during portupgrade doing the pass of +CONTENTS files, and
due to SU, lost almost all of them. It would be helpful if +CONTENTS
file were backed up (e.g., moved to +CONTENTS.bak) instead of removed and
created.

--1c4XeR3HBwmMPD2z
Content-Type: application/pgp-signature
Content-Disposition: inline

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

iEYEARECAAYFAkhtK9EACgkQC3+MBN1Mb4imLACgrqDPOIPhcNHgtdERT5EREo0M
JQMAn2A7ppU4j+srIq7YLo9nVkO45/Lq
=gvCU
-----END PGP SIGNATURE-----

--1c4XeR3HBwmMPD2z--



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