diff options
Diffstat (limited to 'Rpmdrake')
-rw-r--r-- | Rpmdrake/pkg.pm | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Rpmdrake/pkg.pm b/Rpmdrake/pkg.pm index 136f2bd9..97333113 100644 --- a/Rpmdrake/pkg.pm +++ b/Rpmdrake/pkg.pm @@ -376,6 +376,7 @@ sub get_pkgs { foreach my $medium (@search_medias) { $update->(); foreach my $pkg_id ($medium->{start} .. $medium->{end}) { + next if !$pkg_id; my $pkg = $urpm->{depslist}[$pkg_id]; $pkg->flag_upgrade or next; my $name = urpm_name($pkg); |