Upgrade

From Anarchaserver
Revision as of 19:38, 20 September 2015 by Ooooo (talk | contribs)

Upgrade debian

STEP 1 CHECK YOUR CURRENT DISTRIBUTION

nano /etc/debian-version

current version (sept 2015) 7.8

table of reference:: table with colors [1]

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)

[2]

deb http://www.debian.org/debian jessie main deb-src http://www.debian.org/debian jessie main

STEP 4 UPDATE THE SOURCE.LIST FOR THE NEW DEBIAN RELEASE apt-get update && apt-get dist-upgrade && dist-upgrade && apt-get autoremove