On Sat, Jan 26, 2019 at 12:39:16PM +1100, Andrew Worsley wrote:
> Package: apt
> Version: 1.8.0~alpha3.1
> Severity: important
> 
> 
>   I maintain a mirror via a local python script which doesn't bother to cache 
> the optional
> Contents files as described in
> https://wiki.debian.org/DebianRepository/Format#A.22Contents.22_indices :
>       
>     "They are optional indices describing which files can be found in which 
> packages"
> 
>   But whilst my debian stretch box happily upgrades my stretch mirror my 
> buster
> mirror is no longer wanting to upgrade my testing box.
> 
>   If I add a URL for my mirror and an official mirror ftp.au.debian.org and 
> do an update
> it appears to fail to update from my mirror complaining about the missing 
> Contents file:

I think that's correct. While the Contents files are optional; if the Release 
file advertises
them, they better be there. 

Partial mirroring is simply not supported - if you advertise it, ship it. I 
mean, the same
applies to architectures or sections: If they're not mirrored, but enabled on a 
client,
they will fail as well.

-- 
debian developer - deb.li/jak | jak-linux.org - free software dev
ubuntu core developer                              i speak de, en

Reply via email to