[Bug 267629] ports-mgmt/pkg, ports-mgmt/pkg-devel: already locked, or already unlocked, after using pkg-lock(8) to lock or unlock

From: <bugzilla-noreply_at_freebsd.org>
Date: Tue, 08 Nov 2022 05:58:37 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=267629

Graham Perrin <grahamperrin@freebsd.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |grahamperrin@freebsd.org,
                   |                            |pkg@FreeBSD.org
           Severity|Affects Only Me             |Affects Some People
           Keywords|pkgbase                     |
           See Also|                            |https://github.com/freebsd/
                   |                            |pkg/issues/2059
           Assignee|bugs@FreeBSD.org            |bapt@FreeBSD.org
            Summary|When locking/unlocking the  |ports-mgmt/pkg,
                   |package list, incorrect     |ports-mgmt/pkg-devel:
                   |varning appears on the last |already locked, or already
                   |line of the output          |unlocked, after using
                   |                            |pkg-lock(8) to lock or
                   |                            |unlock
             Status|New                         |In Progress
            Version|12.4-RELEASE                |CURRENT
                URL|                            |https://github.com/freebsd/
                   |                            |pkg/commit/b51485ae5a85d4ca
                   |                            |1dd0e2f17d1aa895a835202b

--- Comment #2 from Graham Perrin <grahamperrin@freebsd.org> ---
% pkg provides -r FreeBSD pkg-lock.8
Name    : pkg-devel-1.18.99.6
Comment : Package manager
Repo    : FreeBSD
Filename: usr/local/man/man8/pkg-lock.8.gz

Name    : pkg-1.18.4
Comment : Package manager
Repo    : FreeBSD
Filename: usr/local/man/man8/pkg-lock.8.gz
% 

<https://www.freshports.org/ports-mgmt/pkg-devel/>
<https://www.freshports.org/ports-mgmt/pkg/>


(In reply to Vladislav V. Prodan from comment #0)

Thank you. 

It seems that the fix, in the master branch in GitHub, is not yet ported.
Expect a port in due course. 


root@mowa219-gjp4-8570p-freebsd:~ # pkg unlock drm-510-kmod
drm-510-kmod-5.10.113_7: unlock this package? [y/N]: y
Unlocking drm-510-kmod-5.10.113_7
drm-510-kmod-5.10.113_7: already unlocked
root@mowa219-gjp4-8570p-freebsd:~ # pkg info -x pkg-devel
pkg-devel-1.18.99.6
root@mowa219-gjp4-8570p-freebsd:~ #

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