On 03/03/2014 04:17 PM, Paolo Cavallini wrote:
> Just finished and cleaned up my installation from exp. [...]
> I then get an error:
> Couldn't load PyQGIS.
> Python support will be disabled.
> Traceback (most recent call last):
> File "", line 1, in
> ImportError: No module named qgis.core
> In fact, something should be wrong:
> # deborphan
> Hope this helps.
> Versions of packages qgis recommends:
> pn python-qgis <none>
> ii qgis-plugin-globe 2.2.0-1~exp1
> ii qgis-plugin-grass 2.2.0-1~exp1
libqgispython2.2.0 only gets installed as a dependency of python-qgis,
but this package is not installed on your system.
Installing python-qgis should fix your issue.
python-qgis is installed as a dependency of qgis by default unless
you've disabled automatic installation of Recommends in apt.
But when you install the 2.2.0-1~exp1 packages from experimental while
already having the 2.0.1-2 packages from unstable installed,
python-qgis is not automatically upgraded.
The experimental repository is marked as NotAutomatic in the Release
file, so you need to explicitly install packages from experimental.
We can force the upgrade of python-qgis together with qgis by
recommending the same version as qgis, but that is only relevant for
experimental. Once QGIS 2.2 hits unstable the 2.0 packages from unstable
will all be upgraded.
Pkg-grass-devel mailing list