On Thu, 20 Feb 2025 22:45:21 +0100, Courtney <courtney@courtnix.systems> wrote: > > I don't remember where I saw it either, but when I first used OpenBSD > around 2018 some of > the first websites I came across specified `pkg_add -Uu` to update > packages. Some people > out there putting false commands on their blog posts. >
I think that the root cause of this is this wording: Install new packages in a hurry, updating their dependencies first, using option -U. it reads for me, as non native english speaker, in a way that it speeds up an update. > > On 2/19/25 4:11 AM, Stuart Henderson wrote: > > On 2025/02/19 12:04, requiem. wrote: > >> find via `find -iname` that seemed relevant. Ran `sysupgrade && > >> pkg_add -Uu` for --current, rebooted, reinstalled libreoffice, and now > > I don't know where people get the idea to use -U from. It keeps coming > > up somehow but when our docs tell people to update packages it's always > > "pkg_add -u". > > > > -U is a special case for when you want to try to get some particular > > _new_ package installed but don't care too much if it doesn't work > > because you haven't updated dependencies properly. It is not for updates. > > > -- wbr, Kirill