Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 05 Jun 2022 17:09:56 +0000
From:      bugzilla-noreply@freebsd.org
To:        python@FreeBSD.org
Subject:   =?UTF-8?B?W0J1ZyAyNjQ0NDVdIHd3dy9jaHJvbWUtZ25vbWUtc2hlbGw6IDEw?= =?UTF-8?B?LjFfMSBmYWlscyB0byB1cGdyYWRlIHdoZW4gYWxyZWFkeSBpbnN0YWxsZWQ6?= =?UTF-8?B?IHBrZzogRmFpbCB0byBjcmVhdGUgdGVtcG9yYXJ5IGZpbGU6IC4uLi9jaHJv?= =?UTF-8?B?bWVfZ25vbWVfc2hlbGwtMC4wLjAtcHkzLjguZWdnLWluZm8vLnBrZ3RlbXAu?= =?UTF-8?B?UEtHLUlORk8uR3d1QWVidmo1Zkt6Ok5vdCBhIGRpcmVjdG9yeQ==?=
Message-ID:  <bug-264445-21822-LYxWcXOpde@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-264445-21822@https.bugs.freebsd.org/bugzilla/>
References:  <bug-264445-21822@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D264445

Baptiste Daroussin <bapt@FreeBSD.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|Open                        |In Progress

--- Comment #6 from Baptiste Daroussin <bapt@FreeBSD.org> ---
the upgrade failure is known and is currently a limitation of pkg (somehow)

when pkg do upgrade it first extract everything is a temporary file name, t=
hen
if everything went right it renames all those files into its final definiti=
on;
to avoid cross device issues, it extract preserving the path

/XXX/y/z becomes /XXX/y/.z.qkjsfmjmlj before getting renamed into the final
name.

The issue arise when in the previous version of the package /XXX/y was a fi=
le
because deletion of the previous files is done after the rename (to try to =
be
as atomic as possible).

I will work on a way to detect such issues and make pkg handle this seamles=
sly
after pkg 1.18 is out (currently in rc2).

--=20
You are receiving this mail because:
You are on the CC list for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-264445-21822-LYxWcXOpde>