public inbox for gentoo-dev@lists.gentoo.org
 help / color / mirror / Atom feed
From: "José Fonseca" <j_r_fonseca@yahoo.co.uk>
To: Nils Ohlmeier <lists@ohlmeier.de>
Cc: gentoo-dev@gentoo.org
Subject: Re: [gentoo-dev] Script to clean old files from /usr/portage/distfiles
Date: Tue, 12 Nov 2002 17:56:59 +0000	[thread overview]
Message-ID: <20021112175659.GA1575@localhost.localdomain> (raw)
In-Reply-To: <200211121637.39617.lists@ohlmeier.de>

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


  reply	other threads:[~2002-11-12 17:57 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-11-11 20:38 [gentoo-dev] Script to clean old files from /usr/portage/distfiles José Fonseca
2002-11-11 23:42 ` Johannes Ballé
2002-11-12  1:13   ` José Fonseca
2002-11-12  2:01     ` Marko Mikulicic
     [not found]       ` <20021111212849.A23035@twobit.net>
2002-11-12 10:21         ` José Fonseca
2002-11-12 11:28           ` William Kenworthy
2002-11-12 12:28             ` José Fonseca
2002-11-12 15:37           ` Nils Ohlmeier
2002-11-12 17:56             ` José Fonseca [this message]
2002-11-12 23:12               ` Nils Ohlmeier
2002-11-12  0:29 ` Marko Mikulicic
2002-11-12  0:54   ` José Fonseca
2002-11-12  1:50     ` Marko Mikulicic
  -- strict thread matches above, loose matches on Subject: below --
2003-03-25 18:55 DJ Cozatt
2003-03-25 20:34 ` Chris Bainbridge
2003-03-27  4:53   ` DJ Cozatt

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20021112175659.GA1575@localhost.localdomain \
    --to=j_r_fonseca@yahoo.co.uk \
    --cc=gentoo-dev@gentoo.org \
    --cc=lists@ohlmeier.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox