upgrade_linux
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revision | |||
upgrade_linux [2018/11/07 17:11] – admin | upgrade_linux [2018/11/07 22:08] (current) – admin | ||
---|---|---|---|
Line 15: | Line 15: | ||
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.1541607087.txt.gz · Last modified: 2018/11/07 17:11 by admin