I started the Kile and Texmaker installation, but Kile stalled at 70% and there seemed to be no way to cancel the installation. I rebooted to fix it, but now if I try to install anything Texmaker, it gives me this error

The installation could have failed because of an error in the corresponding software package or it was canceled in an unfriendly way. You have to repair this before you can install or remove any further software
How do I fix this?