[Bug 291611] ports-mgmt/pkg List locked package not working for vital metapackages
Date: Fri, 12 Dec 2025 15:47:40 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=291611
ivy@FreeBSD.org changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |ivy@FreeBSD.org
--- Comment #1 from ivy@FreeBSD.org ---
did you lock these packages using "pkg lock FreeBSD-set-base"? if not, they
are not locked, so they will not be listed in "pkg lock -l". a package being
vital is not related to whether it's locked.
---o<---
# pkg lock -l
No locked packages were found
# pkg lock FreeBSD-set-base
FreeBSD-set-base-16.snap20251104062903: lock this package? [y/N]: y
Locking FreeBSD-set-base-16.snap20251104062903
# pkg lock -l
Currently locked packages:
FreeBSD-set-base-16.snap20251104062903
# pkg unlock FreeBSD-set-base
FreeBSD-set-base-16.snap20251104062903: unlock this package? [y/N]: y
Unlocking FreeBSD-set-base-16.snap20251104062903
# pkg lock -l
No locked packages were found
---o<---
--
You are receiving this mail because:
You are the assignee for the bug.