Bug#366931: Apt fails of 0 byte files
Michael Vogt wrote:
> On Fri, May 12, 2006 at 12:59:42AM -0700, C.Y.M wrote:
>> Package: apt
>> Version: 0.6.44
>> Severity: important
>
> Thanks for your bugreport.
>
>> When I type "apt-get source", apt fails on the following:
>>
>> Reading package lists... Done
>> Building dependency tree... Done
>> E: Unable to parse package file
>> /var/lib/apt/lists/sentinel.dk_debian_dists_unstable_contrib_source_Sources (2)
>> E: Unable to parse package file
>> /var/lib/apt/lists/sentinel.dk_debian_dists_unstable_non-free_source_Sources (2)
>>
>>
>> If i go back to the previous version of apt, then it works fine. With the
>> current version of apt, I am unable to get any source using "apt-get source".
>> The twi files above that apt-get fails on are 0 byte files.
> [..]
>
> Do I understand this correctly, the previous version worked with zero
> size files? The new one does not? (it is not the new version that
> incorrectly creates those zero byte files)?
>
That is correct, the zero byte files were always there from both versions of
apt. The new version of apt is just unable to parse the zero byte files like
the previous version can.
BR.
Reply to: