le sam 17-11-2001 à 18:38, Han a écrit :
> With the latest attempt to run my cookerupdate script:
> 
> [~]# cat `which cookerupdate`
> #!/bin/sh
> /usr/sbin/urpmi.update --auto-select && /usr/sbin/urpmi --auto-select
> 
> :)
> 
> ..still fails so I tried using rpmdrake and that failed cause it got
> tons of package conflicts ie it tried to use rpm -ivh instead of rpm
> -Uvh
> 
> Off course the packages were in /usr/rpms, the originating dir for the
> symlink /var/cache/urpmi/rpms ( hint hint ) so a rpm -Uvh * did all
> the updates.

the problème comes from urpmi

#- install package.
my @rpms_install = grep { $_ !~ /\.src.\.rpm/ } values
%{$urpm->extract_packages_to_install(\%sources) || {}};
my @rpms_upgrade = grep { $_ !~ /\.src.\.rpm/ } values %sources;


Would you mind try this ?
#- install package.
my @rpms_install = grep { $_ !~ /\.src.\.rpm/ } values
%{$urpm->extract_packages_to_install(\%sources) || {}};
my @rpms_upgrade = grep { $_ !~ /\.src.\.rpm/ } values
%{$urpm->select_packages_to_upgrade(%sources) || {}};

just modify urpmi. It's the line 293.

-- 
http://perso.wanadoo.fr/linux_wizard/index.html 
-
Ne frappez pas qqn avec des lunettes;
frappez-le avec une batte.


Reply via email to