baskerville / owlman

A pacman and cower wrapper
The Unlicense
24 stars 4 forks source link

Dependencies marked as explicitly installed #20

Closed cdown closed 10 years ago

cdown commented 10 years ago

Some dependencies are marked as explicitly installed. I believe only dependencies retrieved from the AUR are affected.

Example:

$ owlman deps keepassc
python-kppy>=1.4.0  python>=3.3
$ owlman install keepassc 
warning: python-crypto is available in extra
:: keepassc downloaded to /tmp/owlman-aur
:: python-kppy downloaded to /tmp/owlman-aur

During installation, python-kppy is installed from the AUR. However, it is not properly marked as a dependency, instead it is marked as explicitly installed:

$ pacman -Qi python-kppy | grep '^Install Reason' 
Install Reason : Explicitly installed

This means that pacman -Rns does not remove it, and it is not listed in pacman -Qdt, which is pretty worrying.

To fix this, after installation, you need to call something like the following:

pacman -D --asdeps python-kppy
baskerville commented 10 years ago

Oops! Should be fixed by dd45573.

cdown commented 10 years ago

Thank you!