On Tue, 2011-08-16 at 14:24 +0200, Samuel Thibault wrote: > grep-aptavail -FBuild-Depends -sPackage,Build-Depends -n "libcap" > mySources | paste -sd " \n" | sed -e 's/^\([^ ]*\) .*, \(libcap[^,]* > \).*$/\1: \2/' | grep -v hurd-i386 | grep -v linux-any | grep -v not > +linux-gnu | grep -v libcapi
What to replace mySources with in the above? Even if the build dependencies are linux-any (or equivalent) it looks like the binary packages still depends on lbacap2. Examples: wodim: Depends: libc6 (>= 2.7), libcap2 (>= 2.10) syslog-ng: Depends: libc6 (>= 2.3.4), libcap2 (>= 2.10), ...