since Quantum GIS packages were not present for period of time in the repos, I had installed set of manually downloaded packages for qgis 1.8. It worked fine, but after a while package python-qgis got uninstalled during an update. It is vital for me to have Quantum GIS complete, so today I decided to give a try to one of the repos with qgis. Before installing from the repos, I first tried to completely uninstall everything QGIS related, but I did the mistake, that I first enabled the repository to install from the newer versions. It is this one:
Code: Select all
# MASTER (nightly builds)
# deb http://qgis.org/debian-nightly wheezy main
# deb-src http://qgis.org/debian-nightly wheezy main
Now I have these packages installed (libqgis1.8.0 uninstalled, but can not be purged), all of them I would like removed:
Code: Select all
c libqgis1.8.0 - Quantum GIS - shared libraries
Bd qgis - Geographic Information System (GIS)
id qgis-api-doc - Quantum GIS API documentation
id qgis-common - Quantum GIS - architecture-independent dat
Bd qgis-mapserver - Quantum GIS mapserver
Bd qgis-plugin-grass - GRASS plugin for Quantum GIS
This is output of sudo 'aptitude remove libqgis1.8.0 qgis qgis-api-doc qgis-common qgis-mapserver qgis-plugin-grass':
Code: Select all
[ ERR] Reading state information
E: Could not get lock /var/lock/aptitude - open (11: Resource temporarily unavailable)
The following packages will be REMOVED:
qgis qgis-api-doc qgis-common qgis-mapserver qgis-plugin-grass
0 packages upgraded, 0 newly installed, 5 to remove and 1 not upgraded.
Need to get 0 B of archives. After unpacking 146 MB will be freed.
(Reading database ... 229275 files and directories currently installed.)
Removing qgis-plugin-grass ...
pycentral: pycentral pkgremove: package python-qgis-common is not installed
pycentral pkgremove: package python-qgis-common is not installed
dpkg: error processing qgis-plugin-grass (--remove):
subprocess installed pre-removal script returned error exit status 1
configured to not write apport reports
Removing qgis-api-doc ...
pycentral: pycentral pkgremove: package python-qgis-common is not installed
pycentral pkgremove: package python-qgis-common is not installed
dpkg: error processing qgis-api-doc (--remove):
subprocess installed pre-removal script returned error exit status 1
configured to not write apport reports
Removing qgis-mapserver ...
pycentral: pycentral pkgremove: package python-qgis-common is not installed
pycentral pkgremove: package python-qgis-common is not installed
dpkg: error processing qgis-mapserver (--remove):
subprocess installed pre-removal script returned error exit status 1
configured to not write apport reports
dpkg: qgis: dependency problems, but removing anyway as you requested:
qgis-plugin-grass depends on qgis (= 1.8.0+git20110724+e6558be~unstable1).
Removing qgis ...
pycentral: pycentral pkgremove: package python-qgis-common is not installed
pycentral pkgremove: package python-qgis-common is not installed
dpkg: error processing qgis (--remove):
subprocess installed pre-removal script returned error exit status 1
configured to not write apport reports
dpkg: qgis-common: dependency problems, but removing anyway as you requested:
qgis depends on qgis-common (= 1.8.0+git20110724+e6558be~unstable1); however:
Package qgis-common is to be removed.
Removing qgis-common ...
pycentral: pycentral pkgremove: package python-qgis-common is not installed
pycentral pkgremove: package python-qgis-common is not installed
dpkg: error processing qgis-common (--remove):
subprocess installed pre-removal script returned error exit status 1
configured to not write apport reports
Errors were encountered while processing:
qgis-plugin-grass
qgis-api-doc
qgis-mapserver
qgis
qgis-common
E: Sub-process /usr/bin/dpkg returned an error code (1)
A package failed to install. Trying to recover:
[ ERR] Reading state information
E: Could not get lock /var/lock/aptitude - open (11: Resource temporarily unavailable)
Code: Select all
Reading package lists... Done
Building dependency tree
Reading state information... Done
Correcting dependencies... Done
The following packages will be REMOVED:
qgis qgis-mapserver qgis-plugin-grass
0 upgraded, 0 newly installed, 3 to remove and 1 not upgraded.
After this operation, 13.5 MB disk space will be freed.
Do you want to continue [Y/n]? y
Removing qgis-plugin-grass ...
pycentral: pycentral pkgremove: package python-qgis-common is not installed
pycentral pkgremove: package python-qgis-common is not installed
dpkg: error processing qgis-plugin-grass (--remove):
subprocess installed pre-removal script returned error exit status 1
configured to not write apport reports
Removing qgis-mapserver ...
pycentral: pycentral pkgremove: package python-qgis-common is not installed
pycentral pkgremove: package python-qgis-common is not installed
dpkg: error processing qgis-mapserver (--remove):
subprocess installed pre-removal script returned error exit status 1
configured to not write apport reports
dpkg: qgis: dependency problems, but removing anyway as you requested:
qgis-plugin-grass depends on qgis (= 1.8.0+git20110724+e6558be~unstable1).
Removing qgis ...
pycentral: pycentral pkgremove: package python-qgis-common is not installed
pycentral pkgremove: package python-qgis-common is not installed
dpkg: error processing qgis (--remove):
subprocess installed pre-removal script returned error exit status 1
configured to not write apport reports
Errors were encountered while processing:
qgis-plugin-grass
qgis-mapserver
qgis
E: Sub-process /usr/bin/dpkg returned an error code (1)
Thanks, Tomas B.