1

I want to upgrade qgis 2.6 to qgis 2.8 in linux (debian jessie). I did:

sudo apt-get update
sudo aptitude full-upgrade

And I get this error:

Até aqui tudo bem...

Processing triggers for hicolor-icon-theme (0.13-1) ...
Setting up qgis-providers (1:2.9.0+git20150224+4629205+13jessie) ...
/usr/lib/qgis/crssync: error while loading shared libraries: libqgis_core.so.2.9.0: cannot open shared object file: No such file or directory
dpkg: error processing package qgis-providers (--configure):
 subprocess installed post-installation script returned error exit status 127
Setting up qgis-common (1:2.9.0+git20150224+4629205+13jessie) ...
dpkg: dependency problems prevent configuration of qgis:
 qgis depends on qgis-providers (= 1:2.9.0+git20150224+4629205+13jessie); however:
  Package qgis-providers is not configured yet.

dpkg: error processing package qgis (--configure):
 dependency problems - leaving unconfigured
Setting up osgearth-data (2.5.0+dfsg-2) ...
Setting up qgis-plugin-globe-common (1:2.9.0+git20150224+4629205+13jessie) ...
dpkg: dependency problems prevent configuration of qgis-plugin-globe:
 qgis-plugin-globe depends on qgis (= 1:2.9.0+git20150224+4629205+13jessie); however:
  Package qgis is not configured yet.

dpkg: error processing package qgis-plugin-globe (--configure):
 dependency problems - leaving unconfigured
Setting up qgis-plugin-grass-common (1:2.9.0+git20150224+4629205+13jessie) ...
dpkg: dependency problems prevent configuration of qgis-plugin-grass:
 qgis-plugin-grass depends on qgis (= 1:2.9.0+git20150224+4629205+13jessie); however:
  Package qgis is not configured yet.

dpkg: error processing package qgis-plugin-grass (--configure):
 dependency problems - leaving unconfigured
Errors were encountered while processing:
 qgis-providers
 qgis
 qgis-plugin-globe
 qgis-plugin-grass
E: Sub-process /usr/bin/dpkg returned an error code (1)

I found the solution. The error was in qgis providers. So I uninstall qgis providers (sudo apt-get remove --auto-remove qgis-providers) and I install qgis without problems.

closed as off-topic by PolyGeo Dec 15 '18 at 6:17

This question appears to be off-topic. The users who voted to close gave this specific reason:

  • "This problem cannot or can no longer be reproduced. Changes to the system or to the asker's circumstances may have rendered the question obsolete, or the question does not include a procedure to enable potential answerers to reproduce the same symptoms. Such questions are off-topic as they are unlikely to help future readers, but editing them to include more details can lead to re-opening." – PolyGeo
If this question can be reworded to fit the rules in the help center, please edit the question.

  • It seems to be a problem with dependencies. Have you tried to uninstall and then install qgis again? Try: apt-get purge qgis first to uninstall package qgis with all dependencies. – dmh126 Feb 24 '15 at 21:57
  • [deb http//qgis.org/debian jessie main] Jessie (8.x; testing, not yet released): www2.qgis.org/en/site/forusers/alldownloads.html – Mapperz Feb 24 '15 at 22:09
  • Thanks for the answers. I try apt-get purge qgis and I get an error: Setting up qgis-providers (1:2.9.0+git20150224+4629205+13jessie) ... /usr/lib/qgis/crssync: error while loading shared libraries: libqgis_core.so.2.9.0: cannot open shared object file: No such file or directory dpkg: error processing package qgis-providers (--configure): subprocess installed post-installation script returned error exit status 127 Errors were encountered while processing: qgis-providers E: Sub-process /usr/bin/dpkg returned an error code (1) I don't know if the uninstall is done correctly. – Bárbara Duarte Feb 25 '15 at 14:10