[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#368361: Bug found



Hi,

I finally found the problem. It really wasn't easy to guess. In fact,
since the addition of diff-based Packages, apt-get tries to fetch
a file called Packages.diff/Index, which contains the index of the
diffs.

On my personal repository, I do not use diff-based Packages, so there's
no Packages.diff directory and no Packages.diff/Index. However, I had
an Apache rewrite rule which had the effect of returning an HTML
webpage instead of a 404 when querying for Packages.diff/Index. So
apt-get thought that a Packages.diff/Index was available and tried to
use it... without success. So I fixed the rewrite rule in order to
return a 403 when trying to access Packages.diff/Index and it fixed the
problem.

However, it took me a very long time to find the problem. Maybe the
output of apt-get could be improved in order to display that the
problem is with the Packages.diff/Index file ?

Thanks,

Thomas
-- 
PETAZZONI Thomas - thomas.petazzoni@enix.org 
http://{thomas,sos,kos}.enix.org - Jabber: thomas.petazzoni@jabber.dk
http://{agenda,livret}dulibre.org - http://www.toulibre.org
Fingerprint : 0BE1 4CF3 CEA4 AC9D CC6E  1624 F653 CB30 98D3 F7A7



Reply to: