upgrade_linux
Differences
This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
upgrade_linux [2018/11/07 16:14] – created 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 9: | Line 9: | ||
First you should always use aptitude as an upgrade tool. | First you should always use aptitude as an upgrade tool. | ||
- | Try to alway start with a client system | + | Try to alway start with a client system\\ |
- | 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-upgrade\\ | ||
+ | aptitude safe-upgrade\\ | ||
+ | aptitude dist-upgrade\\ | ||
+ | |||
+ | 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.1541603680.txt.gz · Last modified: 2018/11/07 16:14 by admin