I've found a quick workaround to get apt to finish configuring.
Edit: /var/lib/dpkg/info/hotkey-setup.postinst
And change it to this:
if [ -x "/etc/init.d/hotkey-setup" ]; then
update-rc.d hotkey-setup multiuser >/dev/null
if [ -x "`which invoke-rc.d 2>/dev/null`" ]; then exit $?
else /etc/init.d/hotkey-setup start || exit $?
fi
fi
That will let apt complete, however I don't know what the side effects will be, if you have a laptop I probably wouldn't recommend it I just blindly removed the line that was breaking so it could coz problems. You have been warned ;)
I've found a quick workaround to get apt to finish configuring.
Edit: /var/lib/ dpkg/info/ hotkey- setup.postinst
And change it to this:
if [ -x "/etc/init. d/hotkey- setup" ]; then
exit $?
/etc/ init.d/ hotkey- setup start || exit $?
update-rc.d hotkey-setup multiuser >/dev/null
if [ -x "`which invoke-rc.d 2>/dev/null`" ]; then
else
fi
fi
That will let apt complete, however I don't know what the side effects will be, if you have a laptop I probably wouldn't recommend it I just blindly removed the line that was breaking so it could coz problems. You have been warned ;)