From owner-freebsd-ports@FreeBSD.ORG Fri Jan 23 12:07:31 2015 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id EC3C28F; Fri, 23 Jan 2015 12:07:31 +0000 (UTC) Received: from carrick.bishnet.net (carrick-mx.bishnet.net [IPv6:2a01:348:132:51::14]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client CN "carrick.bishnet.net", Issuer "Bishnet Certificate Authority" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id B1FF6ABD; Fri, 23 Jan 2015 12:07:31 +0000 (UTC) Received: from carrick-users.bishnet.net ([192.168.51.10]) by carrick.bishnet.net with esmtps (TLSv1:DHE-RSA-AES256-SHA:256) (Exim 4.85 (FreeBSD)) (envelope-from ) id 1YEd1N-0004Li-Kj; Fri, 23 Jan 2015 12:07:29 +0000 Received: (from tdb@localhost) by carrick-users.bishnet.net (8.14.7/8.14.7/Submit) id t0NC7TLN016721; Fri, 23 Jan 2015 12:07:29 GMT (envelope-from tim@bishnet.net) X-Authentication-Warning: carrick-users.bishnet.net: tdb set sender to tim@bishnet.net using -f Date: Fri, 23 Jan 2015 12:07:29 +0000 From: Tim Bishop To: Matthew Seaman Subject: Re: strange pkg upgrade problems Message-ID: <20150123120729.GF32891@carrick-users.bishnet.net> References: <201501230759.t0N7x39x068396@gw.catspoiler.org> <54C2036E.1040101@FreeBSD.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable In-Reply-To: <54C2036E.1040101@FreeBSD.org> X-PGP-Key: 0x6C226B37FDF38D55, http://www.bishnet.net/tim/tim-bishnet-net.asc X-PGP-Fingerprint: 4BD9 5F90 8A50 40E8 D26C D681 6C22 6B37 FDF3 8D55 User-Agent: Mutt/1.5.23 (2014-03-12) Cc: freebsd-ports@freebsd.org X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 23 Jan 2015 12:07:32 -0000 On Fri, Jan 23, 2015 at 08:16:46AM +0000, Matthew Seaman wrote: > On 23/01/2015 07:59, Don Lewis wrote: > > The EPERM errors seem to be kind of random. If I go and look at the > > "from" file for the rename() using "ls -lo", I see all sorts of random > > flags, like opaque, archive, uunlnk, etc. I booted single user and ran > > fsck, which came back totally clean. Then I used chflags -R to clear > > all the flags, did pkg upgrade again, and ran into the exact same > > problems. If I rerun pkg upgrade, it may fail on the same port again, > > ir it might pick another. I can go in an manually clear the flags, nuke > > the temporary file that pkg created and upgrade the failed package. I > > never had that fail. But running pkg upgrade without specifying a > > package will then fail elsewhere. >=20 > This has been fixed in pkg(8) GitHub, and the fix will appear in the > next release (1.4.7) due out within a few days. >=20 > https://github.com/freebsd/pkg/commit/93d1647d0b986e4c6ad317c4e9688678447= 7dcfe No, I don't think it has been fixed. The bug is here: https://github.com/freebsd/pkg/issues/1151 Looks like it still needs a bit more work. Tim. --=20 Tim Bishop http://www.bishnet.net/tim/ PGP Key: 0x6C226B37FDF38D55