Boot your computer while holding the Shift key. If you see a menu with a list of operating systems appear, you’ve accessed the GRUB boot loader. Select menu option “dpkg” and press Enter to use it. It will repairs broken software packages. If a package failed to install properly and your system doesn’t work because of it, this may help. Restart the system. Done.