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

Bug #1249080 reported by Erik Johnson
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
software-properties (Ubuntu)
Fix Released
Low
Unassigned

Bug Description

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:~%

Related branches

Erik Johnson (palehose)
summary: - python-software-properties saucy package is missing a depenency on
+ python-software-properties saucy package is missing a dependency on
python-pycurl
Revision history for this message
Sebastien Bacher (seb128) wrote :

Thank you for your bug report

Changed in software-properties (Ubuntu):
importance: Undecided → Low
status: New → Fix Committed
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package software-properties - 0.92.29

---------------
software-properties (0.92.29) trusty; urgency=low

  * debian/control:
    - depends on python-apt-common (>= 0.9), which is the version containing
      the trusty definition, without it you can't use add-apt-repository
      without error (lp: #1257765)
    - depends on python-pycurl, ppa.py uses it (lp: #1249080)
 -- Sebastien Bacher <email address hidden> Wed, 04 Dec 2013 16:36:32 +0100

Changed in software-properties (Ubuntu):
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.