On 17/10/04 23:21, Alexander Hall wrote:


On October 4, 2017 6:58:52 PM GMT+02:00, Niels Kobschaetzki 
<ni...@kobschaetzki.net> wrote:

/.../ And I
don't know OpenBSD enough to know how "dangerous" it is to use
"pkg_delete -a". I used similar functions with linux-distributions and
they wanted to remove a tool like git because nothing depended on it.

It will here too but only if you didn't explicitly install said package. You can also 
mark already installed packages as "explicitly installed" using the fine pkg_* 
tools.

$ pkg_delete -n -a

will probably give you a nice hint, too.

Btw. I like the approach of dnf of Fedora which will not only uninstall
a package but also all its dependencies that aren't used by other
packages.

Thus, an implicit "pkg_delete -a" with no questions asked?

Yes. Since Fedora is very user-centric I guess it fits the use-case
since users probably usually want to delete "everything" when they
uninstall a piece of software and not just the package.

For me "pkg_delete -a <package-name>" always does nothing. Thus I
thought it just doesn't work with a package name and I am misreading the
man page but apparently it should.

Niels

Reply via email to