-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
I had same comportement on ppc, reason is simple:
When someone upload an i586, ppc, or alpha on mirror, only arch is modified.
The problem is when someone upload a noarch rpm, it is upload for all arch,
without check if it need an arch dependant rpm more recent than existing.
For urpmi, in your case, I think you upgraded urpmi (noarch) and not
perl-URPM (arch dependant).
Le Mardi 18 Juin 2002 18:18, Stefan van der Eijk a �crit :
> I've made a script that uses urpmq. Recently the output of my script is
> incorrect on my alpha (but correct on my intel) and I get the following
> error (on the alpha):
>
> Can't call method "arch" on an undefined value at
> /usr/lib/perl5/site_perl/5.6.1/urpm.pm line 1637.
>
> Here is the part of urpm.pm, with line 1637 in *bold*:
>
> foreach my $pkg (@pre_choices) {
> push @choices, $pkg;
>
> *$pkg->arch eq 'src' and return;*
> unless ($options{keep_alldeps} || exists
> $installed{$pkg->id}) {
> $db->traverse_tag('name', [ $pkg->name ], sub {
> my ($p) = @_;
> $installed{$pkg->id} ||=
> $pkg->compare
> _pkg($p) <= 0;
> });
- --
Linux pour Mac !? Enfin le moyen de transformer
une pomme en v�ritable ordinateur. - JL.
Olivier Thauvin - http://nanardon.homelinux.org/
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org
iEYEARECAAYFAj0PYmQACgkQk29cDOWzfVAWaQCgzPezM0/Odfb1u3QuGLqquE4M
vDoAoJZRRiYbUHpO2BiRbmpMVFH7e09G
=cFTZ
-----END PGP SIGNATURE-----