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
apt-get updateNow, to upgrade, here are the following instructions:
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>.
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.
rebootGive it some time to reboot and reconnect. If everything goes well, you are now running Debian Unstable!
Article ID: 192
Created On: Thu, Dec 26, 2013 at 11:45 PM
Last Updated On: Thu, Dec 26, 2013 at 11:45 PM
Authored by: ASPHostServer Administrator [asphostserver@gmail.com]
Online URL: http://faq.asphosthelpdesk.com/article.php?id=192