You are not logged in.
According to pacman. "pacman -Qdt" lists all unneeded dependencies, including those that are optional. https://wiki.archlinux.org/index.php/Us … OptDepends says that it shouldn't be the case in pacman 4.1, but it is. Is there another way of listing orphans and not optional dependencies? Other than setting them to manually installed.
Last edited by mooop12 (2013-05-18 17:27:36)
Offline
That wiki page do not reflect the current situation with pacman at all... There is currently no way to do what you ask.
Offline
Hmm it says "Output related tasks are implemented in pacman-4.1". Actually, you are the one who put it there Anyway, is it a work in progress? I imagine that something like this isn't too high of a priority, but it's a nice feature to have.
Offline
Output related task are:
- pacman -Qi shows "Optional for: ..."
- Removing an optdepend gives a warning
- the notification of new optdepends when installing packages show if they are already installed or not.
and that is about it...
Offline
Well, I hope it gets implemented soon. In the meantime I'm setting this thread to solved.
Offline
There are currently 2 ways to do this:
1) convert optdeps to deps with makedep then use "pacman -Qdt" as usual
2) use pkg-list_true_orphans (depends on pyalpm in [extra])
My Arch Linux Stuff • Forum Etiquette • Community Ethos - Arch is not for everyone
Offline
Thanks Xyne, your pkg-list_true_orphans script seems to work like a charm
Offline