http://fedoraproject.org/extras/4/i386/repodata/
Eric R. Meyers
ermeyers at adelphia.net
Fri Jul 15 01:37:04 UTC 2005
To whom it may concern,
I downloaded:
http://fedoraproject.org/extras/
http://fedoraproject.org/extras/4/
http://fedoraproject.org/extras/4/386/
http://fedoraproject.org/extras/4/386/repodata/
http://fedoraproject.org/extras/4/386/repodata/repoview
Just to get a better repoview. : )
Repoview's current tally of 1271 packages is incorrect. The actual count
should be 1107.
Run this perl script in http://fedoraproject.org/extras/4/386/ directory, and
it will point you to the files that have multiple versions stored there.
When it doesn't output anything you're done.
----------------------
findrepeats.plx:
----------------------
#!/usr/bin/perl -w
##
opendir( DH, '.' ) || die;
@rpmfile = grep { /\.(i[3]86|noarch)\.rpm$/ } readdir( DH );
closedir( DH );
%seen = ();
foreach $x ( @rpmfile )
{
$x =~ s/\r?\n//;
$x =~ m/^(.+)-([^-]+-.+)[.](i[3]86|noarch)[.]rpm$/;
##debug##printf( "%-30s %s\n", $1, $2 );
if ( ! defined( $seen{$1} ) )
{
$seen{$1} = 1;
}
else
{
printf( "%s\n", $1 );
} ## end if
} ## end foreach
Eric
--
Eric R. Meyers
Systems Engineer
GPG: 0x83CE80A3
http://users.adelphia.net/~ermeyers
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/fedora-extras-list/attachments/20050714/80cf88c2/attachment.sig>
More information about the fedora-extras-list
mailing list