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.
> > 
> > After a long time when a new employment and real life(c) having eaten 
> > all my time, a new version of portupgrade was released.
> 
> The modifying _all_ packages +CONTENTS bug still present in this version 
> (as in stable too):
> 
> --->  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
> 

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.

Attachment: pgp0IxhqiAII4.pgp
Description: PGP signature

Reply via email to