Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 18 May 2021 08:38:42 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   [Bug 255967] ports-mgmt/pkg: pkg upgrade incorrectly reports "1 candidates"
Message-ID:  <bug-255967-227@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
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.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-255967-227>