Public bug reported:

1) The release of Ubuntu you are using, via 'lsb_release -rd' or System
-> About Ubuntu

erik@virtubuntu:~% lsb_release -rd
Description:    Ubuntu 13.10
Release:        13.10


2) The version of the package you are using, via 'apt-cache policy pkgname' or 
by checking in Software Center

erik@virtubuntu:~% apt-cache policy python-software-properties | grep Installed
  Installed: 0.92.28

3) What you expected to happen

The softwareproperties.ppa module should successfully import

4) What happened instead

The softwareproperties.ppa module fails to import unless python-pycurl
is also installed. See the below shell output for an example.


erik@virtubuntu:~% sudo apt-get install python-software-properties
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following NEW packages will be installed:
  python-software-properties
0 upgraded, 1 newly installed, 0 to remove and 19 not upgraded.
Need to get 0 B/22.9 kB of archives.
After this operation, 145 kB of additional disk space will be used.
Selecting previously unselected package python-software-properties.
(Reading database ... 65535 files and directories currently installed.)
Unpacking python-software-properties (from 
.../python-software-properties_0.92.28_all.deb) ...
Setting up python-software-properties (0.92.28) ...
1 erik@virtubuntu:~% python -c 'import softwareproperties.ppa'
Traceback (most recent call last):
  File "<string>", line 1, in <module>
  File "/usr/lib/python2.7/dist-packages/softwareproperties/ppa.py", line 46, 
in <module>
    import pycurl
ImportError: No module named pycurl
1 erik@virtubuntu:~% sudo apt-get install python-pycurl
Reading package lists... Done
Building dependency tree
Reading state information... Done
Suggested packages:
  libcurl4-gnutls-dev python-pycurl-dbg
The following NEW packages will be installed:
  python-pycurl
0 upgraded, 1 newly installed, 0 to remove and 19 not upgraded.
Need to get 0 B/48.8 kB of archives.
After this operation, 216 kB of additional disk space will be used.
Selecting previously unselected package python-pycurl.
(Reading database ... 65561 files and directories currently installed.)
Unpacking python-pycurl (from .../python-pycurl_7.19.0-5ubuntu8_amd64.deb) ...
Setting up python-pycurl (7.19.0-5ubuntu8) ...
erik@virtubuntu:~% python -c 'import softwareproperties.ppa'
erik@virtubuntu:~%

** Affects: software-properties (Ubuntu)
     Importance: Undecided
         Status: New

** Summary changed:

- python-software-properties saucy package is missing a depenency on 
python-pycurl
+ python-software-properties saucy package is missing a dependency on 
python-pycurl

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1249080

Title:
  python-software-properties saucy package is missing a dependency on
  python-pycurl

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/software-properties/+bug/1249080/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to