From owner-freebsd-ports@FreeBSD.ORG Fri Jan 23 08:17:16 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 183F0FFC for ; Fri, 23 Jan 2015 08:17:16 +0000 (UTC) Received: from smtp.infracaninophile.co.uk (smtp6.infracaninophile.co.uk [IPv6:2001:8b0:151:1:3cd3:cd67:fafa:3d78]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "smtp.infracaninophile.co.uk", Issuer "ca.infracaninophile.co.uk" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 99456DEA for ; Fri, 23 Jan 2015 08:17:15 +0000 (UTC) Received: from seedling.black-earth.co.uk (seedling.black-earth.co.uk [81.2.117.99]) (authenticated bits=0) by smtp.infracaninophile.co.uk (8.15.1/8.15.1) with ESMTPSA id t0N8GurM092754 (version=TLSv1.2 cipher=DHE-RSA-AES128-SHA bits=128 verify=NO) for ; Fri, 23 Jan 2015 08:17:03 GMT (envelope-from matthew@FreeBSD.org) Authentication-Results: smtp.infracaninophile.co.uk; dmarc=none header.from=FreeBSD.org DKIM-Filter: OpenDKIM Filter v2.9.2 smtp.infracaninophile.co.uk t0N8GurM092754 Authentication-Results: smtp.infracaninophile.co.uk/t0N8GurM092754; dkim=none reason="no signature"; dkim-adsp=none; dkim-atps=neutral Message-ID: <54C2036E.1040101@FreeBSD.org> Date: Fri, 23 Jan 2015 08:16:46 +0000 From: Matthew Seaman User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.10; rv:31.0) Gecko/20100101 Thunderbird/31.4.0 MIME-Version: 1.0 To: freebsd-ports@freebsd.org Subject: Re: strange pkg upgrade problems References: <201501230759.t0N7x39x068396@gw.catspoiler.org> In-Reply-To: <201501230759.t0N7x39x068396@gw.catspoiler.org> Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="APKPfOd8mhfXxf3O6A354LEajCQr1fQs2" X-Virus-Scanned: clamav-milter 0.98.5 at lucid-nonsense.infracaninophile.co.uk X-Virus-Status: Clean X-Spam-Status: No, score=-2.7 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00, URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.0 X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on lucid-nonsense.infracaninophile.co.uk 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 08:17:16 -0000 This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --APKPfOd8mhfXxf3O6A354LEajCQr1fQs2 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable 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, nuk= e > 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. 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. https://github.com/freebsd/pkg/commit/93d1647d0b986e4c6ad317c4e9688678447= 7dcfe Cheers, Matthew --=20 Dr Matthew J Seaman MA, D.Phil. PGP: http://www.infracaninophile.co.uk/pgpkey --APKPfOd8mhfXxf3O6A354LEajCQr1fQs2 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG/MacGPG2 v2.0.20 (Darwin) iQJ8BAEBCgBmBQJUwgN4XxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXQ2NTNBNjhCOTEzQTRFNkNGM0UxRTEzMjZC QjIzQUY1MThFMUE0MDEzAAoJELsjr1GOGkATESEP/jUTjoUGQzHE6TUQHFw0oPjN h/Ce8bh7eQuht2lGiXanCKpNfYEzRCZrMs/q1sJTpXxFGHTjYS9f6zo4Z8twcP+c JNfnKjttCooGHegZcCye9kO7+elJLKSCftEP3EAQih51uWFBkjjMmbezgPLNhm2h Mfl+Bw8nogXvPcs/BMLWLgD6zk6wR4aPNyLZYml4SG91eETVSTS0E0Fw+xRRkyJG qNN65m2vR4mIisGDrOuFgJauuyVOih0wJT/YHqDvfHR2wwmUgTDIx6Iew0I+sFxn e2q0owPefrpsLhId6tuQPDFkn2fsrcOIDHqLL6mXZZmpQk7KHPAM6s1POzOmF3F9 kNAjV7MPu7Wr+FU7BHVO5zt6EgZ6cTYSM8Qy194etgEPdOmwEmgtAfwkkaGCU1lK DSZzW0wqbVZqOl6wQtq5af9gh+ZwgZcFGayrXJh3qwaGlsLQFwhCzxF78YzzUEot UWFvGszRJ12QEV/sOAwTyzwRp2CQIhv1H52L/rYTMj8SkIhCRgMawo1Tiqg1TXWo NwU6zB0QEMSFk0Bzqbt9d7nhVQclj9K93zNN94zgwfWvKB1yUkEXtFHJs8eMonbr M0HXRaxPoQ2gtaU7qsE5oXdRk7ka9GiVt9rAHTX3fAnZI3FTUX4xf8xx3LEbsgON kaZa9C+rODtmEnOxuWzj =jgxe -----END PGP SIGNATURE----- --APKPfOd8mhfXxf3O6A354LEajCQr1fQs2--