← Back to team overview

touch-packages team mailing list archive

[Bug 1491613] Re: sudo add-apt-repository ppa:stellarium/stelarium-releases causes python error

 

Could you install the debsums package and then run 'debsums -s' with
each of those package names?

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

Title:
  sudo add-apt-repository ppa:stellarium/stelarium-releases causes
  python error

Status in software-properties package in Ubuntu:
  Incomplete

Bug description:
  arnold@arnold:~$ sudo add-apt-repository ppa:stellarium/stellarium-releases
  [sudo] password for arnold:
  You are about to add the following PPA to your system:
   This archive contains packages for the officially released, stable versions of Stellarium.

  The packages are created by the Stellarium developers team and are not
  official Ubuntu packages.

  For source packages and installers for other operating systems, please visit Stellarium's website:
  http://stellarium.org/
   More info: https://launchpad.net/~stellarium/+archive/ubuntu/stellarium-releases
  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

  It seems to be saying there's a python problem.  Can you help me
  decode it, or send it to a member of your team?  If there's a better
  way to get in touch with the team, then let me know.  I'm probably
  breaking some rule of etiquette by contacting you directy.

  I tried the same thing on my laptop and it worked perfectly.  It's
  also a 12.04 system.

  ProblemType: Bug
  DistroRelease: Ubuntu 12.04
  Package: update-manager 1:0.156.14.19
  ProcVersionSignature: Ubuntu 3.2.0-89.127-generic-pae 3.2.69
  Uname: Linux 3.2.0-89-generic-pae i686
  NonfreeKernelModules: nvidia
  ApportVersion: 2.0.1-0ubuntu17.9
  Architecture: i386
  CurrentDmesg.txt:
   [   17.922478] agpgart-nvidia 0000:00:00.0: AGP 2.0 bridge
   [   17.922495] agpgart-nvidia 0000:00:00.0: putting AGP V2 device into 4x mode
   [   17.922553] nvidia 0000:02:00.0: putting AGP V2 device into 4x mode
   [   26.528012] eth0: no IPv6 routers present
   [   78.940108] ondemand governor failed, too long transition latency of HW, fallback to performance governor
  Date: Wed Sep  2 17:57:12 2015
  DpkgHistoryLog.txt:
   Start-Date: 2015-09-02  16:34:46
   Commandline: aptdaemon role='role-commit-packages' sender=':1.77'
   Upgrade: bind9-host:i386 (9.8.1.dfsg.P1-4ubuntu0.12, 9.8.1.dfsg.P1-4ubuntu0.13), dnsutils:i386 (9.8.1.dfsg.P1-4ubuntu0.12, 9.8.1.dfsg.P1-4ubuntu0.13), libdns81:i386 (9.8.1.dfsg.P1-4ubuntu0.12, 9.8.1.dfsg.P1-4ubuntu0.13), libexpat1:i386 (2.0.1-7.2ubuntu1.1, 2.0.1-7.2ubuntu1.2), libisccc80:i386 (9.8.1.dfsg.P1-4ubuntu0.12, 9.8.1.dfsg.P1-4ubuntu0.13), liblwres80:i386 (9.8.1.dfsg.P1-4ubuntu0.12, 9.8.1.dfsg.P1-4ubuntu0.13), libbind9-80:i386 (9.8.1.dfsg.P1-4ubuntu0.12, 9.8.1.dfsg.P1-4ubuntu0.13), libisccfg82:i386 (9.8.1.dfsg.P1-4ubuntu0.12, 9.8.1.dfsg.P1-4ubuntu0.13), libisc83:i386 (9.8.1.dfsg.P1-4ubuntu0.12, 9.8.1.dfsg.P1-4ubuntu0.13)
   End-Date: 2015-09-02  16:35:10
  GsettingsChanges:
   com.ubuntu.update-manager first-run false
   com.ubuntu.update-manager launch-time 1441228111
   com.ubuntu.update-manager window-height 518
   com.ubuntu.update-manager window-width 609
  InstallationMedia: Ubuntu 12.04.1 LTS "Precise Pangolin" - Release i386 (20120817.3)
  MarkForUpload: True
  PackageArchitecture: all
  ProcEnviron:
   TERM=xterm
   PATH=(custom, no user)
   LANG=en_US.UTF-8
   SHELL=/bin/bash
  SourcePackage: update-manager
  Symptom: ubuntu-release-upgrader-core
  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/1491613/+subscriptions