[Bug 1065868] Re: apt-add-repository is broken (cannot convert float NaN to integer)

Robert Roth evfool at gmail.com
Fri Oct 12 16:18:24 UTC 2012


*** This bug is a duplicate of bug 1063350 ***
    https://bugs.launchpad.net/bugs/1063350

Thank you for taking the time to report this bug and helping to make
Ubuntu better. This particular bug has already been reported and is a
duplicate of bug #1063350, so it is being marked as such. Please look at
the other bug report to see if there is any missing information that you
can provide, or to see if there is a workaround for the bug.
Additionally, any further discussion regarding the bug should occur in
the other report. Feel free to continue to report any other bugs you may
find.

** This bug has been marked a duplicate of bug 1063350
   add-apt-repository fails

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to software-properties in Ubuntu.
https://bugs.launchpad.net/bugs/1065868

Title:
  apt-add-repository is broken (cannot convert float NaN to integer)

Status in “software-properties” package in Ubuntu:
  New

Bug description:
  $ sudo apt-add-repository ppa:inkscape.dev/trunk
  You are about to add the following PPA to your system:
   The Inkscape Trunk PPA is intended to provide trunk builds for users who like the bleeding edge. We do not provide official support (you may be able to get support in our irc channel though) for these builds. As always bug reports and feedback are both appreciated. Note, we always try to keep trunk as stable as possible as our developers and testers use it for production work.
   More info: https://launchpad.net/~inkscape.dev/+archive/trunk
  Press [ENTER] to continue or ctrl-c to cancel adding it

  Exception in thread Thread-1:
  Traceback (most recent call last):
    File "/usr/lib/python2.7/threading.py", line 551, in __bootstrap_inner
      self.run()
    File "/usr/lib/python2.7/dist-packages/softwareproperties/ppa.py", line 99, in run
      self.add_ppa_signing_key(self.ppa_path)
    File "/usr/lib/python2.7/dist-packages/softwareproperties/ppa.py", line 132, in add_ppa_signing_key
      tmp_keyring_dir = tempfile.mkdtemp()
    File "/usr/lib/python2.7/tempfile.py", line 322, in mkdtemp
      name = names.next()
    File "/usr/lib/python2.7/tempfile.py", line 141, in next
      letters = [choose(c) for dummy in "123456"]
    File "/usr/lib/python2.7/random.py", line 274, in choice
      return seq[int(self.random() * len(seq))]  # raises IndexError if seq is empty
  ValueError: cannot convert float NaN to integer

  ProblemType: Bug
  DistroRelease: Ubuntu 12.04
  Package: aptitude 0.6.6-1ubuntu1
  ProcVersionSignature: Ubuntu 3.2.0-31.50-generic 3.2.28
  Uname: Linux 3.2.0-31-generic i686
  NonfreeKernelModules: nvidia
  ApportVersion: 2.0.1-0ubuntu13
  Architecture: i386
  Date: Fri Oct 12 03:05:26 2012
  InstallationMedia: Lubuntu 12.04 "Precise Pangolin" - Release i386 (20120423.1)
  ProcEnviron:
   LANGUAGE=en_CA:en
   TERM=xterm
   PATH=(custom, no user)
   LANG=en_CA.UTF-8
   SHELL=/bin/bash
  SourcePackage: aptitude
  UpgradeStatus: No upgrade log present (probably fresh install)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/software-properties/+bug/1065868/+subscriptions




More information about the foundations-bugs mailing list