I have the same problem. Plain install of Ubuntu 10.04 server 32 bit.
apt-get install python-software-properties
OK
apt-add-repository ppa:zfs-native/stable
...
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
The file /etc/apt/sources.list.d/zfs-native-stable-precise.list is there then, but I think keys are not setup correctly, I got signing alerts when installing software from that ppa.
I have the same problem. Plain install of Ubuntu 10.04 server 32 bit.
apt-get install python- software- properties
OK
apt-add-repository ppa:zfs- native/ stable
...
Press [ENTER] to continue or ctrl-c to cancel adding it
Exception in thread Thread-1: python2. 7/threading. py", line 551, in __bootstrap_inner python2. 7/dist- packages/ softwarepropert ies/ppa. py", line 99, in run add_ppa_ signing_ key(self. ppa_path) python2. 7/dist- packages/ softwarepropert ies/ppa. py", line 132, in add_ppa_signing_key python2. 7/tempfile. py", line 322, in mkdtemp python2. 7/tempfile. py", line 141, in next python2. 7/random. py", line 274, in choice self.random( ) * len(seq))] # raises IndexError if seq is empty
Traceback (most recent call last):
File "/usr/lib/
self.run()
File "/usr/lib/
self.
File "/usr/lib/
tmp_keyring_dir = tempfile.mkdtemp()
File "/usr/lib/
name = names.next()
File "/usr/lib/
letters = [choose(c) for dummy in "123456"]
File "/usr/lib/
return seq[int(
ValueError: cannot convert float NaN to integer
The file /etc/apt/ sources. list.d/ zfs-native- stable- precise. list is there then, but I think keys are not setup correctly, I got signing alerts when installing software from that ppa.