public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user] how to clean up /usr/portage/distfiles?
@ 2009-09-01 14:59 Xi Shen
  2009-09-01 15:05 ` Pintér Tibor
                   ` (5 more replies)
  0 siblings, 6 replies; 8+ messages in thread
From: Xi Shen @ 2009-09-01 14:59 UTC (permalink / raw
  To: gentoo-china, gentoo-user

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?


-- 
Best Regards,
David Shen

http://twitter.com/davidshen84



^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [gentoo-user] how to clean up /usr/portage/distfiles?
  2009-09-01 14:59 [gentoo-user] how to clean up /usr/portage/distfiles? Xi Shen
@ 2009-09-01 15:05 ` Pintér Tibor
  2009-09-01 15:05 ` Renat Golubchyk
                   ` (4 subsequent siblings)
  5 siblings, 0 replies; 8+ messages in thread
From: Pintér Tibor @ 2009-09-01 15:05 UTC (permalink / raw
  To: gentoo-user

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



^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [gentoo-user] how to clean up /usr/portage/distfiles?
  2009-09-01 14:59 [gentoo-user] how to clean up /usr/portage/distfiles? Xi Shen
  2009-09-01 15:05 ` Pintér Tibor
@ 2009-09-01 15:05 ` Renat Golubchyk
  2009-09-01 15:05 ` Jesús Guerrero
                   ` (3 subsequent siblings)
  5 siblings, 0 replies; 8+ messages in thread
From: Renat Golubchyk @ 2009-09-01 15:05 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 570 bytes --]

Hi!

On Tue, 1 Sep 2009 22:59:09 +0800
Xi Shen <davidshen84@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)

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 198 bytes --]

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [gentoo-user] how to clean up /usr/portage/distfiles?
  2009-09-01 14:59 [gentoo-user] how to clean up /usr/portage/distfiles? Xi Shen
  2009-09-01 15:05 ` Pintér Tibor
  2009-09-01 15:05 ` Renat Golubchyk
@ 2009-09-01 15:05 ` Jesús Guerrero
  2009-09-01 15:11 ` William Hubbs
                   ` (2 subsequent siblings)
  5 siblings, 0 replies; 8+ messages in thread
From: Jesús Guerrero @ 2009-09-01 15:05 UTC (permalink / raw
  To: gentoo-user

On Tue, 1 Sep 2009 22:59:09 +0800, Xi Shen <davidshen84@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



^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [gentoo-user] how to clean up /usr/portage/distfiles?
  2009-09-01 14:59 [gentoo-user] how to clean up /usr/portage/distfiles? Xi Shen
                   ` (2 preceding siblings ...)
  2009-09-01 15:05 ` Jesús Guerrero
@ 2009-09-01 15:11 ` William Hubbs
  2009-09-01 15:11 ` Florian Philipp
  2009-09-01 15:18 ` Frank Steinmetzger
  5 siblings, 0 replies; 8+ messages in thread
From: William Hubbs @ 2009-09-01 15:11 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 569 bytes --]

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
williamh@gentoo.org

[-- Attachment #2: Type: application/pgp-signature, Size: 198 bytes --]

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [gentoo-user] how to clean up /usr/portage/distfiles?
  2009-09-01 14:59 [gentoo-user] how to clean up /usr/portage/distfiles? Xi Shen
                   ` (3 preceding siblings ...)
  2009-09-01 15:11 ` William Hubbs
@ 2009-09-01 15:11 ` Florian Philipp
  2009-09-01 15:18 ` Frank Steinmetzger
  5 siblings, 0 replies; 8+ messages in thread
From: Florian Philipp @ 2009-09-01 15:11 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 551 bytes --]

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


[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 261 bytes --]

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [gentoo-user] how to clean up /usr/portage/distfiles?
  2009-09-01 14:59 [gentoo-user] how to clean up /usr/portage/distfiles? Xi Shen
                   ` (4 preceding siblings ...)
  2009-09-01 15:11 ` Florian Philipp
@ 2009-09-01 15:18 ` Frank Steinmetzger
  2009-09-02  1:05   ` Xi Shen
  5 siblings, 1 reply; 8+ messages in thread
From: Frank Steinmetzger @ 2009-09-01 15:18 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 929 bytes --]

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)

[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 198 bytes --]

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [gentoo-user] how to clean up /usr/portage/distfiles?
  2009-09-01 15:18 ` Frank Steinmetzger
@ 2009-09-02  1:05   ` Xi Shen
  0 siblings, 0 replies; 8+ messages in thread
From: Xi Shen @ 2009-09-02  1:05 UTC (permalink / raw
  To: gentoo-user

thanks you all. will try the eclean out ;)


On Tue, Sep 1, 2009 at 11:18 PM, Frank Steinmetzger<Warp_7@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



^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2009-09-01 19:56 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-09-01 14:59 [gentoo-user] how to clean up /usr/portage/distfiles? Xi Shen
2009-09-01 15:05 ` Pintér Tibor
2009-09-01 15:05 ` Renat Golubchyk
2009-09-01 15:05 ` Jesús Guerrero
2009-09-01 15:11 ` William Hubbs
2009-09-01 15:11 ` Florian Philipp
2009-09-01 15:18 ` Frank Steinmetzger
2009-09-02  1:05   ` Xi Shen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox