Difference between revisions of "Upgrade"
Line 5: | Line 5: | ||
<code>nano /etc/debian-version</code> | <code>nano /etc/debian-version</code> | ||
current version (sept 2015) 7.8 | current version (sept 2015) 7.8 <br> | ||
table of reference:: table with colors | table of reference:: table with colors | ||
Line 13: | Line 13: | ||
==STEP 2 UPDATE CURRENT DISTRIBUTION== | ==STEP 2 UPDATE CURRENT DISTRIBUTION== | ||
old stable > to stable | old stable > to stable<br /> | ||
<code>apt-get update && apt-get dist-upgrade && dist-upgrade && apt-get autoremove</code> | <code>apt-get update && apt-get dist-upgrade && dist-upgrade && apt-get autoremove</code> | ||
Line 24: | Line 24: | ||
<code>nano /etc/apt/sources.list</code> | <code>nano /etc/apt/sources.list</code> | ||
wikipedia / debian > table with colors | wikipedia / debian > table with colors<br /> | ||
(change the name of the distribution) | (change the name of the distribution) | ||
Line 32: | Line 32: | ||
<code>deb-src http://www.debian.org/debian jessie main</code> | <code>deb-src http://www.debian.org/debian jessie main</code> | ||
==STEP 4 UPGRADE | ==STEP 4 UPGRADE== | ||
<code>apt-get update && apt-get dist-upgrade && dist-upgrade && apt-get autoremove</code> | <code>apt-get update && apt-get dist-upgrade && dist-upgrade && apt-get autoremove</code> |
Revision as of 20:25, 20 September 2015
Upgrade debian
STEP 1 CHECK YOUR CURRENT DISTRIBUTION
nano /etc/debian-version
current version (sept 2015) 7.8
table of reference:: table with colors https://en.wikipedia.org/wiki/Debian%7Chttps://en.wikipedia.org/wiki/Debian
check :: wheezy old stable
STEP 2 UPDATE CURRENT DISTRIBUTION
old stable > to stable
apt-get update && apt-get dist-upgrade && dist-upgrade && apt-get autoremove
(first update than upgrade, than upgrade again if something didn't happen well and autoremove the packages which are not used)
STEP 3 UPDATE THE SOURCE.LIST FOR THE NEW DEBIAN RELEASE
update the source.list
nano /etc/apt/sources.list
wikipedia / debian > table with colors
(change the name of the distribution)
https://wiki.debian.org/SourcesList%7Chttps://wiki.debian.org/SourcesList
deb http://www.debian.org/debian jessie main
deb-src http://www.debian.org/debian jessie main
STEP 4 UPGRADE
apt-get update && apt-get dist-upgrade && dist-upgrade && apt-get autoremove