>I don't understand what you wanted to >accomplish by writing this script then don't run it. It was provided for someone who may have a use for it, as I have. Thanks, _|_|_|_|_| _| _|_|_|_| _| _|_|_| _| _|_|_| _| _| _| _|_|_| _| _| _| _| _| _| _| _| _| _|_|_|_| _|_|_| Visit TDS for quality software and website production http://tysdomain.com msn: tyler at tysdomain.com aim: st8amnd2005 skype: st8amnd127 ----- Original Message ----- From: "Erik Heil" <eheil@xxxxxxxxxxxxxxxx> To: "Speakup is a screen review system for Linux." <speakup at braille.uwo.ca> Sent: Saturday, September 27, 2008 7:11 PM Subject: Re: cleaning dependencies > > Wait a sec here. Their is also packages in Debian which do a better job > than deborphan. Their is such a package which removes a lot of cruft . . > In fact, its called exactly that. I don't understand what you wanted to > accomplish by writing this script. > > On Sat, 27 Sep 2008, Tyler Littlefield wrote: > >> Date: Sat, 27 Sep 2008 18:56:00 -0600 >> From: Tyler Littlefield <tyler at tysdomain.com> >> Reply-To: Speakup is a screen review system for Linux. >> <speakup at braille.uwo.ca> >> To: Speakup is a screen review system for Linux. <speakup at braille.uwo.ca> >> Subject: Re: cleaning dependencies >> >> it is. deborphan removes stuff that it doesn't see. >> >> Thanks, >> _|_|_|_|_| _| _|_|_|_| >> _| _|_|_| _| _|_|_| >> _| _| _| _|_|_| _| >> _| _| _| _| _| >> _| _| _| _|_|_|_| _|_|_| >> Visit TDS for quality software and website production >> http://tysdomain.com >> msn: tyler at tysdomain.com >> aim: st8amnd2005 >> skype: st8amnd127 >> ----- Original Message ----- From: "luke" <speakup at lists.tacticus.com> >> To: "Speakup is a screen review system for Linux." >> <speakup at braille.uwo.ca> >> Sent: Saturday, September 27, 2008 6:48 PM >> Subject: Re: cleaning dependencies >> >> >> > 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 >> > > <?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 at tysdomain.com >> > > aim: st8amnd2005 >> > > skype: st8amnd127 >> > > _______________________________________________ >> > > Speakup mailing list >> > > Speakup at braille.uwo.ca >> > > http://speech.braille.uwo.ca/mailman/listinfo/speakup >> > > >> > _______________________________________________ >> > Speakup mailing list >> > Speakup at braille.uwo.ca >> > http://speech.braille.uwo.ca/mailman/listinfo/speakup >> > >> > __________ NOD32 3477 (20080927) Information __________ >> > >> > This message was checked by NOD32 antivirus system. >> > http://www.eset.com >> > >> > >> >> _______________________________________________ >> Speakup mailing list >> Speakup at braille.uwo.ca >> http://speech.braille.uwo.ca/mailman/listinfo/speakup >> > > eheil at sdf.lonestar.org > SDF Public Access UNIX System - http://sdf.lonestar.org > _______________________________________________ > Speakup mailing list > Speakup at braille.uwo.ca > http://speech.braille.uwo.ca/mailman/listinfo/speakup > > __________ NOD32 3477 (20080927) Information __________ > > This message was checked by NOD32 antivirus system. > http://www.eset.com > >