germinate should not examine all components in PPAs
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
germinate (Ubuntu) |
Fix Released
|
Medium
|
Unassigned |
Bug Description
Binary package hint: germinate
Given the recent change to launchpad, specifically:
https:/
PPAs no longer contain all components.
As such when updating the linaro-meta pkg with
germinate-
with an update.cfg as follows :
-------
[DEFAULT]
dist: natty
[natty]
seeds: linaro-headless linaro-developement linaro-x11-base linaro-netbook-efl linaro-xfce-base linaro-alip linaro-
architectures: i386 amd64 armel powerpc
seed_base: http://
archive_
archive_base/ports: http://
archive_base/armel: %(archive_
archive_
components: main universe
[natty/bzr]
seed_base: bzr+ssh:
seed_dist: linaro.%(dist)s
---------
Note the use of the linaro-
Because of the launchpad change this now fails with the following output:
tgall@halimede:
[info] Initialising linaro-* package lists update...
[i386] Downloading available package lists...
Downloading http://
Decompressing http://
Downloading http://
Decompressing http://
Downloading http://
Decompressing http://
Downloading http://
Decompressing http://
Downloading http://
Decompressing http://
Downloading http://
Decompressing http://
Downloading http://
Decompressing http://
Downloading http://
Downloading http://
Downloading http://
Traceback (most recent call last):
File "/usr/bin/
main()
File "/usr/bin/
germinator, [dist], components, architecture, cleanup=True)
File "/usr/lib/
"binary-" + arch + "/Packages"),
File "/usr/lib/
tag_file = open_tag_
File "/usr/lib/
url_f = urllib2.
File "/usr/lib/
return _opener.open(url, data, timeout)
File "/usr/lib/
response = meth(req, response)
File "/usr/lib/
'http', request, response, code, msg, hdrs)
File "/usr/lib/
return self._call_
File "/usr/lib/
result = func(*args)
File "/usr/lib/
raise HTTPError(
urllib2.HTTPError: HTTP Error 404: Not Found
The contents of http://
Germinate needs to be changed to take this change in launchpad into account.
Related branches
tags: | added: patch |
Changed in germinate (Ubuntu): | |
status: | New → Triaged |
Changed in germinate (Ubuntu): | |
status: | Triaged → Fix Committed |
importance: | Undecided → Medium |
I don't intend to add special cases for any archive, PPAs or not. However, clearly this is awkward since you want universe from the first archive in the list but want to disregard the fact that it doesn't exist in the second, and there's no way to configure that explicitly in germinate (it would probably be excessively verbose anyway). Perhaps a reasonable solution would be to raise an exception only if one of the specified components doesn't exist in *any* of the specified archives.