Comment 11 for bug 1418086

Revision history for this message
Steve Langasek (vorlon) wrote : Re: [Bug 1418086] Re: python3-click from Snappy PPA clashes with same from SDK PPA

On Wed, Apr 01, 2015 at 04:18:32PM -0000, Joshua Stingelin wrote:
> Aand for some reason I got the exactly same problem just with a newer
> version of python3-click.

> Traceback (most recent call last):
> File "/usr/bin/snappy", line 5, in <module>
> from snappy.main import Main
> File "/usr/lib/python3/dist-packages/snappy/main.py", line 8, in <module>
> from snappy.click import ClickDataSource
> File "/usr/lib/python3/dist-packages/snappy/click.py", line 8, in <module>
> from click.repository import (
> ImportError: No module named 'click.repository'

> And also apt-cache policy:
> python3-click:
> Installed: 0.4.38.5-0~457~ubuntu14.10.1
> Candidate: 0.4.38.5+ppa1
> Version table:
> 0.4.38.5+ppa1 0
> 500 http://ppa.launchpad.net/snappy-dev/beta/ubuntu/ utopic/main amd64 Packages
> *** 0.4.38.5-0~457~ubuntu14.10.1 0
> 500 http://ppa.launchpad.net/ubuntu-sdk-team/ppa/ubuntu/ utopic/main amd64 Packages
> 100 /var/lib/dpkg/status
> 0.4.33 0
> 500 http://ch.archive.ubuntu.com/ubuntu/ utopic/main amd64 Packages

You are having this problem because your python3-click package is out of
date. You need to install the newer version of python3-click from the
snappy-dev ppa, not the one from the SDK ppa.

The snappy-dev ppa version is compatible with the SDK. The SDK version is
not compatible with snappy. This is why the packages have the versions that
they do.