Stefano Rivera wrote:
> This is still an issue with other Ubuntu-like archives, i.e.
> archive.canonical.com, which I mirror internally for bandwidth-saving
> reasons.
>
> I'm using this hacky patch, but a more general solution would be great:
> ------------------------------------------------------------------
> |--- old/debmirror 2010-04-11 20:32:07.000000000 +0200
> |+++ new/debmirror 2010-10-19 12:10:48.000000000 +0200
> |@@ -1906,7 +1906,7 @@
> |
> | if ($origin eq "none") {
> | $codename = $dist_raw;
> |- } elsif ($origin eq "Ubuntu") {
> |+ } elsif ($origin eq "Ubuntu" || $origin eq "Canonical") {
> | if ($suite) {
> | say("Ubuntu Release file: using Suite ($suite).");
> | $codename = $suite;
> ------------------------------------------------------------------My guess is that this ugly hack was only needed to hande the transition in 1:1.0 when existing mirrors had directories moved around. I suspect if enough of that transition code was removed the hack could be gotten rid of. -- see shy jo
signature.asc
Description: Digital signature

