Difference between revisions of "Upgrade"

From Anarchaserver
 
(15 intermediate revisions by 2 users not shown)
Line 1: Line 1:
Upgrade debian  
Upgrade debian  


STEP 1 CHECK YOUR CURRENT DISTRIBUTION
==STEP 1 CHECK YOUR CURRENT DISTRIBUTION==


nano /etc/debian-version
<code>cat /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
[https://en.wikipedia.org/wiki/Debian]
[https://en.wikipedia.org/wiki/Debian_version_history |https://en.wikipedia.org/wiki/Debian_version_history]
 


check :: wheezy old stable
check :: wheezy old stable


STEP 2 UPDATE CURRENT DISTRIBUTION
current version (aug 2017) 8.8  <br>
old stable  > to stable
check :: jessie old stable


apt-get update && apt-get dist-upgrade && dist-upgrade && apt-get autoremove
==STEP 2 UPDATE CURRENT DISTRIBUTION==
old stable > to stable<br />
 
<code>apt-get update && apt-get dist-upgrade && apt-get autoremove</code>


(first update than upgrade, than upgrade again if something didn't happen well and autoremove the packages which are not used)
(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
==STEP 3 UPDATE THE SOURCE.LIST FOR THE NEW DEBIAN RELEASE==
update the source.list
update the source.list


nano /etc/apt/sources.list
<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)


deb http://www.debian.org/debian jessie main
[https://wiki.debian.org/SourcesList |https://wiki.debian.org/SourcesList]
deb-src http://www.debian.org/debian jessie main
 
<code>deb http://www.debian.org/debian jessie main</code><br />
<code>deb-src http://www.debian.org/debian jessie main</code>


STEP 4 UPDATE THE SOURCE.LIST FOR THE NEW DEBIAN RELEASE
==STEP 4 UPGRADE==
apt-get update && apt-get dist-upgrade && dist-upgrade && apt-get autoremove
<code>apt-get update && apt-get dist-upgrade && apt-get dist-upgrade && apt-get autoremove</code>

Latest revision as of 16:06, 13 August 2017

Upgrade debian

STEP 1 CHECK YOUR CURRENT DISTRIBUTION

cat /etc/debian_version

current version (sept 2015) 7.8

table of reference:: table with colors |https://en.wikipedia.org/wiki/Debian_version_history


check :: wheezy old stable

current version (aug 2017) 8.8
check :: jessie old stable

STEP 2 UPDATE CURRENT DISTRIBUTION

old stable > to stable

apt-get update && apt-get 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

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 && apt-get dist-upgrade && apt-get autoremove