User Tools

Site Tools


upgrade_linux

Differences

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

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
upgrade_linux [2018/11/07 16:26] adminupgrade_linux [2018/11/07 22:08] (current) admin
Line 1: Line 1:
 ====How to upgrade a linux Debian Distor==== ====How to upgrade a linux Debian Distor====
 +\\
 I have learned it the hardway and for years I've not been able to fully upgrade a linux Distro without errors. Most of the time I ended up to re-install the new Distro and restore the old data.  I have learned it the hardway and for years I've not been able to fully upgrade a linux Distro without errors. Most of the time I ended up to re-install the new Distro and restore the old data. 
  
Line 12: Line 12:
 aptitude update\\ aptitude update\\
 aptitude upgrade\\ aptitude upgrade\\
-aptitude autoremove\\+apt-get autoremove\\
 aptitude clean\\ aptitude clean\\
 aptitude install aptitude apt dpkg **or with** apt-get apt-get install apt\\ aptitude install aptitude apt dpkg **or with** apt-get apt-get install apt\\
-aptitude -y -s -f --with-recommends dist-upgrade\\+aptitude -y -s -f - -with-recommends dist-upgrade\\
 aptitude safe-upgrade\\ aptitude safe-upgrade\\
 aptitude dist-upgrade\\ aptitude dist-upgrade\\
Line 21: Line 21:
 Now if you encounter dependancy errors after distrib note the names of the package errors and do the following: Now if you encounter dependancy errors after distrib note the names of the package errors and do the following:
  
-dpkg --remove package_name\\+dpkg - -remove package_name\\
 aptitude -f install\\ aptitude -f install\\
-dpkg --configure --pending\\+dpkg - -configure - -pending\\
  
 In extreme cases you have to resolve conflicts with a force command like In extreme cases you have to resolve conflicts with a force command like
  
-dpkg -r --force-depends and your package_name+dpkg -r - -force-depends and your package_name
  
 That should do the trick. That should do the trick.
upgrade_linux.1541604360.txt.gz · Last modified: 2018/11/07 16:26 by admin