On 2025-08-04, Robert Palm <develo...@robert-palm.de> wrote: > > Found a cpl of things with pkg_check > > How to properly fix this? > > I could resolve 2 more I was having with pkg_delete and pkg_add but > these below trigger a multiple chain of additional deps that need to > be deleted then, too.
To force reinstall of a package that you already have installed (e.g. after some filesystem damage has removed a file you need), use pkg_add -r -D installed <pkgname> (btw, since it seems to be a meme, "-D installed" is not a general purpose thing, it is just for special cases like this or during testing - if you find some package is just not getting updated with pkg_add -u when it should be, tell porters about it so they can find why it's not getting updated and fix it for everyone)