* cleaning dependencies
@ Tyler Littlefield
` luke
` Tony Baechler
0 siblings, 2 replies; 8+ messages in thread
From: Tyler Littlefield @ UTC (permalink / raw)
To: Speakup is a screen review system for Linux.
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@tysdomain.com
aim: st8amnd2005
skype: st8amnd127
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: cleaning dependencies
cleaning dependencies Tyler Littlefield
@ ` luke
` Tyler Littlefield
` Tony Baechler
1 sibling, 1 reply; 8+ messages in thread
From: luke @ UTC (permalink / raw)
To: Speakup is a screen review system for Linux.
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@tysdomain.com
> aim: st8amnd2005
> skype: st8amnd127
> _______________________________________________
> Speakup mailing list
> Speakup@braille.uwo.ca
> http://speech.braille.uwo.ca/mailman/listinfo/speakup
>
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: cleaning dependencies
` luke
@ ` Tyler Littlefield
` Erik Heil
0 siblings, 1 reply; 8+ messages in thread
From: Tyler Littlefield @ UTC (permalink / raw)
To: Speakup is a screen review system for Linux.
it is. deborphan removes stuff that it doesn't see.
Thanks,
_|_|_|_|_| _| _|_|_|_|
_| _|_|_| _| _|_|_|
_| _| _| _|_|_| _|
_| _| _| _| _|
_| _| _| _|_|_|_| _|_|_|
Visit TDS for quality software and website production
http://tysdomain.com
msn: tyler@tysdomain.com
aim: st8amnd2005
skype: st8amnd127
----- Original Message -----
From: "luke" <speakup@lists.tacticus.com>
To: "Speakup is a screen review system for Linux." <speakup@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@tysdomain.com
>> aim: st8amnd2005
>> skype: st8amnd127
>> _______________________________________________
>> Speakup mailing list
>> Speakup@braille.uwo.ca
>> http://speech.braille.uwo.ca/mailman/listinfo/speakup
>>
> _______________________________________________
> Speakup mailing list
> Speakup@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
>
>
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: cleaning dependencies
` Tyler Littlefield
@ ` Erik Heil
` Tyler Littlefield
0 siblings, 1 reply; 8+ messages in thread
From: Erik Heil @ UTC (permalink / raw)
To: Speakup is a screen review system for Linux.
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@tysdomain.com>
> Reply-To: Speakup is a screen review system for Linux.
> <speakup@braille.uwo.ca>
> To: Speakup is a screen review system for Linux. <speakup@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@tysdomain.com
> aim: st8amnd2005
> skype: st8amnd127
> ----- Original Message ----- From: "luke" <speakup@lists.tacticus.com>
> To: "Speakup is a screen review system for Linux." <speakup@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@tysdomain.com
> > > aim: st8amnd2005
> > > skype: st8amnd127
> > > _______________________________________________
> > > Speakup mailing list
> > > Speakup@braille.uwo.ca
> > > http://speech.braille.uwo.ca/mailman/listinfo/speakup
> > >
> > _______________________________________________
> > Speakup mailing list
> > Speakup@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@braille.uwo.ca
> http://speech.braille.uwo.ca/mailman/listinfo/speakup
>
eheil@sdf.lonestar.org
SDF Public Access UNIX System - http://sdf.lonestar.org
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: cleaning dependencies
` Erik Heil
@ ` Tyler Littlefield
` Tyler Littlefield
0 siblings, 1 reply; 8+ messages in thread
From: Tyler Littlefield @ UTC (permalink / raw)
To: Speakup is a screen review system for Linux.
>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@tysdomain.com
aim: st8amnd2005
skype: st8amnd127
----- Original Message -----
From: "Erik Heil" <eheil@sdf.lonestar.org>
To: "Speakup is a screen review system for Linux." <speakup@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@tysdomain.com>
>> Reply-To: Speakup is a screen review system for Linux.
>> <speakup@braille.uwo.ca>
>> To: Speakup is a screen review system for Linux. <speakup@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@tysdomain.com
>> aim: st8amnd2005
>> skype: st8amnd127
>> ----- Original Message ----- From: "luke" <speakup@lists.tacticus.com>
>> To: "Speakup is a screen review system for Linux."
>> <speakup@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@tysdomain.com
>> > > aim: st8amnd2005
>> > > skype: st8amnd127
>> > > _______________________________________________
>> > > Speakup mailing list
>> > > Speakup@braille.uwo.ca
>> > > http://speech.braille.uwo.ca/mailman/listinfo/speakup
>> > >
>> > _______________________________________________
>> > Speakup mailing list
>> > Speakup@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@braille.uwo.ca
>> http://speech.braille.uwo.ca/mailman/listinfo/speakup
>>
>
> eheil@sdf.lonestar.org
> SDF Public Access UNIX System - http://sdf.lonestar.org
> _______________________________________________
> Speakup mailing list
> Speakup@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
>
>
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: cleaning dependencies
` Tyler Littlefield
@ ` Tyler Littlefield
0 siblings, 0 replies; 8+ messages in thread
From: Tyler Littlefield @ UTC (permalink / raw)
To: Speakup is a screen review system for Linux.
I just checked in to cruft, as well.
It's used to find missing files, and problems with the fs.
It's purpose isn't fully clear, but it seems to not serve the same purpose
as deborphan.
Thanks,
_|_|_|_|_| _| _|_|_|_|
_| _|_|_| _| _|_|_|
_| _| _| _|_|_| _|
_| _| _| _| _|
_| _| _| _|_|_|_| _|_|_|
Visit TDS for quality software and website production
http://tysdomain.com
msn: tyler@tysdomain.com
aim: st8amnd2005
skype: st8amnd127
----- Original Message -----
From: "Tyler Littlefield" <tyler@tysdomain.com>
To: "Speakup is a screen review system for Linux." <speakup@braille.uwo.ca>
Sent: Saturday, September 27, 2008 7:13 PM
Subject: Re: cleaning dependencies
> >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@tysdomain.com
> aim: st8amnd2005
> skype: st8amnd127
> ----- Original Message -----
> From: "Erik Heil" <eheil@sdf.lonestar.org>
> To: "Speakup is a screen review system for Linux."
> <speakup@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@tysdomain.com>
>>> Reply-To: Speakup is a screen review system for Linux.
>>> <speakup@braille.uwo.ca>
>>> To: Speakup is a screen review system for Linux.
>>> <speakup@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@tysdomain.com
>>> aim: st8amnd2005
>>> skype: st8amnd127
>>> ----- Original Message ----- From: "luke" <speakup@lists.tacticus.com>
>>> To: "Speakup is a screen review system for Linux."
>>> <speakup@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@tysdomain.com
>>> > > aim: st8amnd2005
>>> > > skype: st8amnd127
>>> > > _______________________________________________
>>> > > Speakup mailing list
>>> > > Speakup@braille.uwo.ca
>>> > > http://speech.braille.uwo.ca/mailman/listinfo/speakup
>>> > >
>>> > _______________________________________________
>>> > Speakup mailing list
>>> > Speakup@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@braille.uwo.ca
>>> http://speech.braille.uwo.ca/mailman/listinfo/speakup
>>>
>>
>> eheil@sdf.lonestar.org
>> SDF Public Access UNIX System - http://sdf.lonestar.org
>> _______________________________________________
>> Speakup mailing list
>> Speakup@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@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
>
>
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: cleaning dependencies
cleaning dependencies Tyler Littlefield
` luke
@ ` Tony Baechler
` Tyler Littlefield
1 sibling, 1 reply; 8+ messages in thread
From: Tony Baechler @ UTC (permalink / raw)
To: Speakup is a screen review system for Linux.
Tyler Littlefield wrote:
> I wrote a quitk script, figured it could probably be used, so here ya go:
>
Why not just do:
dpkg --purge `deborphan`
Or to remove all unused packages, not just libraries, I think use the -a
switch, but that usually removes things you want to keep.
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: cleaning dependencies
` Tony Baechler
@ ` Tyler Littlefield
0 siblings, 0 replies; 8+ messages in thread
From: Tyler Littlefield @ UTC (permalink / raw)
To: Speakup is a screen review system for Linux.
hmm. didn't know about running commands like that. guess that works, too. :)
Thanks,
_|_|_|_|_| _| _|_|_|_|
_| _|_|_| _| _|_|_|
_| _| _| _|_|_| _|
_| _| _| _| _|
_| _| _| _|_|_|_| _|_|_|
Visit TDS for quality software and website production
http://tysdomain.com
msn: tyler@tysdomain.com
aim: st8amnd2005
skype: st8amnd127
----- Original Message -----
From: "Tony Baechler" <tony@baechler.net>
To: "Speakup is a screen review system for Linux." <speakup@braille.uwo.ca>
Sent: Sunday, September 28, 2008 4:22 AM
Subject: Re: cleaning dependencies
> Tyler Littlefield wrote:
>> I wrote a quitk script, figured it could probably be used, so here ya go:
>>
>
>
> Why not just do:
>
> dpkg --purge `deborphan`
>
> Or to remove all unused packages, not just libraries, I think use the -a
> switch, but that usually removes things you want to keep.
> _______________________________________________
> Speakup mailing list
> Speakup@braille.uwo.ca
> http://speech.braille.uwo.ca/mailman/listinfo/speakup
>
> __________ NOD32 3478 (20080928) Information __________
>
> This message was checked by NOD32 antivirus system.
> http://www.eset.com
>
>
^ permalink raw reply [flat|nested] 8+ messages in thread
end of thread, other threads:[~ UTC | newest]
Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
cleaning dependencies Tyler Littlefield
` luke
` Tyler Littlefield
` Erik Heil
` Tyler Littlefield
` Tyler Littlefield
` Tony Baechler
` Tyler Littlefield
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).