You are not logged in.
Based on Pacman Dependency Tree I created pacmanDeps. If anyone is interested in the dependencies of his packages; now you can easily view it
Features:
Pass one or multiple packagenames to seeo, of pass nothing to see all packages installed
Detects dependency-loops (use `pacmanDeps>/dev/null` to see only dep-loops)
Has an internal cache to speedup the process of looking up dependencies
Uses some colors; easy to modify in the head of the script
ToDo:
Fix branch and leaves visual
Download: (updated - this is version 0.2)
http://archlinux.spider007.net/pacmanDeps/pacmanDeps.sh
Any feedback welcome
Offline
nice work!
[damir@Asteraceae cvsARCH]$ ./deptree_spider.sh readline
readline
+---glibc
+---ncurses
+---glibc
funny output - it seems that glibc is listened 2ce ... but the second one is from ncurses
[damir@Asteraceae cvsARCH]$ ./deptree_spider.sh cups
cups
+---libpng
+---glibc
+---zlib
+---glibc
+---libtiff
+---gcc
+---binutils
+---glibc
+---glibc
+---libjpeg
+---glibc
+---zlib
+---glibc
+---openssl
+---glibc
+---pam
+---db
+---gcc
+---binutils
+---glibc
+---glibc
+---glibc
+---filesystem
+---bash
+---glibc
+---readline
+---glibc
+---ncurses
+---glibc
+---glibc
seems that this bug is not always reproducable
one more thing: please end your script with "exit 0" and name it with the extension .sh
The impossible missions are the only ones which succeed.
Offline
I've been doing some work on pacmanDeps:
Major speed-improvements (more details below)
Fixed the bug mentioned by dp (regarding readline)
Added an existatus
Here some nice statistics (querying xorg):
Original pacdep script by skoal
real 0m1.431s
user 0m0.577s
sys 0m0.816s
pacmanDeps v0.1
real 0m1.015s
user 0m0.354s
sys 0m0.588s
pacmanDeps v0.2
real 0m0.519s
user 0m0.168s
sys 0m0.323s
Offline
nice work! I will check it out...
Favorite systems: ArchLinux, OpenBSD
"Yes, I love UNIX"
Offline