Created
August 17, 2015 09:10
-
-
Save zhangyoufu/09a0122f8d78249dff1a to your computer and use it in GitHub Desktop.
Debian/Ubuntu Package, top level dependency (cannot detect dependency loop)
This file contains hidden or 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
| dpkg-query -W | cut -f1 | xargs apt-cache rdepends --installed | python2.7 -c 'import re,sys;sys.stdout.write(re.sub(".*\nReverse Depends:\n( [ |].*\n)+","",sys.stdin.read()).replace("Reverse Depends:\n",""))' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment