Re: Synth status and failure to install some packages

From: Mark Millard via freebsd-ports <freebsd-ports_at_freebsd.org>
Date: Tue, 1 Jun 2021 13:16:12 -0700
On 2021-May-31, at 23:36, Stefan Esser <se_at_freebsd.org> wrote:

> Am 01.06.21 um 08:03 schrieb Mark Millard via freebsd-ports:
>> 
>> Some basic commands for installing/updating packages are:
>> 
>> pkg install (see man pkg-install)
>> pkg upgrade (see man pkg-upgrade)
>> pkg delete  (see man pkg-delete)
> [...]
>> "pkg install" will install run-depencencies.
>> It will not automatically install
>> non-run-depenendecies, such as
>> build-dependencies. But they can be installed.
>> This is not a poudriere definition, but a pkg
>> definition.
>> 
>> "pkg update" will install newer versions of already
>> installed packages if the respository is more
>> update for those packages than before.
> 
> Minor correction: "pkg update" will only fetch a new repository
> catalogue, "pkg upgrade" performs the actual upgrade (correctly
> listed by you in the first quoted chunk above).

So much for my attention span. Thanks for the correction.

It is probably good that the notes overall cover the
upgrade vs. update distinction, even though I had not
originally intended to.

>> "pkg delete" uninstalls packages, including packages
>> that have a run-dependency on what is being deleted.
> 
> I'd add "pkg audit" to the list of important package maintenance
> commands. It warns about packages with security vulnerabilities
> (even if no fixed package is available at this time, which may
> lead to other protective measures being advisable).

Good idea on a more overall point of view than I was
taking: just background material tied to things asked
or referenced.

In my context, "pkg audit -r" normally ends up listing packages
that I only build and install to test my build environment and
that I rarely even quick-test basic operation of. (And the
environment is an internal one that provides no access from
outside.)

===
Mark Millard
marklmi at yahoo.com
( dsl-only.net went
away in early 2018-Mar)
Received on Tue Jun 01 2021 - 20:16:12 UTC

Original text of this message