[gentoo-user] how to clean up /usr/portage/distfiles?
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
Re: [gentoo-user] how to clean up /usr/portage/distfiles?
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?
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?
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?
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?
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?
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?
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