Re: [gentoo-user] how to clean up

2021-05-13 Thread n952162

On 5/14/21 12:36 AM, Dale wrote:

Manuel McLure wrote:

On Thu, May 13, 2021 at 2:47 PM n952162 mailto:n952...@web.de>> wrote:

 Hi,

 I'm running out of space and I see I have many versions of all
 pkgs.  Is
 the proper way to get rid of all older tarballs - but retain the
 current
 ones - to simply use the --clean option with emerge?  Any other
 options
 necessary?


You might want to
give https://wiki.gentoo.org/wiki/Knowledge_Base:Remove_obsoleted_distfiles
a read.

--
Manuel A. McLure WW1FA mailto:man...@mclure.org>>

...for in Ulthar, according to an ancient and significant law,
no man may kill a cat.                       -- H.P. Lovecraft


That above is how I clean up mine as well.  When I do a large update, I
give it a few days to make sure everything works and then run the following:


eclean-dist -dq

eclean-pkg -dq


The -d option tells it to leave only what is installed and needed for
recovery.  It leaves a bare minimum of packages.  If you omit that, it
will leave any package versions that is still listed in the tree.
That's my recollection of it anyway.  You may want to start just running
with no options at all.  It's the most conservative method.  If you
still need more space, add -d to get more things deleted.  The -q just
means quiet.  I think it has a -p for pretend so you could run as -p and
then -pd to see the difference.  The options work the same for both
commands.

One of those should work.  I might add, the man page isn't bad.  It
gives quite a bit of details and even examples.

Hope that helps.

Dale

:-)  :-)



Thank you.




Re: [gentoo-user] how to clean up

2021-05-13 Thread n952162

On 5/13/21 11:58 PM, Manuel McLure wrote:

On Thu, May 13, 2021 at 2:47 PM n952162 mailto:n952...@web.de>> wrote:

Hi,

I'm running out of space and I see I have many versions of all
pkgs.  Is
the proper way to get rid of all older tarballs - but retain the
current
ones - to simply use the --clean option with emerge?  Any other
options
necessary?


You might want to give
https://wiki.gentoo.org/wiki/Knowledge_Base:Remove_obsoleted_distfiles

a read.

--
Manuel A. McLure WW1FA mailto:man...@mclure.org>>
>
...for in Ulthar, according to an ancient and significant law,
no man may kill a cat.                       -- H.P. Lovecraft



Thank you, that was it.



Re: [gentoo-user] how to clean up

2021-05-13 Thread Dale
Manuel McLure wrote:
> On Thu, May 13, 2021 at 2:47 PM n952162  > wrote:
>
> Hi,
>
> I'm running out of space and I see I have many versions of all
> pkgs.  Is
> the proper way to get rid of all older tarballs - but retain the
> current
> ones - to simply use the --clean option with emerge?  Any other
> options
> necessary?
>
>
> You might want to
> give https://wiki.gentoo.org/wiki/Knowledge_Base:Remove_obsoleted_distfiles
> a read. 
>
> -- 
> Manuel A. McLure WW1FA mailto:man...@mclure.org>>
> 
> ...for in Ulthar, according to an ancient and significant law,
> no man may kill a cat.                       -- H.P. Lovecraft


That above is how I clean up mine as well.  When I do a large update, I
give it a few days to make sure everything works and then run the following:


eclean-dist -dq

eclean-pkg -dq


The -d option tells it to leave only what is installed and needed for
recovery.  It leaves a bare minimum of packages.  If you omit that, it
will leave any package versions that is still listed in the tree. 
That's my recollection of it anyway.  You may want to start just running
with no options at all.  It's the most conservative method.  If you
still need more space, add -d to get more things deleted.  The -q just
means quiet.  I think it has a -p for pretend so you could run as -p and
then -pd to see the difference.  The options work the same for both
commands. 

One of those should work.  I might add, the man page isn't bad.  It
gives quite a bit of details and even examples. 

Hope that helps.

Dale

:-)  :-) 



Re: [gentoo-user] how to clean up

2021-05-13 Thread Manuel McLure
On Thu, May 13, 2021 at 2:47 PM n952162  wrote:

> Hi,
>
> I'm running out of space and I see I have many versions of all pkgs.  Is
> the proper way to get rid of all older tarballs - but retain the current
> ones - to simply use the --clean option with emerge?  Any other options
> necessary?
>
>
You might want to give
https://wiki.gentoo.org/wiki/Knowledge_Base:Remove_obsoleted_distfiles a
read.

-- 
Manuel A. McLure WW1FA  
...for in Ulthar, according to an ancient and significant law,
no man may kill a cat.   -- H.P. Lovecraft


Re: [gentoo-user] how to clean up /usr/portage/distfiles?

2009-09-01 Thread Pintér Tibor

Xi Shen wrote:

Hi,

as you emerge, the /usr/portage/distfiles get stuffed with old
packaged. even through it is safe to delete them all, and d/l again
when needed, but i just want to remove only the old version. is there
any way, or any tool to help with this task?




find  -exec ?

t



Re: [gentoo-user] how to clean up /usr/portage/distfiles?

2009-09-01 Thread Renat Golubchyk
Hi!

On Tue, 1 Sep 2009 22:59:09 +0800
Xi Shen davidshe...@googlemail.com wrote:
 as you emerge, the /usr/portage/distfiles get stuffed with old
 packaged. even through it is safe to delete them all, and d/l again
 when needed, but i just want to remove only the old version. is there
 any way, or any tool to help with this task?

Check out eclean from app-portage/gentoolkit.


Cheers,
Renat

-- 
Probleme kann man niemals mit derselben Denkweise loesen,
durch die sie entstanden sind.
  (Einstein)


signature.asc
Description: PGP signature


Re: [gentoo-user] how to clean up /usr/portage/distfiles?

2009-09-01 Thread Jesús Guerrero
On Tue, 1 Sep 2009 22:59:09 +0800, Xi Shen davidshe...@googlemail.com
wrote:
 Hi,
 
 as you emerge, the /usr/portage/distfiles get stuffed with old
 packaged. even through it is safe to delete them all, and d/l again
 when needed, but i just want to remove only the old version. is there
 any way, or any tool to help with this task?

emerge gentoolkit
eclean -d distfiles
-- 
Jesús Guerrero



Re: [gentoo-user] how to clean up /usr/portage/distfiles?

2009-09-01 Thread William Hubbs
Hi David,

On Tue, Sep 01, 2009 at 10:59:09PM +0800, Xi Shen wrote:
 Hi,
 
 as you emerge, the /usr/portage/distfiles get stuffed with old
 packaged. even through it is safe to delete them all, and d/l again
 when needed, but i just want to remove only the old version. is there
 any way, or any tool to help with this task?
 
Yes, there is a tool called eclean which will handle this.  It is in the
gentoolkit package, so emerge gentoolkit and you should have it.

Thanks,

-- 
William Hubbs
gentoo accessibility team lead
willi...@gentoo.org


pgpjvVEyXT2oD.pgp
Description: PGP signature


Re: [gentoo-user] how to clean up /usr/portage/distfiles?

2009-09-01 Thread Florian Philipp
Xi Shen schrieb:
 Hi,
 
 as you emerge, the /usr/portage/distfiles get stuffed with old
 packaged. even through it is safe to delete them all, and d/l again
 when needed, but i just want to remove only the old version. is there
 any way, or any tool to help with this task?
 
 

Take a look at eclean-dist. It belongs to app-portage/gentoolkit.

A normal call removes all packages that are no longer in the portage
tree. A call with -d removes everything that's not installed at the moment.

Hope this helps
Florian Philipp



signature.asc
Description: OpenPGP digital signature


Re: [gentoo-user] how to clean up /usr/portage/distfiles?

2009-09-01 Thread Frank Steinmetzger
Am Dienstag, 1. September 2009 schrieb Xi Shen:
 Hi,

 as you emerge, the /usr/portage/distfiles get stuffed with old
 packaged. even through it is safe to delete them all, and d/l again
 when needed, but i just want to remove only the old version. is there
 any way, or any tool to help with this task?

Whenever I do some updates, afterwards I go into my distfiles folder with 
krusader, sort by date and select the newly added files.
Then I sort by name again and scroll through the list. Because the new ones 
are marked, I can find them easily and see whether there are old versions of 
them right next to them. If so, I select the old version. Then I deselect the 
old version. And when I'm through the list, I can delete everything that is 
still selected.

This is more thorough than eclean, which by far doesn't find everything.
-- 
Gruß | Greetings | Qapla'
*** Quits: TITANIC (Excess Flood)


signature.asc
Description: This is a digitally signed message part.


Re: [gentoo-user] how to clean up /usr/portage/distfiles?

2009-09-01 Thread Xi Shen
thanks you all. will try the eclean out ;)


On Tue, Sep 1, 2009 at 11:18 PM, Frank Steinmetzgerwar...@gmx.de wrote:
 Am Dienstag, 1. September 2009 schrieb Xi Shen:
 Hi,

 as you emerge, the /usr/portage/distfiles get stuffed with old
 packaged. even through it is safe to delete them all, and d/l again
 when needed, but i just want to remove only the old version. is there
 any way, or any tool to help with this task?

 Whenever I do some updates, afterwards I go into my distfiles folder with
 krusader, sort by date and select the newly added files.
 Then I sort by name again and scroll through the list. Because the new ones
 are marked, I can find them easily and see whether there are old versions of
 them right next to them. If so, I select the old version. Then I deselect the
 old version. And when I'm through the list, I can delete everything that is
 still selected.

 This is more thorough than eclean, which by far doesn't find everything.
 --
 Gruß | Greetings | Qapla'
 *** Quits: TITANIC (Excess Flood)




-- 
Best Regards,
David Shen

http://twitter.com/davidshen84