I installed lios OCR .deb package (all dependencies met) and it crashes. But I can't seem to remove it now.
sudo apt-get remove lios
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages will be REMOVED:
lios
0 upgraded, 0 newly installed, 1 to remove and 0 not upgraded.
1 not fully installed or removed.
After this operation, 8,602 kB disk space will be freed.
Do you want to continue [Y/n]? y
(Reading database ... 282598 files and directories currently installed.)
Removing lios ...
sudo: update-desktop-database: command not found
dpkg: error processing lios (--remove):
subprocess installed pre-removal script returned error exit status 1
sudo: update-desktop-database: command not found
dpkg: error while cleaning up:
subprocess installed post-installation script returned error exit status 1
Errors were encountered while processing:
lios
E: Sub-process /usr/bin/dpkg returned an error code (1)
When I try to remove/purge through package manager:
Package: lios
Error: Package is in a very bad inconsistent state - you should reinstall it before attempting a removal
When I reinstall it nothing changes.
sudo apt-get remove lios
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages will be REMOVED:
lios
0 upgraded, 0 newly installed, 1 to remove and 0 not upgraded.
1 not fully installed or removed.
After this operation, 8,602 kB disk space will be freed.
Do you want to continue [Y/n]? y
(Reading database ... 282598 files and directories currently installed.)
Removing lios ...
sudo: update-desktop-database: command not found
dpkg: error processing lios (--remove):
subprocess installed pre-removal script returned error exit status 1
sudo: update-desktop-database: command not found
dpkg: error while cleaning up:
subprocess installed post-installation script returned error exit status 1
Errors were encountered while processing:
lios
E: Sub-process /usr/bin/dpkg returned an error code (1)
When I try to remove/purge through package manager:
Package: lios
Error: Package is in a very bad inconsistent state - you should reinstall it before attempting a removal
When I reinstall it nothing changes.
Comment