The OP was asking for reverse dependencies, not recursive dependencies. This functionality should really reside in apt-cache itself. For example, jetty is mysteriously installed and running on my system and I’d like to check whether it is a dependency of something else. This is really difficult, since it would have to load the whole cache into memory before discovering which packages depend on others to build. It does not display information about virtual packages, nor does it know about virtual packages when it is in reverse dependency mode.
|Date Added:||26 January 2008|
|File Size:||43.80 Mb|
|Operating Systems:||Windows NT/2000/XP/2003/2003/7/8/10 MacOS 10/X|
|Price:||Free* [*Free Regsitration Required]|
This helped me, but only the –installed flag made it perfect!
See –state-follow and –state-show for why this is useful. By default, it only follows the Depends and PreDepends types.
Debian — Package Search Results — apt-rdepends
The OP was asking for reverse dependencies, not recursive dependencies. There is also –installed, which limits to installed packages. Unicorn Meta Zoo 9: By default the given packages will trace apt-rdependd all dependent packages which can produce a very large graph.
They both deal with the current state of a package. It’s probably worth pointing out apt-rdepeends they’re not the same. These options are useful, if you only want to only look at the dependencies between the Installed packages on your system. How to list dependent packages reverse dependencies?
Under the tab Dependencies you can see the packages that jetty depend on, and which packages is dependent on jetty the dropdown list. Blue lines are pre-depends, green lines are conflicts, yellow lines are suggests, orange lines are recommends, red lines are replaces, and black lines are depends.
apt – How do I find the reverse dependency of a package? – Ask Ubuntu
By default, it only shows the Depends and PreDepends types. By default, apt-rdepends shows a listing of each dependency a package has.
There is also –no-depends, but normally for rdepends you want that. The result will be a set of nodes and edges representing the relationships between the packages. How do I apt-rddpends the reverse dependency of a package? You can then call: The best answers are voted up and rise to the top.
Subscribe to RSS
So, use a pager as well. There’s a slightly different syntax which helped me to differentiate between Recommends, Depends, Suggests, etc.
This question already has an answer here: Home Questions Tags Users Unanswered. For example, jetty is mysteriously installed and running on my system and I’d like to check whether it is a dependency of something else.
apt-rdepends package in Ubuntu
How do we handle problem users? Ask Ubuntu is a question and answer site for Ubuntu users and developers. This is really difficult, since it would have to load the whole cache into memory before discovering which packages depend on others to build. Magnus Magnus 1 1 gold badge 4 4 silver badges 6 6 bronze badges. Yes, but the duplicate on that question has been asked a month earlier. LasseValentini LasseValentini 1, 1 1 gold badge 17 17 silver badges 22 22 bronze badges.
If you open Apt-rdpeends and find the package, you can right click on it and select Properties. In –build-depends mode, the possible values are: It only takes a minute to sign up. To display recursive depends: It apt-rdepencs more apt-rddpends than apt rdepends. This question has been asked before and already has an answer.