LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Debian (http://www.linuxquestions.org/questions/debian-26/)
-   -   [Aptitude] Is it possible to check which package automatically install packageA? (http://www.linuxquestions.org/questions/debian-26/%5Baptitude%5D-is-it-possible-to-check-which-package-automatically-install-packagea-423374/)

Akhran 03-09-2006 10:19 PM

[Aptitude] Is it possible to check which package automatically install packageA?
 
Suppose when I do a 'aptitude search packagesA', the following line is returned:

i A packageA - packageA description.

As shown above, packageA is automatically installed by another package. Is there a way to check with aptitude what is the package that install packageA automatically?

Thanks !

dracae 03-10-2006 03:09 PM

apt-cache showpkg packageA
then check the reverse dependencies.

nx5000 03-13-2006 12:34 PM

Last time I discovered a nice thing of apt-cache also:

Example for package fastlink

Code:

apt-cache dotty fastlink | dot -Tpng | display
you need graphviz for dot command
display is from imagemagick

Take care if you do it on an important package, your cpu will fry :)


All times are GMT -5. The time now is 12:04 AM.