Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/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
Add Comment
Please, Sign In to add comment