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.
|
How To Set Up Master Slave Replication in MySQL
Viewed 3528 times since Thu, Dec 26, 2013
How To Create Data Queries in PostgreSQL By Using the Select Command
Viewed 14586 times since Mon, Dec 30, 2013
The Basics of Using the Sed Stream Editor to Manipulate Text in Linux
Viewed 6665 times since Fri, Dec 27, 2013
How To Manage Content Using the Ghost Blogging Platform
Viewed 8981 times since Sun, Dec 29, 2013
How To Use Yaourt to Easily Download Arch Linux Community Packages
Viewed 4307 times since Fri, Dec 27, 2013
How To Create a SSL Certificate on Apache on Arch Linux
Viewed 3522 times since Sun, Dec 29, 2013
How to Setup Additional Entropy for Cloud Servers Using Haveged
Viewed 2708 times since Sat, Jan 4, 2014
How To Install and Secure phpMyAdmin on Debian 7
Viewed 3833 times since Fri, Dec 27, 2013
How To Install Git on Ubuntu 12.04
Viewed 6385 times since Mon, Dec 23, 2013
How To Import and Export Databases and Reset a Root Password in MySQL
Viewed 3034 times since Thu, Dec 26, 2013
|