From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 12616 invoked by uid 1002); 12 Nov 2002 17:57:28 -0000 Mailing-List: contact gentoo-dev-help@gentoo.org; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-dev@gentoo.org Received: (qmail 12607 invoked from network); 12 Nov 2002 17:57:28 -0000 Date: Tue, 12 Nov 2002 17:56:59 +0000 From: =?iso-8859-15?Q?Jos=E9?= Fonseca To: Nils Ohlmeier Cc: gentoo-dev@gentoo.org Message-ID: <20021112175659.GA1575@localhost.localdomain> References: <20021111203828.GA10784@localhost.localdomain> <20021111212849.A23035@twobit.net> <20021112102144.GA20309@localhost.localdomain> <200211121637.39617.lists@ohlmeier.de> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-15 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <200211121637.39617.lists@ohlmeier.de> User-Agent: Mutt/1.4i Subject: Re: [gentoo-dev] Script to clean old files from /usr/portage/distfiles X-Archives-Salt: e69962ca-28a4-41f6-a035-9975caa6d6e0 X-Archives-Hash: 284c6bdc5419a50e2725b891659deeb4 On Tue, Nov 12, 2002 at 04:37:39PM +0100, Nils Ohlmeier wrote: > First of all great script. I was thinking about such a script a long time but > didn't find the time to do it myself. (And if i did it, it wouldn't be such a > good scipt :-) > > Feedback / Corrections: [...] > I think there is an error in the script in line 53. I changed /tmp/$0.XXXXX > into /tmp/$PROGRAM.XXXXX and then the result looks like this: > Thanks, applied. > cloudcity sbin # distfiles-clean -p > sed: can't read /var/cache/edb/dep/sys-kernel/linux-headers-2.4.19: No > such file or directory > alsa-lib-0.5.10b.tar.bz2 > gaim-0.59.3.tar.bz2 > j2sdk-1_4_1_01-linux-i586.bin * Unfortunately there is nothing one can do to know that the j2sdk-1_4_1_01-linux-i586.bin is used by sun-jdk-1.4.1.01.ebuild because it isn't listed there (SRC_URI=""). The only solution is have an option to pass a file with a list of wildcards of the packages wich should be left alone, for these situations. > kde-i18n-3.0.4.tar.bz2 * > kde-i18n-gentoo.patch * Strange, these two files are listed on /var/cache/edb/dep/app-i18n/kde-i18n-3.0.4 in my system. Aren't they there in yours too? If not, see if doing ebuild /usr/portage/app-i18n/kde-i18n/kde-i18n-3.0.4.ebuild depend helps. > rp8_linux20_libc6_i386_cs2_rpm * rp8_linux20_libc6_i386_cs2_rpm isn't a full URI with slashes '/' so it was being considered as junk by the script. It should be fixed now. > I marked the packets which are installed with an *. So removing of > this would be to much :) Try again, with the script from http://mefriss1.swan.ac.uk/~jfonseca/chest/gentoo/distfiles-clean [to avoid flood everybody inbox with more attachments], by doing distfiles-clean -p -i ignorelist where ignorelist is a file containing j2sdk-*.bin plus anything else you want. Regards, José Fonseca __________________________________________________ Do You Yahoo!? Everything you'll ever need on one web page from News and Sport to Email and Music Charts http://uk.my.yahoo.com -- gentoo-dev@gentoo.org mailing list