[Bug 1048733] Re: add-apt-repository fails due to softwareproperties error
Junlan Liu
pumpkin880201 at gmail.com
Tue Feb 7 16:24:05 UTC 2017
@Michael, that didn't work for me. The error showed up after I installed python3.5 from source.
$ wget http://python.org/ftp/python/3.5.2/Python-3.5.2.tar.xz
$ tar xpvf Python-3.5.2.tar.xz
$ cd Python-3.5.2
$ ./configure --prefix=/usr
$ make
$ make install
If I link python3 to python3.4, then it starts working again
$ sudo rm /usr/bin/python3
$ sudo ln -s /usr/bin/python3.4 /usr/bin/python3
--
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/1048733
Title:
add-apt-repository fails due to softwareproperties error
Status in software-properties package in Ubuntu:
Invalid
Bug description:
$ sudo add-apt-repository ppa:lubuntu-dev/lubuntu-daily
Traceback (most recent call last):
File "/usr/bin/add-apt-repository", line 10, in <module>
from softwareproperties.SoftwareProperties import SoftwareProperties
ImportError: No module named softwareproperties.SoftwareProperties
I tried other PPAs and had the same error so it seems to be universal.
Interestingly trying to add manually in Settings → Repository just
results in a notice saying that repos have changed and you need to
reload. It doesn't actually get to the point where you add repos. That
may be a related issue so I will file a separate bug and link here and
vice versa.
ProblemType: Bug
DistroRelease: Ubuntu 12.10
Package: python-software-properties 0.92.1
ProcVersionSignature: Ubuntu 3.4.0-5.11-generic 3.4.0
Uname: Linux 3.4.0-5-generic i686
ApportVersion: 2.1.1-0ubuntu2
Architecture: i386
Date: Mon Sep 10 10:15:50 2012
InstallationMedia: Lubuntu 12.04 "Precise Pangolin" - Alpha i386 (20120215)
PackageArchitecture: all
ProcEnviron:
LANGUAGE=en_US:en
TERM=screen
PATH=(custom, user)
LANG=en_US.UTF-8
SHELL=/bin/bash
SourcePackage: software-properties
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/1048733/+subscriptions
More information about the foundations-bugs
mailing list