-
Notifications
You must be signed in to change notification settings - Fork 298
Open
Description
It's possible to specify -r more than once, this capability is not mentioned in the manual pages.
A pkg-static example:
pkg-static update -r FreeBSD-ports -r FreeBSD-ports-kmods
root@clean:~ # pkg-static
pkg: not enough arguments
Usage: pkg [-v] [-d] [-l] [-N] [-j <jail name or id>|-c <chroot path>|-r <rootdir>] [-C <configuration file>] [-R <repo config dir>] [-o var=value] [-4|-6] <command> [<args>]
For more information on available commands and options see 'pkg help'.
root@clean:~ # pkg-static update -r FreeBSD-ports -r FreeBSD-ports-kmods
Updating FreeBSD-ports repository catalogue...
Fetching data.pkg: 100% 10 MiB 11.0MB/s 00:01
Processing entries: 100%
FreeBSD-ports repository update completed. 36998 packages processed.
Updating FreeBSD-ports-kmods repository catalogue...
Fetching data.pkg: 100% 34 KiB 34.5kB/s 00:01
Processing entries: 0%
Newer FreeBSD version for package wifi-firmware-rtw88-kmod-rtw8821a:
To ignore this error set IGNORE_OSVERSION=yes
- package: 1500503
- running userland: 1500068
Ignore the mismatch and continue? [y/N]: y
Processing entries: 100%
FreeBSD-ports-kmods repository update completed. 237 packages processed.
FreeBSD-ports, FreeBSD-ports-kmods are up to date.
root@clean:~ # pkg-static update --repository FreeBSD-ports --repository FreeBSD-ports-kmods
Updating FreeBSD-ports repository catalogue...
FreeBSD-ports repository is up to date.
Updating FreeBSD-ports-kmods repository catalogue...
FreeBSD-ports-kmods repository is up to date.
FreeBSD-ports, FreeBSD-ports-kmods are up to date.
root@clean:~ # pkg repos -el | sort -f
FreeBSD-base
FreeBSD-ports
FreeBSD-ports-kmods
root@clean:~ # which pkg-static
/usr/local/sbin/pkg-static
root@clean:~ # pkg which /usr/local/sbin/pkg-static
/usr/local/sbin/pkg-static was installed by package pkg-2.4.2_1
root@clean:~ # freebsd-version -kru ; uname -mvKU
15.0-RELEASE
15.0-RELEASE
15.0-RELEASE
FreeBSD 15.0-RELEASE releng/15.0-n280995-7aedc8de6446 GENERIC amd64 1500068 1500068
root@clean:~ #
Metadata
Metadata
Assignees
Labels
No labels