I initially installed Koha from packages using instructions on this site.
I decided to uninstall it, I used apt-get remove koha-common
then I deleted the install dir which was (/usr/share/koha/
) permanently. Later when I used apt-get purge koha-common
it brings this error:
dpkg: error processing package koha-common (--purge):
subprocess installed pre-removal script returned exit status 1
Error: /usr/share/koha/bin/koha-functions.sh not present
...
dpkg: error while cleaning up...
This error tends to persist when I try to re-install. As a result I have not been able to re-install. Please, anybody with a solution or a hack on how to overcome this!
This is not a Koha issue. Please read
apt
manual page (similar toapt-get
) runningman apt
. You should expect to receive an error about a file not being present on a folder you just deleted. To remove completely Koha should be enough toapt remove
(and withapt-get
) is different will leave configuration files of the package (again, that's on manual page).As said here remove first all Koha instance.