[Ubuntu] [UbuntuGIS] #19: upgrade qgis to 1.7.2 breaks python (using
ubuntugis-unstable repos)
UbuntuGIS
trac at osgeo.org
Sun Dec 4 16:05:52 EST 2011
#19: upgrade qgis to 1.7.2 breaks python (using ubuntugis-unstable repos)
---------------------------------+------------------------------------------
Reporter: etourigny | Owner: ubuntu@…
Type: defect | Status: new
Component: QGIS | Severity: serious
Keywords: upgrade qgis python |
---------------------------------+------------------------------------------
This issue has been discussed recently on the qgis-user mailing
"Critical problems with 1.7.2 from ubuntu binaries"
list.http://lists.osgeo.org/pipermail/qgis-user/2011-November/014535.html
{{{
After updating to 1.7.2 in ubuntu 10.4 LTS using the
ubuntugis-unstable repo, the CRS cannot be set:
"Could not open CRS database /resources/srs.db<br>Error(14): unable to
open database file!
and almost all plugins are gone (including plugin installer).
Agus
}}}
I also had the same problem, using Ubuntu 11.04
It seems the workaround is to uninstall QGis and re-install.
The following packages were around (even after the re-install)
{{{
dpkg -l | grep qgis
ii libqgis1.7.0 1.7.0~natty1
Quantum GIS - shared libraries
ii libqgis1.7.1 1.7.1-1~natty1
Quantum GIS - shared libraries
ii libqgis1.7.2 1.7.2-1~natty1
Quantum GIS - shared libraries
ii python-qgis 1.7.2-1~natty1
Python bindings to Quantum GIS
ii python-qgis-common 1.7.2-1~natty1
Python bindings to Quantum GIS - architecture-independent files
ii qgis 1.7.2-1~natty1
Geographic Information System (GIS)
ii qgis-common 1.7.2-1~natty1
Quantum GIS - architecture-independent data
ii qgis-plugin-grass 1.7.2-1~natty1
GRASS plugin for Quantum GIS
ii qgis-plugin-grass-common 1.7.2-1~natty1
GRASS plugin for Quantum GIS - architecture-independent data
ii qgis-providers 1.7.2-1~natty1
collection of data providers to Quantum GIS
ii qgis-providers-common 1.7.2-1~natty1
collection of data providers to Quantum GIS - architecture-independent
files
}}}
A possible fix would be ro remove old libqgis-1.7.x packages (marking them
as conflicting), or better yet only have one libqgis package. There is no
need to keep various versions of libqgis, as this causes a conflict in the
python bindings.
--
Ticket URL: <http://trac.osgeo.org/ubuntugis/ticket/19>
UbuntuGIS <https://launchpad.net/~ubuntugis>
UbuntuGIS is dedicated to keeping Ubuntu up to date with a suite of the best Geospatial Open Source Software.
More information about the Ubuntu
mailing list