summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--urpm.pm4
-rw-r--r--urpmi.spec5
2 files changed, 6 insertions, 3 deletions
diff --git a/urpm.pm b/urpm.pm
index 40853d54..0494201a 100644
--- a/urpm.pm
+++ b/urpm.pm
@@ -1008,7 +1008,7 @@ sub update_media {
foreach my $file (keys %{$urpm->{params}{provides}}) {
$file =~ /^\// or next;
foreach (keys %{$urpm->{params}{provides}{$file} || {}}) {
- eval { push @{$urpm->{params}{info}{$_}{provides}}, $file };
+ eval { push @{$urpm->{params}{info}{$_}{provides}}, $file }; #- HACK
}
}
@@ -1451,7 +1451,7 @@ sub parse_synthesis {
#- an already existing entries has been found, so
#- add additional information (except name or info).
foreach my $tag (keys %info) {
- $tag ne 'name' && $tag ne 'info' and $found->{$tag} ||= $info{$tag};
+ eval { $tag ne 'name' && $tag ne 'info' and $found->{$tag} ||= $info{$tag}; }; #- HACK
}
$serial and $found->{serial} ||= $serial;
$size and $found->{size} ||= $size;
diff --git a/urpmi.spec b/urpmi.spec
index 1e194a3f..2e7f265a 100644
--- a/urpmi.spec
+++ b/urpmi.spec
@@ -2,7 +2,7 @@
Name: urpmi
Version: 3.3
-Release: 15mdk
+Release: 16mdk
License: GPL
Source0: %{name}.tar.bz2
Source1: %{name}.logrotate
@@ -144,6 +144,9 @@ fi
%changelog
+* Wed Feb 27 2002 François Pons <fpons@mandrakesoft.com> 3.3-16mdk
+- fixed possible problem on urpmi update db (perl die workarounded).
+
* Mon Feb 25 2002 François Pons <fpons@mandrakesoft.com> 3.3-15mdk
- fixed not to require Fcntl module (in perl package).
- fixed bad behaviour on src package as user (no message).