Comment 4 for bug 141473

Revision history for this message
Kazade (kazade) wrote :

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 ;)