pkg
pkg copied to clipboard
Package management tool for FreeBSD. Help at #pkg on Libera Chat or [email protected]
I'm running 20+ FreeBSD systems all having the same OS revision and pkg from local PD build system ```sh $> uname -a FreeBSD foo.my.site 12.3-RELEASE-p5 FreeBSD 12.3-RELEASE-p5 GENERIC amd64 $>...
I use the 410.pkg-audit periodic script to monitor various hosts. Some issues are not as urgent as others. Specifically, the expired and deprecated issues are not always under the user's...
I'm trying to upgrade my ports: ```$ sudo pkg upgrade Updating FreeBSD repository catalogue... FreeBSD repository is up to date. All repositories are up to date. Checking for upgrades (13...
```pkg search``` failed like this: ``` $ pkg search scilab pkg: sqlite error while executing PRAGMA user_version; in file pkgdb.c:2357: database is locked ``` ```pkg install``` should lock ```local.sqlite```, but...
Reproduction: ``` # pkg -v 1.18.3 # pkg lock -l Currently locked packages: drm-510-kmod-5.10.113_1 gpu-firmware-kmod-20220511,1 # pkg unlock drm-510-kmod-5.10.113_1 drm-510-kmod-5.10.113_1: unlock this package? [y/N]: y Unlocking drm-510-kmod-5.10.113_1 drm-510-kmod-5.10.113_1: already unlocked...
I'm having an issue where pkg wants to install a "build-depends" only port. I use Synth to build my ports, but I also have the "Fetch prebuilt packages" option enabled....
I pressed Ctrl-C in the middle and it kept going extracting and installing packages in the background while the main process has returned. Another instance of 'pkg' process kept running...
There's `pkg.exec()` available, but it can't capture the output. It would be useful to have a way to do that.
In what case would I want to use `pkg add` instead of `pkg install`? It seems like pkg-install(8) covers all the functionalities of pkg-add(8). Potentially related: https://github.com/freebsd/pkg/issues/1584
I have not found a simple way how to rollback to previous state after problematic `pkg upgrade`. I can see that the previous packages are in `/var/cache/pkg`. If I knew...