portupgrade 2.4.4

Kostik Belousov kostikbel at gmail.com
Thu Jul 3 19:43:28 UTC 2008


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.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 195 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-ports/attachments/20080703/21e57b89/attachment.pgp


More information about the freebsd-ports mailing list