[Piuparts-devel] Bug#559048: piuparts: find_default_debian_mirrors() doesn't return suitable mirror for Ubuntu

Krzysztof Klimonda krzysztof.klimonda at gmail.com
Tue Dec 1 14:35:58 UTC 2009


Package: piuparts
Severity: normal


find_default_debian_mirrors() returns first mirror from sources.list, by
default on Ubuntu this line contains only "main" and "restricted" components
but both piuparts and debfoster are in "universe" one. Because of that
piuparts can't install debfoster and bails out.

The attached patch simply moves find_default_debian_mirrors() (renamed
to find_default_mirrors()) to classes that inherit after Defaults() so
it can be implemented on distribution level.


-- System Information:
Debian Release: squeeze/sid
  APT prefers karmic-updates
  APT policy: (500, 'karmic-updates'), (500, 'karmic-security'), (500, 'karmic')
Architecture: i386 (i686)

Kernel: Linux 2.6.31-14-generic (SMP w/1 CPU core)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
-------------- next part --------------
A non-text attachment was scrubbed...
Name: split_get_default_mirrors.diff
Type: text/x-diff
Size: 2713 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/piuparts-devel/attachments/20091201/537b340d/attachment.diff>


More information about the Piuparts-devel mailing list