Frans Pop <[email protected]> writes:
> Hi Goswin,
>
> I think this is the last one where I need your help.
>
>> The Packages file is created from the Packages.gz file on download and
>> then bzip2 again for the *.bz2 file. You must have had an error on the
>> previous run that causes Packages.gz to be fetched but gunzip
>> failed. In that rare case it tries to fetch the Packages file
>> directly. Debian used to have the Packages file and still lists it in
>> Release so debmirror still tries that way.
> [...]
>> I have a better patch for this pending with some other changes [...]
>
> Do you remember what change you had in mind for this?
>
> TIA,
> FJP
1) Try to find at least one of Packages.bz2, Packages.gz or Packages
with a correct checksum.
2) If none are found try to download any one of Packages.bz2,
Packages.gz or Packages. If all three fail then error out.
3) Generate the missing files from the existing ones and checksum
them. If the checksum doesn't match try to download. Unless the
gzip or bzip2 behaviour changes or the source mirror is broken that
shouldn't happen.
Unfortunately my patch didn't quite work out that way and got lost in
a harddisk crash before I had the chance (and will) to fix it.
MfG
Goswin
--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]