LXLE 12.04.4 sources list issue
  • vaikus84vaikus84
    PMPosts: 65
    Hi

    Having trouble with adding ppa's to the sources list.

    The problem:

    Error message: http://pastebin.com/ENuvN6Fn

    Description:

    The error was when I was adding the ppa in terminal.

    At some point I was trying to add caffeine ppa and it gave a weird python error and did not complete the repo adding correctly or at all.
    After this occurred, I was not able to add any PPAs what so ever.

    *Tried repairing with PPA manager.
    So I also did use "Y PPA managers" tools like:

    Try to import all missing GPG keys.
    Try to fix all GPG BADSIG errors.
    Re-enable working PPAs after Ubuntu upgrade.

    This did not resolve anything. It rather introduced the problem I have now, which I gave a pastebin link to.
    Any suggestions?

    Vaikus84
  • vaikus84vaikus84
    PMPosts: 65
    The exact python error I get. Even after a fresh install. Nothin done to the system besides updating via terminal: sudo apt-get -y update

    ERROR

    alar@GA-7VASMFS:~$ sudo add-apt-repository ppa:linrunner/tlp
    You are about to add the following PPA to your system:
     TLP is a power management tool for Linux. It brings you the benefits of advanced power management without the need to understand every technical detail.

    Project homepage: http://linrunner.de/tlp
     More info: https://launchpad.net/~linrunner/+archive/tlp
    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
  • vaikus84vaikus84
    PMPosts: 65
    The same problem presist with all PPAs after I tried TLP ppa first.
  • vaikus84vaikus84
    PMPosts: 65
    So. An in-between summary:

    1) It adds the ppa but not the GPG key.
    2) Remove the ppa with Y PPA Manager (wait until it flashes a couple of notices, the last one says Successful)
    3) Close Y PPA Manager
    4) In Terminal do : sudo apt-get -y update

    The PPA should be removed now!
  • vaikus84vaikus84
    PMPosts: 65
    An in-between other way to add PPA in LXLE 12.04.4 32bit:

    1) Open Y PPA Manager under Start > System Tools > Y PPA Manager
    2) Click "add a PPA" > Typer your password > copy paste "add-apt-repositiry ppa:linrunner/tlp" without the exclamation marks > Click "OK" > Wait for the Notice that says "Successful"
    3) In Terminal do : sudo apt-get -y update

    NO!
    Still no results.
    It has a fundamental issue with getting the GPG key!
  • vaikus84vaikus84
    PMPosts: 65
    Status update on this issue.

    Re-downloaded the iso file.
    This time made the usb stick with KDE Partition Manager + Startup Disk Creator (KDE).
    The USB booted fine this time.
    The PPA issue still presist. Even though I didn't even tick the two boxes for the updates at the beginning.

    Going to investigate if setting the language to Estonian at the beginning for the DE environment has something to do with python going nuts.
  • vaikus84vaikus84
    PMPosts: 65
    image
  • vaikus84vaikus84
    PMPosts: 65
    I used "Y" for yes on the steam source update!
  • vaikus84vaikus84
    PMPosts: 65
    Now this is the result after doing so!image
  • vaikus84vaikus84
    PMPosts: 65
    So I'm definitely not crazy. This must be a python error.
  • vaikus84vaikus84
    PMPosts: 65
    Linux Lite 1.08 32bit has the same python error with kernel 3.8!

    So it is not kernel related. It's rather something in relation with the processor. Or the hardware combination itself.

    Trying to get the hardware spec posted here.