[Bug 813384] [NEW] [backportpackage] fails on oneiric with UNKNOWN_MIRROR error

James Page 813384 at bugs.launchpad.net
Wed Jul 20 08:51:27 UTC 2011


Public bug reported:

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 at 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)

** Affects: ubuntu-dev-tools (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: amd64 apport-bug oneiric

-- 
You received this bug notification because you are a member of MOTU,
which is subscribed to ubuntu-dev-tools in Ubuntu.
https://bugs.launchpad.net/bugs/813384

Title:
  [backportpackage] fails on oneiric with UNKNOWN_MIRROR error

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ubuntu-dev-tools/+bug/813384/+subscriptions




More information about the universe-bugs mailing list