dlobo
May 1st, 2008, 12:27 PM
Hi,
I have tried to install VBox from ubuntu repositories on Hardy and I got an error that said "can't open /etc/init.d/functions".
I checked that location and the functions file does not exist.
In the end VBox is installed but it's unusable. I would like to re-install it but when I try to uninstall first I get the following error message:
****
E: virtualbox-ose: subprocess post-installation script returned error exit status 2
Removing virtualbox-ose-modules-2.6.24-16-generic ...
dpkg - warning: while removing virtualbox-ose-modules-2.6.24-16-generic, directory `/lib/modules/2.6.24-16-generic/misc' not empty so not removed.
Setting up virtualbox-ose (1.5.6-dfsg-6ubuntu1) ...
.: 60: Can't open /etc/init.d/functions
invoke-rc.d: initscript virtualbox-ose, action "start" failed.
dpkg: error processing virtualbox-ose (--configure):
subprocess post-installation script returned error exit status 2
Errors were encountered while processing:
virtualbox-ose
E: Sub-process /usr/bin/dpkg returned an error code (1)
A package failed to install. Trying to recover:
****
Again the same functions file missing.
Now I am stuck with a half installed virtualbox that I cannot finish to install nor I can remove.
I was thinking that if anyone had that functions file and could paste it here I could go and create it manually on my machine. I know this sounds a little to drastic, so any other ideas are welcome.
Thanks a lot
dmlobo
I have tried to install VBox from ubuntu repositories on Hardy and I got an error that said "can't open /etc/init.d/functions".
I checked that location and the functions file does not exist.
In the end VBox is installed but it's unusable. I would like to re-install it but when I try to uninstall first I get the following error message:
****
E: virtualbox-ose: subprocess post-installation script returned error exit status 2
Removing virtualbox-ose-modules-2.6.24-16-generic ...
dpkg - warning: while removing virtualbox-ose-modules-2.6.24-16-generic, directory `/lib/modules/2.6.24-16-generic/misc' not empty so not removed.
Setting up virtualbox-ose (1.5.6-dfsg-6ubuntu1) ...
.: 60: Can't open /etc/init.d/functions
invoke-rc.d: initscript virtualbox-ose, action "start" failed.
dpkg: error processing virtualbox-ose (--configure):
subprocess post-installation script returned error exit status 2
Errors were encountered while processing:
virtualbox-ose
E: Sub-process /usr/bin/dpkg returned an error code (1)
A package failed to install. Trying to recover:
****
Again the same functions file missing.
Now I am stuck with a half installed virtualbox that I cannot finish to install nor I can remove.
I was thinking that if anyone had that functions file and could paste it here I could go and create it manually on my machine. I know this sounds a little to drastic, so any other ideas are welcome.
Thanks a lot
dmlobo