From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail01.tacticuscommunications.net (mail01.tacticuscommunications.net [74.2.138.133]) by speech.braille.uwo.ca (Postfix) with ESMTP id 4DED610AE5 for ; Sat, 27 Sep 2008 20:47:49 -0400 (EDT) Received: from localhost (localhost [127.0.0.1]) by mail01.tacticuscommunications.net (Postfix) with ESMTP id DDF8910887 for ; Sat, 27 Sep 2008 20:28:35 -0400 (EDT) Received: from mail01.tacticuscommunications.net ([127.0.0.1]) by localhost (mail01.tacticuscommunications.net [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 26D7oOsfZ9qG for ; Sat, 27 Sep 2008 20:28:34 -0400 (EDT) Received: from [10.0.10.20] (unknown [10.0.10.20]) by mail01.tacticuscommunications.net (Postfix) with ESMTPA id A281C1087C for ; Sat, 27 Sep 2008 20:28:34 -0400 (EDT) Date: Sat, 27 Sep 2008 20:48:35 -0400 (EDT) From: luke To: "Speakup is a screen review system for Linux." Subject: Re: cleaning dependencies In-Reply-To: <000801c920c8$c73ad740$4200a8c0@tdsportable> Message-ID: References: <000801c920c8$c73ad740$4200a8c0@tdsportable> Organization: Tacticus Communications, Inc. MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-BeenThere: speakup@braille.uwo.ca X-Mailman-Version: 2.1.11 Precedence: list Reply-To: "Speakup is a screen review system for Linux." List-Id: "Speakup is a screen review system for Linux." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 28 Sep 2008 00:47:49 -0000 Is this something that "apt-get autoremove" won't handle? On Sat, 27 Sep 2008, Tyler Littlefield wrote: > I wrote a quitk script, figured it could probably be used, so here ya go: > requirements: php5-cli/php4-cli and deborphan > #!/usr/bin/php > $list=array(); > exec("deborphan",$list); > if (count($list)==0) > { > echo "There are no packages that deborphan can find to be removed.\n"; > return 0; > } > $packages=implode(" ",$list); > echo "The following ".count($list)." packages will be removed: ".$packages.".\n"; > exec("dpkg --purge ".$packages); > echo "done\n"; > ?> > > Thanks, > _|_|_|_|_| _| _|_|_|_| > _| _|_|_| _| _|_|_| > _| _| _| _|_|_| _| > _| _| _| _| _| > _| _| _| _|_|_|_| _|_|_| > Visit TDS for quality software and website production > http://tysdomain.com > msn: tyler@tysdomain.com > aim: st8amnd2005 > skype: st8amnd127 > _______________________________________________ > Speakup mailing list > Speakup@braille.uwo.ca > http://speech.braille.uwo.ca/mailman/listinfo/speakup >