Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 23 Jan 2015 08:16:46 +0000
From:      Matthew Seaman <matthew@FreeBSD.org>
To:        freebsd-ports@freebsd.org
Subject:   Re: strange pkg upgrade problems
Message-ID:  <54C2036E.1040101@FreeBSD.org>
In-Reply-To: <201501230759.t0N7x39x068396@gw.catspoiler.org>
References:  <201501230759.t0N7x39x068396@gw.catspoiler.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?54C2036E.1040101>