Guest User

Untitled

a guest
Jun 21st, 2018
87
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.76 KB | None | 0 0
  1. #!/bin/bash
  2.  
  3. # Bash script to dump the full recursive list of reverse
  4. # dependencies of a list of debian packages
  5. #
  6. # Useful when trynig to identify dependency conflicts in your machine
  7. # so you can check the output on your machine to the output of another machine
  8. # which does not have this problem.
  9.  
  10. # declare an array holding dependencies to dump
  11. # USER! change this list to your desire
  12. 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)
  13.  
  14. mkdir -p apt-rdepends;
  15. for a in "${deps[@]}";
  16. do apt-rdepends -r $a > apt-rdepends/$a.txt;
  17. done
Add Comment
Please, Sign In to add comment