Am 29.01.25 um 15:31 schrieb Enrico Weigelt, metux IT consult:
On 29.01.25 15:14, Marcel Telka wrote:
You can try to play with `pkgtree no-dependants` to get the list of
unneeded pacakges and then feed this list to `pkg uninstall` (once
reviewed).
hmm, that's only showing me:
pkg://openindiana.org/package/pkg
and that particular one probably should never uninstalled :o
by the way: is there any way for telling what's depending on a
particular package (recursively) ?
when I'm trying to uninstall something where somebody else depends on,
I'm only getting the direct dependants ... when adding those to the
command line, getting more, even more and more. collecting them all
step by step is a really tedious process.
Something similar to `apt-mark` and `apt-get autoremove` would be
really helpful.
--mtx
--
---
Hinweis: unverschlüsselte E-Mails können leicht abgehört und manipuliert
werden ! Für eine vertrauliche Kommunikation senden Sie bitte ihren
GPG/PGP-Schlüssel zu.
---
Enrico Weigelt, metux IT consult
Free software and Linux embedded engineering
i...@metux.net -- +49-151-27565287
pkg(1) in OmniOS has `pkg autoremove` as well as rRmM flags to `pkg
list` and `pkg flag`.
Those give you the desired functionality, not on Openindiana, though.
------------------------------------------
illumos: illumos-discuss
Permalink:
https://illumos.topicbox.com/groups/discuss/Taf30d1b2db20938f-M6c21711ce3602a906131b030
Delivery options: https://illumos.topicbox.com/groups/discuss/subscription