comparison deploy/linux/debian-dependencies.sh @ 713:2b51235b3cb8

Some diagnostics for package dependencies
author Chris Cannam
date Wed, 12 Dec 2018 12:04:01 +0000
parents 21e4df9865af
children 540bda2e71b1
comparison
equal deleted inserted replaced
712:825d63ed6ca0 713:2b51235b3cb8
37 37
38 echo "Packages that can be eliminated because other packages depend on them:" 1>&2 38 echo "Packages that can be eliminated because other packages depend on them:" 1>&2
39 cat $rfile 1>&2 39 cat $rfile 1>&2
40 echo 1>&2 40 echo 1>&2
41 41
42 echo "Remaining packages:" 1>&2
43 cat $pfile $rfile | sort | uniq -u 1>&2
44 echo 1>&2
45
42 cat $pfile $rfile | sort | uniq -u | sed 's/$/,/' | fmt -1000 | sed 's/^/Depends: /' | sed 's/,$/, libc6/' | sed 's/libjack0,/jackd,/' 46 cat $pfile $rfile | sort | uniq -u | sed 's/$/,/' | fmt -1000 | sed 's/^/Depends: /' | sed 's/,$/, libc6/' | sed 's/libjack0,/jackd,/'
43 47
44 48