On Mon, 2009 Aug 17 09:11+0100, Mark Hindley wrote: > > Lying awake considering this more overnight, I realised this would > also break checksumming which only uses the filename without a path.
Well, for one, you wouldn't lop off the directory parts of the filename in apt-cacher-lib.pl:268 :-) That yields the full pool/* path. Then, I believe prefixing the same "host" component as the index file would yield the complete filename under packages/. (I have yet to try this.) > Also, we would need to consider to which distro we assign existing > files which don't have the complete path prepended. That's why I was thinking of the fallback, when long-filename package is missing but a short-filename package is present. That addresses not only existing caches (if there is no upgrade script that renames everything), but also imported packages, which may not have a valid long- filename at all. > I am not rejecting this outright, but I think it is more complicated > than at first sight. Yes, I noticed that as soon as all my long-filename packages disappeared overnight :-) -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org