Follow Techotopia on Twitter

On-line Guides
All Guides
eBook Store
iOS / Android
Linux for Beginners
Office Productivity
Linux Installation
Linux Security
Linux Utilities
Linux Virtualization
Linux Kernel
System/Network Admin
Programming
Scripting Languages
Development Tools
Web Development
GUI Toolkits/Desktop
Databases
Mail Systems
openSolaris
Eclipse Documentation
Techotopia.com
Virtuatopia.com

How To Guides
Virtualization
General System Admin
Linux Security
Linux Filesystems
Web Servers
Graphics & Desktop
PC Hardware
Windows
Problem Solutions
Privacy Policy

  




 

 

Debian GNU/Linux Reference Guide
Prev Home Next

5.2 Preparing for upgrade

You can upgrade from one distribution to another one by fetching packages over the network. This can be done as follows.

Get a clean list of repositories for stable:

     # cd /etc/apt
     # cp -f sources.list sources.list.old
     # :>sources.list  
     # apt-setup noprobe

If you want to upgrade to testing then add testing sources to this new list. If you want to upgrade to unstable then also add unstable sources.

     # cd /etc/apt
     # grep -e "^deb " sources.list >srcs
     # :>sources.list  
     # cp -f srcs sources.list
     # sed -e "s/stable/testing/" srcs >>sources.list
     # sed -e "s/stable/unstable/" srcs >>sources.list
     # apt-get update
     # apt-get install apt apt-utils

See Beginning Debian package management, Section 6.2 for the art of tuning /etc/apt/sources.list and /etc/apt/preferences.


Debian GNU/Linux Reference Guide
Prev Home Next

 
 
  Published under the terms of the GNU General Public License Design by Interspire