[Bug 264445] www/chrome-gnome-shell: 10 .1_1 fails to upgrade when already installed: pkg: Fail to create temporary file: .../chro me_gnome_shell-0.0.0-py3.8.egg-info/.pkgtemp. PKG-INFO.GwuAebvj5fKz:Not a directory
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sun, 05 Jun 2022 17:09:56 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=264445 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, 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.