https://qa.mandrakesoft.com/show_bug.cgi?id=778
[EMAIL PROTECTED] changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Resolution| |FIXED
Summary|urpmi.update -a fails if |urpmi.update -a fails if
|there is no |there is no
|synthesis.hdlist.* |synthesis.hdlist.*
------- Additional Comments From [EMAIL PROTECTED] 2003-01-13 14:20 -------
Le sam 11/01/2003 � 06:00, [Bug 778] a �crit :
This is fixed for next release of urpmi (all 3 occurences of bug!).
------- Additional Comments From [EMAIL PROTECTED] 2003-01-16 11:03 -------
fixed in 4.2-6mdk now uploaded.
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.
------- Reminder: -------
assigned_to: [EMAIL PROTECTED]
description:
If I did urpmi.update -a and did not have synthesis* the following happened:
examining synthesis file [/var/lib/urpmi/synthesis.hdlist.Installation CD 1
(x86) (cdrom1).cz]
examining hdlist file [/var/lib/urpmi/]
problem reading synthesis file ...
In urpm.pm in update_media I changed the $_ (shown) to $medium to make it work.
$urpm->{log}(_("examining synthesis file [%s]",
"$urpm->{statedir}/synthesis.$medium->{hdlist}"));
eval { ($medium->{start}, $medium->{end}) =
$urpm->parse_synthesis("$urpm->{statedir}/synthesis.$medium->{hdlist}") };
unless (defined $medium->{start} && defined $medium->{end}) {
$urpm->{log}(_("examining hdlist file [%s]",
"$urpm->{statedir}/$_->{hdlist}"));
eval { ($_->{start}, $_->{end}) =
$urpm->parse_hdlist("$urpm->{statedir}/$_->{hdlist}", packing => 1) };
unless (defined $medium->{start} && defined $medium->{end}) {
#- this is almost a fatal error, ignore it by default?
$urpm->{error}(_("problem reading synthesis file of medium
\"%s\"", $medium->{name}));
$medium->{ignore} = 1;
}
}