User Tools

Site Tools


fix_package

Fix broken packages

Sometimes package installating or upgrading process can be broken for some reasons.

In cases like that DO NOT reboot your system, try to fix it before rebooting.

If you already rebooted the system and you cannot log back in to your account, reboot it again and run the system in Recovery Mode.

Every command has to be run with super user privileges sudo.

Fix broken packages via dpkg tool - it will install all already downloaded packages:

 sudo dpkg --configure -a

Sometimes broken packages need more (missing) dependencies, so dpkg can't solve that. Use apt-get to fix everything what is not properly configured yet and needs some new packages to be downloaded:

 sudo apt-get update
 sudo apt-get install -f

If you just fixed some packages after broken upgrading process, run upgrade again, to make sure that there is nothing left to be upgraded/fixed again:

 sudo apt-get dist-upgrade

This website uses cookies. By using the website, you agree with storing cookies on your computer. Also you acknowledge that you have read and understand our Privacy Policy. If you do not agree leave the website.More information about cookies
fix_package.txt · Last modified: 2019/12/12 11:09 by 8bit