https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=264445

Baptiste Daroussin <[email protected]> changed:

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

--- Comment #6 from Baptiste Daroussin <[email protected]> ---
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, then
if everything went right it renames all those files into its final definition;
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 file
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 seamlessly
after pkg 1.18 is out (currently in rc2).

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

Reply via email to