From nobody Sun Sep 7 20:17:21 2025 X-Original-To: pkg@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4cKhFs2bzWz66j8F for ; Sun, 07 Sep 2025 20:17:21 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R12" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4cKhFs23LBz47VM for ; Sun, 07 Sep 2025 20:17:21 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1757276241; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=hnUf4BjhkHBDkjwShx0a5yWRV4ZuXOP9k2PuxVp2q5Q=; b=UIsigKnO1Xfjy8lWJcHJa6YQcNz0uqu2iF+Iw/P95Nfv8MlL5GFjGSaXnZa4QpRARDH6f1 gdgEl//9f1Lu+D8fBAzqhUAjdz/NiYOZKfACr0CeIhnK2LXS/xfEDTjCvzORiHwvDPtI93 5wbECsKHV1aERXHZbKyNFOSRyAVlO0gvyGmf/v/xtdFaVXUQb8e40LgRkuOid8RU9+C4nx /yyCVjetPcctCZ39PEUKdz/wj6fMyGEtq8rBF2v7M9+dwVN33/++jT8kUzkP89YlQBFCxA sn0vE/FGckEb1NEun2FeOdGyd/DJMyZYg068SqhaOvNm/RvMW4VOHBo4/tZWsg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1757276241; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=hnUf4BjhkHBDkjwShx0a5yWRV4ZuXOP9k2PuxVp2q5Q=; b=EjSa6rc3uYPdFNQi6spid3Mchp0i8pT8BmP4Hwd1ZQvo+TYRIB7qzZvYpbbxIIm9YkRkZ1 9nsaXYu6kwCfi4jRlxzIT47r6hJF775uqG2VfbYp3aBPhELu6oF28yYCca9U5WP/y0TfR1 Eab5fXABC6OnXtgTqdWDuqLSzCsUEEbWzWe8fDMsDHNfjwuSDWiSSZmkdEmTVV+Tm8l5Wb GtkH01A+onTV8JYkj+i2MJEaPlVL4EL7oPov8Cln35FcKMYLjaR+R2omSvI64cxd6JVZxS NksIHa8dj05VeV4vpllLRTdIHjJRLNXlBEwxCXqR79x/kmvHQ9fxIi7C0wTC9A== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1757276241; a=rsa-sha256; cv=none; b=x1EHegtBphyRRClmjkjz8RlH31pN/9amEMX0Go+EhmItwRJ4VYxciXD+PEmwVtB7lWlauM jzaZVa9+yBNb8mBqko2BaamD5sKUhdRwfzznV2Djh9mGJib5wuwBT/mWOPAZDP0bSJv93q HZOjYSTLWeofPI6g3LCxK/r1EQr9A6yH76K5Rh6GMG9Cb9UAtPJA/UlrGY4qZ2I6ieJo/m O0MKQzsTZB/efrhvGzSwWMBlBeHM8oNwBW2/eg5+L8bEHgzV0F2bYA4DHSyNEqMWl0StF8 tnfKo0aG7rCIH4dv5EfcSTWP/cSdGsliX61xKEybYa/73JuJLcmLYMQK0/E6Zw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4cKhFs1cC1zbf2 for ; Sun, 07 Sep 2025 20:17:21 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 587KHK5L013111 for ; Sun, 7 Sep 2025 20:17:20 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 587KHK1T013110 for pkg@FreeBSD.org; Sun, 7 Sep 2025 20:17:20 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: pkg@FreeBSD.org Subject: [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 Date: Sun, 07 Sep 2025 20:17:21 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: bin X-Bugzilla-Version: 13.0-STABLE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: p.mousavizadeh@protonmail.com X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: pkg@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc Message-ID: In-Reply-To: References: Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="UTF-8" X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Binary package management and package tools discussion List-Archive: https://lists.freebsd.org/archives/freebsd-pkg List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-pkg@FreeBSD.org MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D256176 Seyed Pouria Mousavizadeh Tehrani changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |p.mousavizadeh@protonmail.c | |om --- Comment #1 from Seyed Pouria Mousavizadeh Tehrani --- Same error after upgrading to 16-CURRENT: % pkg -d bootstrap -f=20=20=20=20=20 pkg: Warning: Major OS version upgrade detected. Running "pkg bootstrap -f" recommended pkg(8) is already installed. Forcing reinstallation through pkg(7). 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+https://pkg.FreeBSD.org/FreeBSD:16:amd64/latest, please wait... pkg: Error fetching https://pkg.FreeBSD.org/FreeBSD:16:amd64/latest/Latest/pkg.pkg: Not Found A pre-built version of pkg could not be found for your system. Bootstrapping pkg from pkg+https://pkg.FreeBSD.org/FreeBSD:16:amd64/kmods_latest, please wait... pkg: Error fetching https://pkg.FreeBSD.org/FreeBSD:16:amd64/kmods_latest/Latest/pkg.pkg: Not F= ound A pre-built version of pkg could not be found for your system. Bootstrapping pkg from https://pkg.spmzt.net/packages/FreeBSD:16:amd64, ple= ase wait... Verifying signature with public key /usr/local/etc/ssl/certs/poudriere.cert= .a.. done pkg: failed to extract pkg-static: Can't unlink already-existing object --=20 You are receiving this mail because: You are the assignee for the bug.=