debmirror cannot download Canonical repository, but reports "Duplicate dist" error instead

Bug #674153 reported by luvr
14
This bug affects 2 people
Affects Status Importance Assigned to Milestone
debmirror (Ubuntu)
Expired
Undecided
Unassigned

Bug Description

Binary package hint: debmirror

Running Ubuntu 10.04, using debmirror 1:2.4.4ubuntu2.
Trying to download the "Canonical" repository into a "PartnerRepos" directory, as follows:

---<cut>---
mkdir PartnerRepos
debmirror --method=http --host=archive.canonical.com --root=ubuntu \
 --dist=lucid,lucid-backports,lucid-proposed,lucid-security,lucid-updates \
 --section=partner --arch=amd64,i386 --progress PartnerRepos
---</cut>---

This terminates with an error: "Duplicate dist"

---<cut>---
Get Release files.
[0%] Getting: dists/lucid/Release... ok
[0%] Getting: dists/lucid/Release.gpg... ok
[0%] Getting: dists/lucid-backports/Release... ok
[0%] Getting: dists/lucid-backports/Release.gpg... ok
Duplicate dist lucid.
---</cut>---

Apparently, the lucid version of "debmirror" assumes that a repository has only one dist by default, and explicitly handles the "Ubuntu" repository in a special way, to support its multiple dists. The same problem occurs under maverick (which uses the same debmirror version as lucid), as well as under the current natty pre-release.

I documented this issue in greater detail at http://ubuntuforums.org/showthread.php?p=10103252#post10103252

Tags: patch
Revision history for this message
luvr (luc-vanrompaey) wrote :
Revision history for this message
Micah Gersten (micahg) wrote :

Thank you for reporting this to Ubuntu. It seems this is unnecessary as the partner archive only uses the release pocket (i.e. lucid, maverick). Do you have a use case why the other pockets are needed?

Changed in debmirror (Ubuntu):
status: New → Incomplete
tags: added: patch
Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for debmirror (Ubuntu) because there has been no activity for 60 days.]

Changed in debmirror (Ubuntu):
status: Incomplete → Expired
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.