How to get ALL kinds of reverse package dependencies: reverse-depends pendant for non-Ubuntu distributions

Clash Royale CLAN TAG#URR8PPP
I would like to find all possible reverse dependencies (no need for recursive reverse dependencies) of a certain package p, that is, I want to find all packages which depend on p. This shall include reverse dependencies on p's source package and also reverse build dependencies.
If I understand it correctly, there are 4 types of reverse dependencies:
rdepends onprdepends on source package ofp- Building
rrequiresp - Building
rrequires the source package ofp
I would like to find all of them.
For Debian, there is apt-rdepends -r but the manual says:
apt-rdepends cannot do reverse build-dependencies.
For Ubuntu, there is reverse-depends, which seems to let me do what I want but it seems to be Ubuntu specific, as the manual pages states it is
Provided by: ubuntu-dev-tools_0.153_all
Are there reverse-depends-like tools which will work for non-Ubuntu distributions, especially those using deb and rpm packages?
debian package-management rpm dependencies deb
add a comment |
I would like to find all possible reverse dependencies (no need for recursive reverse dependencies) of a certain package p, that is, I want to find all packages which depend on p. This shall include reverse dependencies on p's source package and also reverse build dependencies.
If I understand it correctly, there are 4 types of reverse dependencies:
rdepends onprdepends on source package ofp- Building
rrequiresp - Building
rrequires the source package ofp
I would like to find all of them.
For Debian, there is apt-rdepends -r but the manual says:
apt-rdepends cannot do reverse build-dependencies.
For Ubuntu, there is reverse-depends, which seems to let me do what I want but it seems to be Ubuntu specific, as the manual pages states it is
Provided by: ubuntu-dev-tools_0.153_all
Are there reverse-depends-like tools which will work for non-Ubuntu distributions, especially those using deb and rpm packages?
debian package-management rpm dependencies deb
add a comment |
I would like to find all possible reverse dependencies (no need for recursive reverse dependencies) of a certain package p, that is, I want to find all packages which depend on p. This shall include reverse dependencies on p's source package and also reverse build dependencies.
If I understand it correctly, there are 4 types of reverse dependencies:
rdepends onprdepends on source package ofp- Building
rrequiresp - Building
rrequires the source package ofp
I would like to find all of them.
For Debian, there is apt-rdepends -r but the manual says:
apt-rdepends cannot do reverse build-dependencies.
For Ubuntu, there is reverse-depends, which seems to let me do what I want but it seems to be Ubuntu specific, as the manual pages states it is
Provided by: ubuntu-dev-tools_0.153_all
Are there reverse-depends-like tools which will work for non-Ubuntu distributions, especially those using deb and rpm packages?
debian package-management rpm dependencies deb
I would like to find all possible reverse dependencies (no need for recursive reverse dependencies) of a certain package p, that is, I want to find all packages which depend on p. This shall include reverse dependencies on p's source package and also reverse build dependencies.
If I understand it correctly, there are 4 types of reverse dependencies:
rdepends onprdepends on source package ofp- Building
rrequiresp - Building
rrequires the source package ofp
I would like to find all of them.
For Debian, there is apt-rdepends -r but the manual says:
apt-rdepends cannot do reverse build-dependencies.
For Ubuntu, there is reverse-depends, which seems to let me do what I want but it seems to be Ubuntu specific, as the manual pages states it is
Provided by: ubuntu-dev-tools_0.153_all
Are there reverse-depends-like tools which will work for non-Ubuntu distributions, especially those using deb and rpm packages?
debian package-management rpm dependencies deb
debian package-management rpm dependencies deb
edited May 28 '18 at 11:19
GAD3R
26.7k1756111
26.7k1756111
asked Jul 6 '15 at 10:39
stackoverflowwwwstackoverflowwww
16719
16719
add a comment |
add a comment |
1 Answer
1
active
oldest
votes
In Debian and derivatives there are six types of dependencies:
- pre-depends
- depends
- recommends
- suggests
- build-depends
- build-depends-indep
Each of these give corresponding reverse dependencies. To list them you can use grep-dctrl:
grep-dctrl -FBuild-Depends mypackage -w -sPackage /var/lib/apt/lists/*Sources
will list all the packages which build-depend on mypackage, i.e. mypackage's non-recursive reverse build-dependencies.
Add-wto prevent getting false positive matches (e.g. because a package build depends onlibsuitesparse-devwhile you are interested insparse)
– Uwe Kleine-König
Jan 30 at 14:08
add a comment |
Your Answer
StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "106"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);
else
createEditor();
);
function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: false,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);
);
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f214138%2fhow-to-get-all-kinds-of-reverse-package-dependencies-reverse-depends-pendant-fo%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
In Debian and derivatives there are six types of dependencies:
- pre-depends
- depends
- recommends
- suggests
- build-depends
- build-depends-indep
Each of these give corresponding reverse dependencies. To list them you can use grep-dctrl:
grep-dctrl -FBuild-Depends mypackage -w -sPackage /var/lib/apt/lists/*Sources
will list all the packages which build-depend on mypackage, i.e. mypackage's non-recursive reverse build-dependencies.
Add-wto prevent getting false positive matches (e.g. because a package build depends onlibsuitesparse-devwhile you are interested insparse)
– Uwe Kleine-König
Jan 30 at 14:08
add a comment |
In Debian and derivatives there are six types of dependencies:
- pre-depends
- depends
- recommends
- suggests
- build-depends
- build-depends-indep
Each of these give corresponding reverse dependencies. To list them you can use grep-dctrl:
grep-dctrl -FBuild-Depends mypackage -w -sPackage /var/lib/apt/lists/*Sources
will list all the packages which build-depend on mypackage, i.e. mypackage's non-recursive reverse build-dependencies.
Add-wto prevent getting false positive matches (e.g. because a package build depends onlibsuitesparse-devwhile you are interested insparse)
– Uwe Kleine-König
Jan 30 at 14:08
add a comment |
In Debian and derivatives there are six types of dependencies:
- pre-depends
- depends
- recommends
- suggests
- build-depends
- build-depends-indep
Each of these give corresponding reverse dependencies. To list them you can use grep-dctrl:
grep-dctrl -FBuild-Depends mypackage -w -sPackage /var/lib/apt/lists/*Sources
will list all the packages which build-depend on mypackage, i.e. mypackage's non-recursive reverse build-dependencies.
In Debian and derivatives there are six types of dependencies:
- pre-depends
- depends
- recommends
- suggests
- build-depends
- build-depends-indep
Each of these give corresponding reverse dependencies. To list them you can use grep-dctrl:
grep-dctrl -FBuild-Depends mypackage -w -sPackage /var/lib/apt/lists/*Sources
will list all the packages which build-depend on mypackage, i.e. mypackage's non-recursive reverse build-dependencies.
edited Jan 30 at 14:20
answered Jul 6 '15 at 12:05
Stephen KittStephen Kitt
172k24389466
172k24389466
Add-wto prevent getting false positive matches (e.g. because a package build depends onlibsuitesparse-devwhile you are interested insparse)
– Uwe Kleine-König
Jan 30 at 14:08
add a comment |
Add-wto prevent getting false positive matches (e.g. because a package build depends onlibsuitesparse-devwhile you are interested insparse)
– Uwe Kleine-König
Jan 30 at 14:08
Add
-w to prevent getting false positive matches (e.g. because a package build depends on libsuitesparse-dev while you are interested in sparse)– Uwe Kleine-König
Jan 30 at 14:08
Add
-w to prevent getting false positive matches (e.g. because a package build depends on libsuitesparse-dev while you are interested in sparse)– Uwe Kleine-König
Jan 30 at 14:08
add a comment |
Thanks for contributing an answer to Unix & Linux Stack Exchange!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f214138%2fhow-to-get-all-kinds-of-reverse-package-dependencies-reverse-depends-pendant-fo%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown