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

-- 
dpkg: error processing hotkey-setup (--configure):
https://bugs.launchpad.net/bugs/141473
You received this bug notification because you are a member of Ubuntu
Bugs, which is the bug contact for Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to