I got myself into some problem. There was a package from Ubuntu and tried to force installation on debian. It didnt install and now I cant install anything because I cant remove it anymore. I am pasting my messages below.
Code:
root@sb01:/etc/geonode# apt-get install -f
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages will be REMOVED:
geonode
0 upgraded, 0 newly installed, 1 to remove and 0 not upgraded.
6 not fully installed or removed.
After this operation, 211 MB disk space will be freed.
Do you want to continue [Y/n]? Y
(Reading database ... 142706 files and directories currently installed.)
Removing geonode ...
ERROR: Site geonode does not exist!
dpkg: error processing geonode (--remove):
subprocess installed post-removal script returned error exit status 1
Errors were encountered while processing:
geonode
E: Sub-process /usr/bin/dpkg returned an error code (1)
I tried this:
Code:
root@sb01:/etc/geonode# sudo dpkg --force-all -P geonode
(Reading database ... 142706 files and directories currently installed.)
Removing geonode ...
ERROR: Site geonode does not exist!
dpkg: error processing geonode (--purge):
subprocess installed post-removal script returned error exit status 1
Errors were encountered while processing:
geonode
and:
Code:
root@sb01:/etc/geonode# sudo dpkg --remove --force-remove-reinstreq geonode
(Reading database ... 142706 files and directories currently installed.)
Removing geonode ...
ERROR: Site geonode does not exist!
dpkg: error processing geonode (--remove):
subprocess installed post-removal script returned error exit status 1
Errors were encountered while processing:
geonode
I deleted /etc/apt/source.list.d (which has geonode address, but I had same errors before when this life was there) file geonode address by the way.
Kindly feel free to ask more details.
cheers