Update location of the Contents files on the mirrors
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Launchpad itself |
New
|
Undecided
|
Unassigned |
Bug Description
Debian and Ubuntu currently do not agree on where to place the "Contents" files on the mirror.
* Debian places them in the component, a la:
- $SUITE/
* Ubuntu places them next to the "InRelease" file:
- $SUITE/
Note that the Debian variant only contains the file names for packages in the given component, where as Ubuntu's (presumably) contain the file names for all packages in the suite.
There is an open question on making this backwards compatible. Currently, apt-file is patched to use the path on the Ubuntu mirrors when it is merged into Ubuntu (apt-file/3.0 still needs a diff here, albeit "only" a configuration change).
* I had a conversation with DonKult (APT maintainer) about making APT able to support "alternative" download locations (in #debian-deity on OFTC).
* If implemented, apt + apt-file/3.X could support the Ubuntu and the Debian location at the same time.
Related topics: Contents-all is supported by apt-file/3.0 (don't remember if APT can be told to fetch it though). It might be worth investigating separating the "arch:all" parts from Contents-$ARCH at the same time.
NB: Colin Watson suggested I filed this a bug against launchpad.
Re: Contents-all: Very recent versions of apt and apt-file should be ready for this. See https:/ /wiki.debian. org/RepositoryF ormat#No- Support- for-Architectur e-all for how to declare the Contents-all file being split.