User:Allan/Pacman OptDepends

From ArchWiki
< User:Allan
Revision as of 23:55, 5 March 2009 by Allan (Talk | contribs) (Created page with '=The Idea= Currently '''optdepends''' in pacman serve no purpose other than informational. It would be good to improve this somewhat. =Example= > pacman -S python Optional dep...')

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

The Idea

Currently optdepends in pacman serve no purpose other than informational. It would be good to improve this somewhat.

Example

> pacman -S python Optional dependencies for python

   tk: for IDLE, pynche and modulator

> pacman -Qi python Optional Deps : tk: for IDLE, pynche and modulator

> pacman -S --asdep tk > pacman -Qi python Optional Deps : tk: for IDLE, pynche and modulator (installed)

> pacman -Qqtd > pacman -Qqtd --optdep tk (optdepend for python)

Actual changes to make

  • pacman recognises installed optdepends when using -Qi
  • pacman includes optdepends as dependencies when looking for orphans (unless flag is specified)
  • pacman only output information about uninstalled optdepends on package install