SourcesList for Debian 8 ‘Jessie’

After a fresh installation of Debian 8 ‘Jessie’, edit the sources.list file with the recommended SourcesList and update your system. This will keep your system updated and protected with the official security updates, and Jessie-specific updates.

  • Open terminal window and execute the following command to open the sources.list file with gedit:

 sudo gedit /etc/apt/sources.list

  • Select everything there is, and replace them with the following lines:

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

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

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

  • These above lines will enable you to use packages from the ‘free‘ repository; that only contains the ‘free software’ components. If you want to use contrib and non-free packages also, i.e. for using WiFi, video graphics drivers, etc., use the following lines instead:

deb http://httpredir.debian.org/debian jessie main contrib non-free
deb-src http://httpredir.debian.org/debian jessie main contrib non-free

deb http://httpredir.debian.org/debian jessie-updates main contrib non-free
deb-src http://httpredir.debian.org/debian jessie-updates main contrib non-free

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

  • Now Save the sources.list file and close it.
  • Fire up the terminal again and execute the following commands one line after another to update and fully upgrade your software packages:

sudo apt-get update
sudo apt-get upgrade
sudo apt-get dist-upgrade

  • This would be all.
Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s