Visit Jeremy's Blog.
Go Back > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Debian This forum is for the discussion of Debian Linux.


  Search this Thread
Old 03-09-2006, 10:19 PM   #1
Registered: Aug 2005
Distribution: Debian 'lenny'
Posts: 208

Rep: Reputation: 30
[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 !

Last edited by Akhran; 03-10-2006 at 12:19 AM.
Old 03-10-2006, 03:09 PM   #2
Registered: Feb 2006
Location: Oklahoma
Distribution: Debian Sid and Etch
Posts: 423

Rep: Reputation: 30
apt-cache showpkg packageA
then check the reverse dependencies.
Old 03-13-2006, 12:34 PM   #3
Senior Member
Registered: Sep 2005
Location: Out
Posts: 3,307

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

Example for package fastlink

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


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
How can I install a rpm package and get the dependencies installed automatically? sceadu Fedora 10 01-06-2006 04:10 PM
Any aptitude command to find out what packages belong to a virtual package? Akhran Debian 9 11-05-2005 09:40 PM
Can Aptitude install from Sources? Akhran Debian 2 08-14-2005 05:12 PM
Automatically forcing file system check? The_Nerd Linux - Hardware 1 11-30-2004 10:37 PM
Debian apps install with dselect,tasksel or aptitude always crash. SpItoS Debian 4 06-18-2004 07:36 AM > Forums > Linux Forums > Linux - Distributions > Debian

All times are GMT -5. The time now is 02:47 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration