hello,
I am facing the subject error during installation of jasmin.
Things i have done;
1- curl -s
https://packagecloud.io/install/repositories/jookies/python-jasmin/script.deb.sh returned with " .......... echo
echo "The repository is setup! You can now install packages."
2- sudo apt-get install python-jasmin
returned with "dpkg: error processing package python-jasmin (--configure):
package is in a very bad inconsistent state; you should
reinstall it before attempting configuration
Errors were encountered while processing:
python-jasmin
E: Sub-process /usr/bin/dpkg returned an error code (1)"
3- sudo apt-get install --reinstall python-jasmin
returned with "Reading package lists... Done
Building dependency tree
Reading state information... Done
0 upgraded, 0 newly installed, 1 reinstalled, 0 to remove and 3 not upgraded.
1 not fully installed or removed.
Need to get 0 B/233 kB of archives.
After this operation, 0 B of additional disk space will be used.
Selecting previously unselected package python-jasmin.
(Reading database ... 198401 files and directories currently installed.)
Preparing to unpack .../python-jasmin_0.8~dev0_all.deb ...
* Stopping jasmind system service jasmind [ OK ]
invoke-rc.d: initscript interceptord, action "stop" failed.
dpkg: warning: subprocess old pre-removal script returned error exit status 21
dpkg: trying script from the new package instead ...
* Stopping jasmind system service jasmind [ OK ]
invoke-rc.d: initscript interceptord, action "stop" failed.
dpkg: error processing archive /var/cache/apt/archives/python-jasmin_0.8~dev0_all.deb (--unpack):
subprocess new pre-removal script returned error exit status 21
addgroup: The group `jasmin' already exists as a system group. Exiting.
Warning: The home dir /usr/lib/jasmin you specified can't be accessed: No such file or directory
The system user `jasmin' already exists. Exiting.
* Starting jasmind system service jasmind [ OK ]
invoke-rc.d: initscript interceptord, action "start" failed.
dpkg: error while cleaning up:
subprocess installed post-installation script returned error exit status 21
Errors were encountered while processing:
/var/cache/apt/archives/python-jasmin_0.8~dev0_all.deb
E: Sub-process /usr/bin/dpkg
returned an error code (1)"
I have searched alot on ubuntu forums but couldnt find the solution.
Please help!!!