User Tools

Site Tools


fix_package

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
Last revisionBoth sides next revision
fix_package [2015/06/03 22:58] – created pavroofix_package [2019/12/12 11:09] 8bit
Line 1: Line 1:
 ===== Fix broken packages ===== ===== Fix broken packages =====
  
-Sometimes the package installation or upgrading process can be broken for some reasons.+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. 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 **sudo**
  
-   dpkg --reconfigure -a+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: 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:
  
-   apt-get install -f+   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: 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:
  
-   apt-get dist-upgrade+   sudo apt-get dist-upgrade
  
 ---- ----
  
-<WRAP center box 38%> +<WRAP center box 75%> 
-[[remove_package|<--- Remove packages]]|[[clean_package|Clean up the system --->]]+|[[remove_package|<--- Remove packages]]   [[clean_packages|Package clean up --->]]|
 </WRAP> </WRAP>
fix_package.txt · Last modified: 2021/05/04 15:24 by 127.0.0.1