[EMAIL PROTECTED] (Gregory S. Stark) writes: > [EMAIL PROTECTED] (Adam P. Harris) writes:
>> FWIW, Jason Gunthorp informed me that 'apt-cache showpkg ...' can >> be used to work out the dependant packages list in a very rapid and >> efficient manner. >> >> # apt-cache showpkg /var/cache/apt/pkgcache.bin libstdc++2.8 >> Package: libstdc++2.8 Versions: 2.90.29-0.6, Reverse Depends: >> qps,libstdc++2.8 dxpc,libstdc++2.8 kmpg,libstdc++2.8 >> qt1g-dev,libstdc++2.8 xlogmaster,libstdc++2.8 >> qt1-snapshot,libstdc++2.8 geomview-contrib,libstdc++2.8 > Neat, is there any way to query it to list all packages on which no > other package depends? I've wanted to do this for a while so i can > clean out the lib packages I'm not using any more. I do not believe it has that functionality currently. But see the 'pkg-nodep' program from the 'pkg-order' package. .....A. P. [EMAIL PROTECTED]<URL:http://www.onShore.com/>

