[Bug 1065868] Re: apt-add-repository is broken (cannot convert float NaN to integer)
Launchpad Bug Tracker
1065868 at bugs.launchpad.net
Mon Feb 25 18:51:12 UTC 2013
*** This bug is a duplicate of bug 1063350 ***
https://bugs.launchpad.net/bugs/1063350
Status changed to 'Confirmed' because the bug affects multiple users.
** Changed in: software-properties (Ubuntu)
Status: New => Confirmed
--
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:
Confirmed
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