[Bug 256176] /usr/sbin/pkg: Fails with bogus error when run by unprivileged user: pkg: failed to extract pkg-static: Can't unlink already-existing object

From: <bugzilla-noreply_at_freebsd.org>
Date: Wed, 26 May 2021 20:44:15 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=256176

            Bug ID: 256176
           Summary: /usr/sbin/pkg: Fails with bogus error when run by
                    unprivileged user: pkg: failed to extract pkg-static:
                    Can't unlink already-existing object
           Product: Base System
           Version: 13.0-STABLE
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: bin
          Assignee: bugs@FreeBSD.org
          Reporter: yuri@freebsd.org

> $ /usr/sbin/pkg 
> The package management tool is not yet installed on your system.
> Do you want to fetch and install it now? [y/N]: y 
> Bootstrapping pkg from pkg+http://pkg.FreeBSD.org/FreeBSD:13:aarch64/quarterly, please wait...
> Verifying signature with trusted certificate pkg.freebsd.org.2013102301... done
> pkg: failed to extract pkg-static: Can't unlink already-existing object

-- 
You are receiving this mail because:
You are the assignee for the bug.