This question is specific to the errors faced by installing a corrupted ArangoDB Enterprise version, this prevents further installation of other packages and my aim is to solve it.
I get the following error when I try to install / remove packages:
dpkg: warning: overriding problem because --force enabled:
dpkg: warning: package is in a very bad inconsistent state; you should
reinstall it before attempting a removal
(Reading database ... 252333 files and directories currently installed.)
Removing arangodb3e (3.3.3) ...
Failed to stop arangodb3e.service: Unit arangodb3e.service not loaded.
dpkg: error processing package arangodb3e (--remove):
subprocess installed pre-removal script returned error exit status 5
failed to locate javascript.app-path directory, its neither available in '/var/lib/arangodb3-apps' nor in '//var/lib/arangodb3-apps'
FATAL ERROR: EXIT_FAILED - "exit with error"
dpkg: error while cleaning up:
subprocess installed post-installation script returned error exit status 1
Errors were encountered while processing:
arangodb3e
and I've tried the following, still no luck:
sudo dpkg --remove --force-remove-reinstreq arangodb3e
sudo apt-get install arangodb3e .. dpkg: error processing package arangodb3e (--configure): package is in a very bad inconsistent state; you should reinstall it before attempting configuration Errors were encountered while processing: arangodb3e E: Sub-process /usr/bin/dpkg returned an error code (1)
– itsezc Jan 27 '18 at 11:32