Date: Fri, 1 Jun 2007 01:22:36 +0200 (CEST) From: Stefan `Sec` Zehl <sec@42.org> To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/113207: portupgrade fails when /var/db/pkg changes Message-ID: <20070531232236.F22CBC475@ice.42.org> Resent-Message-ID: <200705312340.l4VNe2sm026938@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 113207 >Category: ports >Synopsis: portupgrade fails when /var/db/pkg changes >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Thu May 31 23:40:02 GMT 2007 >Closed-Date: >Last-Modified: >Originator: Stefan `Sec` Zehl >Release: FreeBSD 6.2-STABLE i386 >Organization: >Environment: System: FreeBSD ice 6.2-STABLE FreeBSD 6.2-STABLE #38: Sun Feb 25 09:20:09 CET 2007 root@ice:/export/obj/export/src/sys/ICE i386 using portupgrade version portupgrade-2.2.6_3,2 >Description: If /var/db/pkg is changed while portupgrade is running, portupgrade fails. >How-To-Repeat: use portupgrade to upgrade a port where compiling takes a long time. While portupgrade is compiling that port use another window to remove an unneeded port. (with pkg_delete <pkgname>) Even if the upgraded port is depenency-wise completely unrelated to the deleted port, portupgrade fails as soon as the compile finishes: ** Listing the failed packages (*:skipped / !:failed) ! net-p2p/amule2 (aMule-2.1.3_2) (Failed to rewrite /var/db/pkg/ffmpeg-devel-2007.04.29_2/+CONTENTS: No such file or directory - /var/db/pkg/ffmpeg-devel-2007.04.29_2/+CONTENTS) I think portupgrade shouldn't even try to touch this file. And earlier versions of portupgrade did NOT fail in such a way. >Fix: >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20070531232236.F22CBC475>