Skip to main content

How to upgrade Debian stable to Debian unstable (bleeding edge)

Tip: Watch the video full screen and HD.

In this video i am going to show you how-to How to upgrade Debian stable to Debian unstable.
Don't let the name fool you Debian unstable is made mostly of the latest stable releases of software packages, you will trade some stability for bleeding edge software (you will get a rolling release version of Debian)

Commands

Open a terminal window

Change to ROOT user
su

Open and edit the sources.list file
nano /etc/apt/sources.list

Disable the dvd source repository
Comment with a # the line for the DVD

Add to the file
deb http://yourdebianmirror/ testing main non-free contrib 

Add to the file
deb-src http://yourdebianmirror/ testing main non-free contrib 

Add to the file
deb http://yourdebianmirror/ unstable main non-free contrib 

Save and exit
Ctrl+x

Set the repositories priority
nano /etc/apt/preferences.d/pin

Add to the file
Package: *

Add to the file
Pin: release a=stable 

Add to the file
Pin-Priority: 600

Add to the file
Package: *

Add to the file
Pin: release a=testing

Add to the file
Pin-Priority: 650  

Add to the file
Package: *

Add to the file
Pin: release a=unstable 

Add to the file
Pin-Priority: 700

Save and exit
Ctrl+x

Increase the apt cache limit
nano /etc/apt/apt.conf.d/99cache

Add to the file
APT::Cache-Limit "134217728";

Save and exit
Ctrl+x

Update your repositories package lists
apt-get update

Start the upgrade
apt-get dist-upgrade

Press y


Press q to start the installation



Clean up time
apt-get clean

Clean up time
apt-get autoclean

Clean up time
apt-get autoremove

 Reboot

Debian Unstable (also known by its codename "Sid") is not strictly a release, but rather a rolling development version of the Debian distribution containing the latest and greatest packages which have been introduced into the Debian system. If you are a hardcore developer or tester you should use this release. If you are a power user you might also consider using Debian Testing. The best practices described below are applicable to testing users as well.

PLEASE SUBSCRIBE AND FOLLOW ME ON TWITTER GOOGLE+ OR FACEBOOK!!











Popular Posts