upgrade_linux
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| upgrade_linux [2018/11/07 16:20] – admin | upgrade_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 | + | apt-get |
| 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-upgradeaptitude | + | aptitude -y -s -f - -with-recommends dist-upgrade\\ |
| + | aptitude | ||
| + | aptitude | ||
| + | |||
| + | Now if you encounter dependancy errors after distrib note the names of the package errors and do the following: | ||
| + | |||
| + | dpkg - -remove package_name\\ | ||
| + | aptitude -f install\\ | ||
| + | dpkg - -configure - -pending\\ | ||
| + | |||
| + | In extreme cases you have to resolve conflicts with a force command like | ||
| + | dpkg -r - -force-depends and your package_name | ||
| + | That should do the trick. | ||
| + | \\ | ||
| + | \\ | ||
| + | **Your ArtIT Team** | ||
| + | \\ | ||
| + | \\ | ||
| + | **[[linux|BACK]]** | ||
upgrade_linux.1541604038.txt.gz · Last modified: 2018/11/07 16:20 by admin
