Date: Thu, 03 Jul 2008 23:52:27 +0400 From: Sergey Matveychuk <sem@FreeBSD.org> To: Kostik Belousov <kostikbel@gmail.com> Cc: Andrey Chernov <ache@nagual.pp.ru>, freebsd-ports@freebsd.org Subject: Re: portupgrade 2.4.4 Message-ID: <486D2DFB.4000901@FreeBSD.org> In-Reply-To: <20080703194314.GT17123@deviant.kiev.zoral.com.ua> References: <486A3E30.7080101@FreeBSD.org> <20080703191547.GA89709@nagual.pp.ru> <20080703194314.GT17123@deviant.kiev.zoral.com.ua>
next in thread | previous in thread | raw e-mail | index | archive | help
Kostik Belousov пишет: > 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. portupgrade copy a work file in temp one, and move back with changes. I'm not sure /var/db/pkg/*/ is a good place for backups. -- Dixi. Sem.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?486D2DFB.4000901>