Date: Tue, 1 Jun 2021 13:16:12 -0700 From: Mark Millard via freebsd-ports <freebsd-ports@freebsd.org> To: Stefan Esser <se@freebsd.org> Cc: freebsd-ports@freebsd.org Subject: Re: Synth status and failure to install some packages Message-ID: <1B4264C7-51C1-454C-BF7A-12EBDAA93506@yahoo.com> In-Reply-To: <25170b06-a6e7-5073-5f9d-2fd15f974180@freebsd.org> References: <1FB116CD-49F9-432D-840F-0797E7B5A17C.ref@yahoo.com> <1FB116CD-49F9-432D-840F-0797E7B5A17C@yahoo.com> <25170b06-a6e7-5073-5f9d-2fd15f974180@freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On 2021-May-31, at 23:36, Stefan Esser <se@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)
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1B4264C7-51C1-454C-BF7A-12EBDAA93506>