My QGIS died on recent update, and so I uninstalled it and autoremoved, and reinstalled it. It complained of no python-qgis when run for the first time, but I get the same error as this bug when I try to install it:
$ agi python-qgis Reading package lists... Done Building dependency tree Reading state information... Done The following extra packages will be installed: libqgispython2.2.0 libqscintilla2-11 libqscintilla2-l10n python-pyspatialite python-qgis-common python-qscintilla2 The following NEW packages will be installed: libqgispython2.2.0 libqscintilla2-11 libqscintilla2-l10n python-pyspatialite python-qgis python-qgis-common python-qscintilla2 0 upgraded, 7 newly installed, 0 to remove and 1 not upgraded. Need to get 1,101 kB/7,443 kB of archives. After this operation, 31.7 MB of additional disk space will be used. Do you want to continue? [Y/n] y Get:1 http://ca.archive.ubuntu.com/ubuntu/ trusty/main libqscintilla2-l10n all 2.8.1-2 [44.3 kB] Get:2 http://ca.archive.ubuntu.com/ubuntu/ trusty/main libqscintilla2-11 amd64 2.8.1-2 [869 kB] Get:3 http://ca.archive.ubuntu.com/ubuntu/ trusty/universe python-qscintilla2 amd64 2.8.1-2 [159 kB] Get:4 http://ca.archive.ubuntu.com/ubuntu/ trusty/universe python-pyspatialite amd64 3.0.1-4 [29.4 kB] Fetched 1,101 kB in 1s (595 kB/s) Selecting previously unselected package libqgispython2.2.0. (Reading database ... 347330 files and directories currently installed.) Preparing to unpack .../libqgispython2.2.0_2.2.0-2~trusty1_amd64.deb ... Unpacking libqgispython2.2.0 (2.2.0-2~trusty1) ... Selecting previously unselected package libqscintilla2-l10n. Preparing to unpack .../libqscintilla2-l10n_2.8.1-2_all.deb ... Unpacking libqscintilla2-l10n (2.8.1-2) ... Selecting previously unselected package libqscintilla2-11. Preparing to unpack .../libqscintilla2-11_2.8.1-2_amd64.deb ... Unpacking libqscintilla2-11 (2.8.1-2) ... Selecting previously unselected package python-qgis-common. Preparing to unpack .../python-qgis-common_2.2.0-2~trusty1_all.deb ... Unpacking python-qgis-common (2.2.0-2~trusty1) ... Selecting previously unselected package python-qscintilla2. Preparing to unpack .../python-qscintilla2_2.8.1-2_amd64.deb ... Unpacking python-qscintilla2 (2.8.1-2) ... Selecting previously unselected package python-pyspatialite. Preparing to unpack .../python-pyspatialite_3.0.1-4_amd64.deb ... Unpacking python-pyspatialite (3.0.1-4) ... Preparing to unpack .../python-qgis_2.2.0-2~trusty1_amd64.deb ... Unpacking python-qgis (2.2.0-2~trusty1) ... dpkg: error processing archive /var/cache/apt/archives/python-qgis_2.2.0-2~trusty1_amd64.deb (--unpack): trying to overwrite '/usr/lib/python2.7/dist-packages/pyspatialite/dump.py', which is also in package python-pyspatialite 3.0.1-4 dpkg-deb: error: subprocess paste was killed by signal (Broken pipe) Errors were encountered while processing: /var/cache/apt/archives/python-qgis_2.2.0-2~trusty1_amd64.deb E: Sub-process /usr/bin/dpkg returned an error code (1) -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1311739 Title: package python-qgis (not installed) failed to install/upgrade: trying to overwrite '/usr/lib/python2.7/dist- packages/pyspatialite/_spatialite.so', which is also in package python-pyspatialite 3.0.1-4 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/qgis/+bug/1311739/+subscriptions -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
