Home » Categories » Multiple Categories |
Upgrading Debian to Unstable |
Article Number: 192 | Rating: Unrated | Last Updated: Thu, Dec 26, 2013 at 11:45 PM
|
IntroductionThis article will guide you through the process of upgrading your fresh installation of Debian to Unstable (Sid) version.Don't let the name fool you. While Debian Unstable might sometimes happen to introduce some bugs or regressions with it's updates, it surely isn't as 'Unstable' as name would suggest. Debian Unstable is made mostly of stable releases of software packages, not development versions as one might think at first. Adding further to this, regular Ubuntu releases are based on Debian Unstable and their LTS (Long Term Support) releases are based on Debian Testing. Biggest benefits of upgrading to Unstable are:
Please be aware that the steps in this tutorial should only be performed on a clean installation of Debian. We are also going to show how to enable 'contrib' and 'non-free' repositories. You can read about them here. Additionally, if you wish to enable those repositories, please read "Step 2" carefully. Step OneBefore you get to the upgrading process, you should determine if it's safe for you to do so right now. Because Debian Unstable is often updated, it might happen that it's repository is currently being under maintenance and some packages may fail to install. To help you determine whether it is safe or not to perform the upgrade, you can check out Debian Weather to see if you can proceed further.When you confirm that you are safe to proceed, you can start by logging into your server as root. Step TwoOpen the configuration file in editor:nano /etc/apt/sources.listThe file should look similar to this: deb http://ftp.us.debian.org/debian squeeze main deb http://security.debian.org/ squeeze/updates mainFor the first line, change "squeeze main" at the end of the line with "sid main". deb http://ftp.us.debian.org/debian sid mainThen, replace the entire second line with the following command: deb http://ftp.us.debian.org/debian squeeze mainNow, if you want to enable 'contrib' and 'non-free' repositories, add a third line and insert 'contrib non-free'. deb http://ftp.us.debian.org/debian sid main contrib non-freeTo save your changes, press: Ctrl+OThen confirm with: Enter/ReturnFinally, close the editor by pressing: Ctrl+X Step ThreeUpdate your package lists by typing:apt-get updateNow, to upgrade, here are the following instructions: Run: apt-get dist-upgradeThen confirm that you want to continue with the process and let it run. Don't hide the terminal as you will likely encounter a few questions during the upgrade. If this dialog window appears: ----------------------------| Configuring libc6 |---------------------------- | | | There are services installed on your system which need to be restarted | | when certain libraries, such as libpam, libc, and libssl, are upgraded. | | Since these restarts may cause interruptions of service for the system, | | you will normally be prompted on each upgrade for the list of services | | you wish to restart. You can choose this option to avoid being | | prompted; instead, all necessary restarts will be done for you | | automatically so you can avoid being asked questions on each library | | upgrade. | | | | Restart services during package upgrades without asking? | | | | <Yes> <No> | | | -----------------------------------------------------------------------------Select <Yes>. For the rest of dialogs and questions, if you don't know what to select, just keep the default selections and continue. Sometimes during an upgrade process, an error will pop-up, usually about that there is an unmet dependency or process is locked. If you encounter this, try to restart the upgrading process by issuing: apt-get dist-upgradeIf you are still having issues with the upgrade process, enter: apt-get -f installThen run the update command again. apt-get dist-upgradeIf you encounter any more errors, try to use methods provided above again to see if it will solve them. If problems continue to persist and mentioned methods fail, it might be easier to rebuild your server and restart the procedure - that's why the process should be performed on a clean install. Once the process have been successfully completed, reboot your server. rebootGive it some time to reboot and reconnect. If everything goes well, you are now running Debian Unstable! |
Attachments
There are no attachments for this article.
|
Top 10 Linux Easter Eggs
Viewed 7329 times since Sat, Jan 4, 2014
Installing and Using the Vim Text Editor on a Cloud Server
Viewed 2520 times since Fri, Dec 27, 2013
How To Protect SSH with fail2ban on Debian 7
Viewed 2666 times since Fri, Dec 27, 2013
How To Install Wordpress on Ubuntu 12.04
Viewed 2610 times since Tue, Dec 24, 2013
A Comparison of (Rack) Web Servers for Ruby Web Applications
Viewed 8248 times since Mon, Dec 30, 2013
How to Setup Additional Entropy for Cloud Servers Using Haveged
Viewed 2524 times since Sat, Jan 4, 2014
How To Install (LEMP) nginx, MySQL, PHP stack on Arch Linux
Viewed 13592 times since Sun, Dec 29, 2013
How To Create, Remove, & Manage Tables in PostgreSQL on a Cloud Server
Viewed 3281 times since Mon, Dec 30, 2013
How To Install phpMyAdmin on a LEMP server
Viewed 2432 times since Thu, Dec 26, 2013
Initial Server Setup with Debian 7
Viewed 3676 times since Fri, Dec 27, 2013
|