LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices


Reply
  Search this Thread
Old 03-23-2012, 11:05 AM   #1
Cultist
Member
 
Registered: Feb 2010
Location: Georgia
Distribution: Slackware64 14.2
Posts: 779

Rep: Reputation: 107Reputation: 107
upgrading debian minor build versions and from stable to testing


I'm normally a Slackware user but I'm doing some testing on other distros to learn deb and rpm systems. I'm wanting to add a debian partition, but I only have a 6.0.x set of discs and I'm running on a shared internet connection that won't allow me to easily download a full set of the newer ones (netinstall isn't an option because the shared connection requires authentication).

So my question is: With my 6.0.x stable set of discs, can I easily upgrade to the most current testing version? And if not, can I at least easily upgrade to the most current stable?

Thanks
 
Old 03-23-2012, 11:09 AM   #2
snowday
Senior Member
 
Registered: Feb 2009
Posts: 4,667

Rep: Reputation: 1411Reputation: 1411Reputation: 1411Reputation: 1411Reputation: 1411Reputation: 1411Reputation: 1411Reputation: 1411Reputation: 1411Reputation: 1411
The answer is "yes" to both questions, assuming you have the bandwidth for the updates.

To update your Squeeze/Stable/6.0.x system, use your choice of apt-get or aptitude (I prefer apt-get):

Code:
apt-get update
apt-get dist-upgrade
To upgrade Stable to Testing, you'd better get a more experienced Debian user to talk you through it; I believe it is recommended to upgrade the kernel and toolchain first, before you do the dist-upgrade.
 
1 members found this post helpful.
Old 03-23-2012, 11:27 AM   #3
273
LQ Addict
 
Registered: Dec 2011
Location: UK
Distribution: Debian Sid AMD64, Raspbian Wheezy, various VMs
Posts: 7,680

Rep: Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373
I would add that the upgrade should probably be done straight after install without adding any additional packages. For example if you prefer KDE or LXDE just leave it as Gnome until it's updated then install a different desktop environment or display manager.
Apologies if the above is obvious but not doing it like that has cost me hours.
 
Old 03-23-2012, 08:45 PM   #4
widget
Senior Member
 
Registered: Oct 2008
Location: S.E. Montana
Distribution: Debian Testing, Stable, Sid and Manjaro, Mageia 3, LMDE
Posts: 2,628

Rep: Reputation: 497Reputation: 497Reputation: 497Reputation: 497Reputation: 497
The important thing is to realize that to move to testing you have to have a fully up to date stable install.

Trying it with anything less will lead to trouble.

There have been some posts of folks having trouble going from Squeeze to Wheezy lately. I have upgraded several myself with no problem.

I usually install the netinstall for squeeze and go up from there as I have the band width for it. This is a lot simpler more basic system and updates quite easily. I add things like the the entire xorg/xserver and DE after upgrading.

I think that if you leave Squeeze about as default as possible you will have fewer problems.

You need to change your /etc/apt/sources.list from calling for 'squeeze' to calling for "wheezy". That will, when Wheezy goes stable, remain Wheezy the new stable.

If you want to stay with testing at that time you want to use "testing" in the sources.list. The install I am on now started life as Squeeze when it was testing. I liked it so much that I changed the "list" to read testing instead of squeeze.

One thing to consider if you want Wheezy is there is only ONE disk you need. Disk 1. That will install the base Debian install, complete with the default packages the Debian packages with their OS. This is fully functional and there are few packages you need beyond what is on there. They are all available in the repos and you can get all you want for less band width than downloading even the second disk unless you want an awful lot of packages.

Downloading and installing Whezzy that way will probably use less band width than updating and adding to Squeeze.

You may want to look at the last few pages of this "sticky" thread from this sub forum;
http://www.linuxquestions.org/questi...e-list-330913/

Very handy in setting up your sources.list. I say the last few pages because it was started in 05. The information is a little out of date on the early pages as the repo structure has evolved some since then. The whole thing is interesting however.

No matter how you get to Wheezy install the package "apt-listbugs". This will warn you of KNOWN bugs on packages you are about to install or upgrades of packages installed. This is a very nice thing to have and can save you some trouble.
 
2 members found this post helpful.
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
upgrading from stable to testing Knightron Debian 23 12-28-2011 02:28 AM
Debian Stable -> Testing skoinga Debian 1 12-08-2010 05:33 AM
debian testing vs debian stable with testing repositories? wanas Debian 5 02-28-2009 10:23 PM
LXer: For me, Debian Testing is more stable than Stable LXer Syndicated Linux News 0 04-22-2008 05:20 AM
Debian testing to stable Tinku Linux - General 3 11-24-2005 04:03 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian

All times are GMT -5. The time now is 11:35 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration