Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 22 Mar 2022 02:28:05 -0700
From:      Mark Millard <marklmi@yahoo.com>
To:        "bapt@freebsd.org" <bapt@FreeBSD.org>, freebsd-ports@freebsd.org
Cc:        FreeBSD Toolchain <freebsd-toolchain@freebsd.org>
Subject:   An idea for a pkg option
Message-ID:  <84C8C319-4060-47C2-B3DB-0026478BF1A9@yahoo.com>
References:  <84C8C319-4060-47C2-B3DB-0026478BF1A9.ref@yahoo.com>

next in thread | previous in thread | raw e-mail | index | archive | help
There are times when I wish I could do something like:

# pkg install `cat ~/origins/CA72-pkgs.txt`
Updating custom repository catalogue...
custom repository is up to date.
All repositories are up to date.
pkg: No packages available to install matching 'macchiatobin-edk2' have =
been found in the repositories
pkg: No packages available to install matching 'rpi3-edk2' have been =
found in the repositories
pkg: No packages available to install matching 'rpi4-edk2' have been =
found in the repositories

but have the packages that are found installed. It would
avoid having to keep ~/origins/CA72-pkgs.txt up to date
with what package builds happen to become broken and what
builds happen to start working again, allowing any of
the rest that are missing to be installed.

So it might look something like:

# pkg install --available-ones-of `cat ~/origins/CA72-pkgs.txt`
Updating custom repository catalogue...
custom repository is up to date.
All repositories are up to date.
pkg: No packages available to install matching 'macchiatobin-edk2' have =
been found in the repositories
pkg: No packages available to install matching 'rpi3-edk2' have been =
found in the repositories
pkg: No packages available to install matching 'rpi4-edk2' have been =
found in the repositories
Checking integrity... done (0 conflicting)
The following 1 package(s) will be affected (of 0 checked):

New packages to be INSTALLED:
	llvm14: 14.0.0.r4

Number of packages to be installed: 1

The process will require 864 MiB more space.

Proceed with this action? [y/N]: y
[1/1] Installing llvm14-14.0.0.r4...
[1/1] Extracting llvm14-14.0.0.r4: 100%


=3D=3D=3D
Mark Millard
marklmi at yahoo.com




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?84C8C319-4060-47C2-B3DB-0026478BF1A9>