Created
June 20, 2018 06:26
-
-
Save gaviriar/0394b4923b440f94eb43003cb8762623 to your computer and use it in GitHub Desktop.
Bash script to dump the full reverse dependency tree of of a list of specified debian packages
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# Bash script to dump the full recursive list of reverse | |
# dependencies of a list of debian packages | |
# | |
# Useful when trynig to identify dependency conflicts in your machine | |
# so you can check the output on your machine to the output of another machine | |
# which does not have this problem. | |
# declare an array holding dependencies to dump | |
# USER! change this list to your desire | |
declare -a deps=(libdbusmenu-glib-dev libdbus-glib-1-dev libappindicator1 gir1.2-appindicator3-0.1 libdbusmenu-glib-dev libdbus-glib-1-dev libappindicator3-1 libbrlapi0.6 libgbm1 libgtk-3-0 gir1.2-gtk-3.0 libepoxy-dev libgtk2.0-0 krb5-multidev libpci3 libpulse0 libpulse-mainloop-glib0) | |
mkdir -p apt-rdepends; | |
for a in "${deps[@]}"; | |
do apt-rdepends -r $a > apt-rdepends/$a.txt; | |
done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment