FS#19567 - Explicitly reinstalling a package installed as a dependency doesn't change the install reason
Attached to Project:
Pacman
Opened by Wieland Hoffmann (Mineo) - Sunday, 23 May 2010, 14:41 GMT
Last edited by Dan McGee (toofishes) - Thursday, 08 July 2010, 05:14 GMT
Opened by Wieland Hoffmann (Mineo) - Sunday, 23 May 2010, 14:41 GMT
Last edited by Dan McGee (toofishes) - Thursday, 08 July 2010, 05:14 GMT
|
Details
Summary and Info:
If one explicitly installs a package which is already installed (as a (make-)dependency for some other package the install reason for the package doesn't change. This causes the package to appear in the output of e.g. pacman -Qdt. Steps to Reproduce: Install a package A with dependencies. Decide you want to keep one of the dependencies B (git/hg/some useful app/...) Remove package A Run pacman -Qdt - it shows package B Run pacman -Qi B - the install reason will be: "Install Reason : Installed as a dependency for another package" |
This task depends upon
Closed by Dan McGee (toofishes)
Thursday, 08 July 2010, 05:14 GMT
Reason for closing: Not a bug
Additional comments about closing: See comments.
Thursday, 08 July 2010, 05:14 GMT
Reason for closing: Not a bug
Additional comments about closing: See comments.
Well that's not done automatically, you simply need to tell pacman about it :
pacman -S --asexplicit B