On Tue, Sep 07, 1999 at 11:47:15PM -0600, Scott Barker wrote: > On Tue, Sep 07, 1999 at 10:00:55PM -0700, Joey Hess wrote: > > [EMAIL PROTECTED]:/lib/modules/2.2.12>apt-cache search quake > > Cool. Thanks. Now, all we need is a switch to apt or dpkg to remove forward > dependent packages (so, for example, one could remove communicator-smotif-407, > and all packages it depended upon, except those needed by other packages). >
This thread prompted me to play with the apt stuff a bit. Would the following be useful? [EMAIL PROTECTED]:~> apt-cache showpkg gtkicq Package: gtkicq Versions: 0.57-6(/var/lib/dpkg/status), Reverse Depends: gnomeicu,gtkicq Dependencies: 0.57-6 - gdk-imlib1 (0 (null)) libc6 (0 (null)) libglib1.1 (2 1.1.3-2) libgnome0 (2 0.30.1-5) libgtk1.1 (2 1:1.1.2-2) libjpeg62 (0 (null)) liborbit0 (2 0.3.0-2) libpanel-applet0 (2 0.30-2) libpng2 (0 (null)) libtiff3g (0 (null)) libungif3g (18 3.0-2) giflib3g (2 3.0-5.2) xlib6g (2 3.3-5) zlib1g (2 1:1.1.3) Provides: 0.57-6 - Reverse Provides: gnomeicu 0.65-1 The stuff in the Dependencies section could be attacked with sed/cut or the like and fed directly to a "dpkg --purge" for a _real_ ugly hack. It would be very important not to go "dpkg --purge --force-depends". Bruce ( I might try this later today. I would really like to be able to clean the junk out of my computer).