git: 8900283fa37f - main - pkg.7: Add example for fetching package for different FreeBSD versions
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 01 Apr 2025 13:30:06 UTC
The branch main has been updated by christos: URL: https://cgit.FreeBSD.org/src/commit/?id=8900283fa37f6555055d8af5ffa1a5a2fbe2940e commit 8900283fa37f6555055d8af5ffa1a5a2fbe2940e Author: Christos Margiolis <christos@FreeBSD.org> AuthorDate: 2025-04-01 13:29:50 +0000 Commit: Christos Margiolis <christos@FreeBSD.org> CommitDate: 2025-04-01 13:29:50 +0000 pkg.7: Add example for fetching package for different FreeBSD versions MFC after: 1 week Reviewed by: bapt Differential Revision: https://reviews.freebsd.org/D49580 --- usr.sbin/pkg/pkg.7 | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/usr.sbin/pkg/pkg.7 b/usr.sbin/pkg/pkg.7 index 605653bbd8c6..982fd8ecaeb3 100644 --- a/usr.sbin/pkg/pkg.7 +++ b/usr.sbin/pkg/pkg.7 @@ -22,7 +22,7 @@ .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF .\" SUCH DAMAGE. .\" -.Dd August 24, 2022 +.Dd March 30, 2025 .Dt PKG 7 .Os .Sh NAME @@ -313,6 +313,11 @@ Check installed packages for checksum mismatches: .Pp Check for missing dependencies: .Dl # pkg check -d -a +.Pp +Fetch a package for a different +.Fx +version, along with all its dependencies: +.Dl # pkg -o ABI=FreeBSD:15:amd64 -o IGNORE_OSVERSION=yes fetch -o destdir -d perl .Sh SEE ALSO .Xr ports 7 , .Xr pkg 8