cleaning dependencies

Tyler Littlefield tyler at tysdomain.com
Sat Sep 27 20:56:00 EDT 2008


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
>
> 




More information about the Speakup mailing list