This shows you the differences between two versions of the page.
| Next revision | Previous revision | ||
| fix_package [2015/06/03 22:58] – created pavroo | fix_package [2021/05/04 15:24] (current) – external edit 127.0.0.1 | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| ===== Fix broken packages ===== | ===== Fix broken packages ===== | ||
| - | Sometimes | + | Sometimes package |
| In cases like that **DO NOT** reboot your system, try to fix it before rebooting. | 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 in back to your account, reboot it again and run the system in **Recovery Mode**. Try to fix broken packages avoiding problems after. | + | 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**. |
| - | Fix broken packages via **dpkg** tool - it will install all downloaded already new packages: | + | Every command has to be run with super user privileges |
| - | dpkg --reconfigure | + | Fix broken packages via **dpkg** tool - it will install all already downloaded packages: |
| + | |||
| + | | ||
| Sometimes broken packages need more (missing) dependencies, | Sometimes broken packages need more (missing) dependencies, | ||
| - | | + | sudo apt-get update |
| + | | ||
| If you just fixed some packages after broken upgrading process, run upgrade again, to make sure that there is nothing left to be upgraded/ | If you just fixed some packages after broken upgrading process, run upgrade again, to make sure that there is nothing left to be upgraded/ | ||
| - | | + | sudo apt-get dist-upgrade |
| ---- | ---- | ||
| - | <WRAP center box 38%> | + | <WRAP center box 75%> |
| - | [[remove_package|< | + | |[[remove_package|< |
| </ | </ | ||