Programster's Blog

Tutorials focusing on Linux, programming, and open source

Upgrade Debian 7 To Debian 8

To upgrade from debian 7 to debian 8, simply change the word wheezy to jessie in your /etc/apt/sources.list. For reference, mine now looks like below:

# deb http://http.debian.net/debian jessie main

deb http://http.debian.net/debian jessie main
deb-src http://http.debian.net/debian jessie main

deb http://security.debian.org/ jessie/updates main
deb-src http://security.debian.org/ jessie/updates main

# jessie-updates, previously known as 'volatile'
deb http://http.debian.net/debian jessie-updates main
deb-src http://http.debian.net/debian jessie-updates main

Then all you need to do is run:

sudo apt-get update && sudo apt-get dist-upgrade -y