Re: Synth status and failure to install some packages
- In reply to: Stefan Esser : "Re: Synth status and failure to install some packages"
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 01 Jun 2021 20:16:12 UTC
On 2021-May-31, at 23:36, Stefan Esser <firstname.lastname@example.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)