← Back to team overview

touch-packages team mailing list archive

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

 

Brian,

Thanks for working this problem.
Here are the results of the commands you asked for.
I'm wondering about the package apt-cache couldn't find.

 arnold@arnold:~$ apt-cache policy
Package files:
 100 /var/lib/dpkg/status
     release a=now
 500 http://extras.ubuntu.com/ubuntu/ precise/main i386 Packages
     release v=12.04,o=LP-PPA-app-review-board,a=precise,n=precise,l=Application Review Board PPA,c=main
     origin extras.ubuntu.com
 500 http://security.ubuntu.com/ubuntu/ precise-security/universe Translation-en
 500 http://security.ubuntu.com/ubuntu/ precise-security/restricted Translation-en
 500 http://security.ubuntu.com/ubuntu/ precise-security/multiverse Translation-en
 500 http://security.ubuntu.com/ubuntu/ precise-security/main Translation-en
 500 http://security.ubuntu.com/ubuntu/ precise-security/multiverse i386 Packages
     release v=12.04,o=Ubuntu,a=precise-security,n=precise,l=Ubuntu,c=multiverse
     origin security.ubuntu.com
 500 http://security.ubuntu.com/ubuntu/ precise-security/universe i386 Packages
     release v=12.04,o=Ubuntu,a=precise-security,n=precise,l=Ubuntu,c=universe
     origin security.ubuntu.com
 500 http://security.ubuntu.com/ubuntu/ precise-security/restricted i386 Packages
     release v=12.04,o=Ubuntu,a=precise-security,n=precise,l=Ubuntu,c=restricted
     origin security.ubuntu.com
 500 http://security.ubuntu.com/ubuntu/ precise-security/main i386 Packages
     release v=12.04,o=Ubuntu,a=precise-security,n=precise,l=Ubuntu,c=main
     origin security.ubuntu.com
 500 http://us.archive.ubuntu.com/ubuntu/ precise-backports/universe Translation-en
 500 http://us.archive.ubuntu.com/ubuntu/ precise-backports/restricted Translation-en
 500 http://us.archive.ubuntu.com/ubuntu/ precise-backports/multiverse Translation-en
 500 http://us.archive.ubuntu.com/ubuntu/ precise-backports/main Translation-en
 100 http://us.archive.ubuntu.com/ubuntu/ precise-backports/multiverse i386 Packages
     release v=12.04,o=Ubuntu,a=precise-backports,n=precise,l=Ubuntu,c=multiverse
     origin us.archive.ubuntu.com
 100 http://us.archive.ubuntu.com/ubuntu/ precise-backports/universe i386 Packages
     release v=12.04,o=Ubuntu,a=precise-backports,n=precise,l=Ubuntu,c=universe
     origin us.archive.ubuntu.com
 100 http://us.archive.ubuntu.com/ubuntu/ precise-backports/restricted i386 Packages
     release v=12.04,o=Ubuntu,a=precise-backports,n=precise,l=Ubuntu,c=restricted
     origin us.archive.ubuntu.com
 100 http://us.archive.ubuntu.com/ubuntu/ precise-backports/main i386 Packages
     release v=12.04,o=Ubuntu,a=precise-backports,n=precise,l=Ubuntu,c=main
     origin us.archive.ubuntu.com
 500 http://us.archive.ubuntu.com/ubuntu/ precise-updates/universe Translation-en
 500 http://us.archive.ubuntu.com/ubuntu/ precise-updates/restricted Translation-en
 500 http://us.archive.ubuntu.com/ubuntu/ precise-updates/multiverse Translation-en
 500 http://us.archive.ubuntu.com/ubuntu/ precise-updates/main Translation-en
 500 http://us.archive.ubuntu.com/ubuntu/ precise-updates/multiverse i386 Packages
     release v=12.04,o=Ubuntu,a=precise-updates,n=precise,l=Ubuntu,c=multiverse
     origin us.archive.ubuntu.com
 500 http://us.archive.ubuntu.com/ubuntu/ precise-updates/universe i386 Packages
     release v=12.04,o=Ubuntu,a=precise-updates,n=precise,l=Ubuntu,c=universe
     origin us.archive.ubuntu.com
 500 http://us.archive.ubuntu.com/ubuntu/ precise-updates/restricted i386 Packages
     release v=12.04,o=Ubuntu,a=precise-updates,n=precise,l=Ubuntu,c=restricted
     origin us.archive.ubuntu.com
 500 http://us.archive.ubuntu.com/ubuntu/ precise-updates/main i386 Packages
     release v=12.04,o=Ubuntu,a=precise-updates,n=precise,l=Ubuntu,c=main
     origin us.archive.ubuntu.com
 500 http://us.archive.ubuntu.com/ubuntu/ precise/universe Translation-en
 500 http://us.archive.ubuntu.com/ubuntu/ precise/restricted Translation-en
 500 http://us.archive.ubuntu.com/ubuntu/ precise/multiverse Translation-en
 500 http://us.archive.ubuntu.com/ubuntu/ precise/main Translation-en
 500 http://us.archive.ubuntu.com/ubuntu/ precise/multiverse i386 Packages
     release v=12.04,o=Ubuntu,a=precise,n=precise,l=Ubuntu,c=multiverse
     origin us.archive.ubuntu.com
 500 http://us.archive.ubuntu.com/ubuntu/ precise/universe i386 Packages
     release v=12.04,o=Ubuntu,a=precise,n=precise,l=Ubuntu,c=universe
     origin us.archive.ubuntu.com
 500 http://us.archive.ubuntu.com/ubuntu/ precise/restricted i386 Packages
     release v=12.04,o=Ubuntu,a=precise,n=precise,l=Ubuntu,c=restricted
     origin us.archive.ubuntu.com
 500 http://us.archive.ubuntu.com/ubuntu/ precise/main i386 Packages
     release v=12.04,o=Ubuntu,a=precise,n=precise,l=Ubuntu,c=main
     origin us.archive.ubuntu.com
Pinned packages:
arnold@arnold:~$ apt-cache policy libpython2.7-minimal
N: Unable to locate package libpython2.7-minimal
N: Couldn't find any package by regex 'libpython2.7-minimal'
arnold@arnold:~$

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