germinate does not support multiple repositories on the same host

Bug #634831 reported by Alexandros Frantzis
14
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Launchpad itself
Fix Released
Medium
Colin Watson
germinate (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

Binary package hint: germinate

germinate supports multiple repositories (eg in archive_base/default) but when repositories are on the same host only the first one of them is processed.

For example:

archive_base/default: http://archive.ubuntu.com/ubuntu/,http://ppa.launchpad.net/linaro-maintainers/overlay/ubuntu/,http://ppa.launchpad.net/asac/armel1/ubuntu/,http://ppa.launchpad.net/tom-gall/ui-alip/ubuntu/

will only fetch packages from the http://archive.ubuntu.com/ubuntu/ and http://ppa.launchpad.net/linaro-maintainers/overlay/ubuntu/ repositories and ignore the last two.

This happens because the downloaded apt tag file name includes only the host portion of the repository URL, so when germinate processes the last two URLs it thinks it has already downloaded the tag files for them.

The attached patch fixes this issue by including the complete repository URL in the saved tag file name.

Related branches

Revision history for this message
Alexandros Frantzis (afrantzis) wrote :
Revision history for this message
Colin Watson (cjwatson) wrote :

This patch will break Launchpad. We need to future-proof that first.

Revision history for this message
Colin Watson (cjwatson) wrote :

Specifically, the problem with Launchpad is that it writes to archive.ubuntu.com_* files in cron.germinate. These files aren't part of germinate's documented interface, so it should be taking a different approach. I'll propose a branch for merging shortly.

Jelmer Vernooij (jelmer)
Changed in soyuz:
status: New → Triaged
importance: Undecided → Medium
Revision history for this message
Launchpad QA Bot (lpqabot) wrote : Bug fixed by a commit
Changed in soyuz:
assignee: nobody → Colin Watson (cjwatson)
milestone: none → 10.12
tags: added: qa-needstesting
Changed in soyuz:
status: Triaged → Fix Committed
Changed in soyuz:
milestone: 10.12 → none
Revision history for this message
Jelmer Vernooij (jelmer) wrote :

Colin has done testing of this on dogfood before it landed.

tags: added: qa-ok
removed: qa-needstesting
Curtis Hovey (sinzui)
Changed in launchpad:
status: Fix Committed → Fix Released
Curtis Hovey (sinzui)
Changed in launchpad:
milestone: none → 11.01
Changed in germinate (Ubuntu):
status: New → Confirmed
Revision history for this message
Sergey "Shnatsel" Davidoff (shnatsel) wrote :

This is fixed in Germinate v1.27

Changed in germinate (Ubuntu):
status: Confirmed → Fix Released
Revision history for this message
Colin Watson (cjwatson) wrote :

germinate (1.27) unstable; urgency=low

  [ Alexandros Frantzis ]
  * Change local tag file name format to permit multiple repositories on the
    same host (LP: #634831).

 -- Colin Watson <email address hidden> Thu, 25 Aug 2011 16:32:12 +0100

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.