[backportpackage] fails on oneiric with UNKNOWN_MIRROR error

Bug #813384 reported by James Page
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
ubuntu-dev-tools (Ubuntu)
New
Undecided
Unassigned

Bug Description

I use the backportpackage tool to push versions of packages for the current development release to PPA's for testing.

Works fine on natty (backporting for oneiric) - however running the same command in oneiric generates the following error message:

(odev-amd64)jamespage@hendrix:~/src/oneiric/spring$ backportpackage -u ppa:james-page/jenkins-upload-testing -d oneiric libspring-java_3.0.5.RELEASE-3ubuntu1.dsc
Traceback (most recent call last):
  File "/usr/bin/backportpackage", line 339, in <module>
    sys.exit(main(sys.argv))
  File "/usr/bin/backportpackage", line 319, in main
    config)
  File "/usr/bin/backportpackage", line 206, in find_package
    mirrors=(mirror,))
  File "/usr/lib/python2.7/dist-packages/ubuntutools/archive.py", line 128, in __init__
    % self.distribution.upper()]]
KeyError: 'UNKNOWN_MIRROR'

Slightly odd use case but still a valid one IMHO

ProblemType: Bug
DistroRelease: Ubuntu 11.10
Package: ubuntu-dev-tools 0.127
ProcVersionSignature: Ubuntu 2.6.38-10.46-generic 2.6.38.7
Uname: Linux 2.6.38-10-generic x86_64
NonfreeKernelModules: aufs cryptd aes_x86_64 aes_generic nls_iso8859_1 nls_cp437 vfat fat binfmt_misc ip6table_filter ip6_tables ipt_MASQUERADE iptable_nat nf_nat nf_conntrack_ipv4 nf_defrag_ipv4 xt_state nf_conntrack ipt_REJECT xt_CHECKSUM iptable_mangle xt_tcpudp iptable_filter ip_tables x_tables bridge stp kvm_intel kvm parport_pc ppdev vesafb snd_hda_codec_hdmi snd_hda_codec_idt arc4 snd_hda_intel snd_hda_codec snd_seq_midi snd_hwdep snd_pcm joydev snd_rawmidi snd_seq_midi_event uvcvideo coretemp snd_seq videodev hid_microsoft snd_timer psmouse dell_laptop video iwlagn fglrx snd_seq_device v4l2_compat_ioctl32 snd dcdbas lp soundcore usbhid snd_page_alloc iwlcore dell_wmi hid serio_raw mac80211 sparse_keymap i7core_edac edac_core parport cfg80211 mmc_block firewire_ohci firewire_core r8169 ahci sdhci_pci sdhci libahci crc_itu_t
Architecture: amd64
Date: Wed Jul 20 09:47:48 2011
PackageArchitecture: all
ProcEnviron:
 PATH=(custom, user)
 SHELL=/bin/bash
SourcePackage: ubuntu-dev-tools
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
James Page (james-page) wrote :
summary: - [backportpackage] fails to backport on oneiric for oneiric with
- UNKNOWN_MIRROR error
+ [backportpackage] fails on oneiric with UNKNOWN_MIRROR error
Revision history for this message
Benjamin Drung (bdrung) wrote :

That's bug #801945 - a nasty regression.

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.