From nobody Tue May 18 08:38:42 2021 X-Original-To: bugs@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 4E5F53FEE6F for ; Tue, 18 May 2021 08:38:42 +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 "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4FkqCk0t3cz4Rpx for ; Tue, 18 May 2021 08:38:42 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) 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 EFF541C60A for ; Tue, 18 May 2021 08:38:41 +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 14I8cfrm014004 for ; Tue, 18 May 2021 08:38:41 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 14I8cfSd014003 for bugs@FreeBSD.org; Tue, 18 May 2021 08:38:41 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: bugs@FreeBSD.org Subject: [Bug 255967] ports-mgmt/pkg: pkg upgrade incorrectly reports "1 candidates" Date: Tue, 18 May 2021 08:38:42 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: misc X-Bugzilla-Version: Unspecified X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Many People X-Bugzilla-Who: tux2bsd@protonmail.com X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: bugs@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Bug reports List-Archive: http://lists.freebsd.org/bugs List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-bugs@freebsd.org MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D255967 Bug ID: 255967 Summary: ports-mgmt/pkg: pkg upgrade incorrectly reports "1 candidates" Product: Base System Version: Unspecified Hardware: Any OS: Any Status: New Severity: Affects Many People Priority: --- Component: misc Assignee: bugs@FreeBSD.org Reporter: tux2bsd@protonmail.com This is my first bug report but it is 100% verified, I just hope I've speci= fied the right pkg in the summary... >From my testing it is independent of architechture (aarch64 vs amd64) or FreeBSD release (13 vs 12.2).=20=20 Requires a fresh install of FreeBSD, then: pkg update pkg upgrade # will report: Checking for upgrades (1 candidates): 100% Processing candidates (1 candidates): 100% This should be 0 candidates. This incorrect number of candidates is the bu= g. pkg install -f pkg #This work around to get pkg behaving again. Verification: https://forums.freebsd.org/threads/pkg-upgrade-what-is-1-candidates-reprodu= cible.80139/ Fresh install immediately after pkg is bootstrapped. root@freebsd:~ # pkg update Updating FreeBSD repository catalogue... Fetching packagesite.txz: 100% 6 MiB 321.6kB/s 00:19=20=20=20=20 Processing entries: 100% FreeBSD repository update completed. 28975 packages processed. All repositories are up to date. root@freebsd:~ # pkg upgrade Updating FreeBSD repository catalogue... FreeBSD repository is up to date. All repositories are up to date. Checking for upgrades (1 candidates): 100% Processing candidates (1 candidates): 100% Checking integrity... done (0 conflicting) Your packages are up to date. root@freebsd:~ # date --=20 You are receiving this mail because: You are the assignee for the bug.=