LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices



Reply
 
Search this Thread
Old 03-09-2006, 11:19 PM   #1
Akhran
Member
 
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 01:19 AM.
 
Old 03-10-2006, 04:09 PM   #2
dracae
Member
 
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, 01:34 PM   #3
nx5000
Senior Member
 
Registered: Sep 2005
Location: Out
Posts: 3,307

Rep: Reputation: 53
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
 
  


Reply


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 05:10 PM
Any aptitude command to find out what packages belong to a virtual package? Akhran Debian 9 11-05-2005 10:40 PM
Can Aptitude install from Sources? Akhran Debian 2 08-14-2005 06:12 PM
Automatically forcing file system check? The_Nerd Linux - Hardware 1 11-30-2004 11:37 PM
Debian apps install with dselect,tasksel or aptitude always crash. SpItoS Debian 4 06-18-2004 08:36 AM


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

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