LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
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 02-07-2008, 08:02 AM   #1
bartock
LQ Newbie
 
Registered: Feb 2008
Location: Planet Earth
Posts: 11

Rep: Reputation: 0
Unhappy Updating Debian Etch to Debian Lenny


Hey everyone;

I am under a bit of a time crunch (or just lazy - you decide). I have a Debian Etch distro installed and I want to update it to Debian Lenny for some testing/development. I would like to use apt-get to do so if I can.

Can someone PLEASE point me in the right direction?

Any help would be very much appreciated!

G
 
Old 02-07-2008, 08:43 AM   #2
David the H.
Bash Guru
 
Registered: Jun 2004
Location: Osaka, Japan
Distribution: Debian sid + kde 3.5 & 4.4
Posts: 6,823

Rep: Reputation: 1950Reputation: 1950Reputation: 1950Reputation: 1950Reputation: 1950Reputation: 1950Reputation: 1950Reputation: 1950Reputation: 1950Reputation: 1950Reputation: 1950
The basic procedure is very easy. Simply change your apt sources list to the lenny sources and then run apt-get update && apt-get dist-upgrade.

Be careful though, dist-upgrade will likely want to uninstall a lot of packages along with the upgrades and new installs. Make sure you watch what it's doing very carefully. You might have to let it uninstall stuff, then reinstall them manually later. It's not a trivial operation, as the upgrade may affect hundreds of packages.
 
Old 02-09-2008, 08:26 AM   #3
jlinkels
Senior Member
 
Registered: Oct 2003
Location: Bonaire
Distribution: Debian Wheezy/Jessie/Sid, Linux Mint DE
Posts: 4,244

Rep: Reputation: 546Reputation: 546Reputation: 546Reputation: 546Reputation: 546Reputation: 546
If you are under time pressure, you should not try to perform a dist-upgrade to testing.

Debian is great and so is the apt mechanism and eventually you'll have a fabulous and stable system. But upgrading from stable to testing 10 months after the last release of stable is at least daring if you really need your computer.

If you insist, take your precautions so you have a fall-back machine. The is *no* reversing procedure. (Oh I am sure people kick in and flame me...yes there is a reversal procedure but it is an order of magnitude more troublesome than the upgrade and that one already gave problems if you got to do the reversal, right?)

As David pointed out, apt-get dist-upgrade is the correct way. If you have a GUI installed, expect between 500-700 MB worth of download.

jlinkels
 
Old 02-09-2008, 08:55 AM   #4
Count Zero
Member
 
Registered: Feb 2008
Distribution: Debian wheezy
Posts: 130

Rep: Reputation: 15
Quote:
Originally Posted by jlinkels View Post
The is *no* reversing procedure
Well, there *is* a reversing procedure from dist-upgrade (not trying to flame you about it ) and here is a howto.

I know for a fact that it is *possible* as I've done it myself (though I will of course not be held legally responsible should your computer start shooting rays of lightning or explode, turn into a hungry T-rex and devour you, summon the Lord of Darkness and engulf the world in eternal suffering or otherwise behave in an unexpected and/or undesired way when you follow the howto ).
 
Old 02-09-2008, 09:15 AM   #5
jlinkels
Senior Member
 
Registered: Oct 2003
Location: Bonaire
Distribution: Debian Wheezy/Jessie/Sid, Linux Mint DE
Posts: 4,244

Rep: Reputation: 546Reputation: 546Reputation: 546Reputation: 546Reputation: 546Reputation: 546
Quote:
Originally Posted by Count Zero View Post
your computer start shooting rays of lightning or explode, turn into a hungry T-rex and devour you, summon the Lord of Darkness and engulf the world in eternal suffering or otherwise behave in an unexpected and/or undesired way
This was exactly what I tried to warn for

I remember one day when I had to work on a project (haha) and could not get a correct graphics driver for my version of Debian (Sarge at the time). I upgraded to testing which was Etch at the time. (Hahaha) No I didn't read the apt-upgrade-bugs or whatever that was called. (Hahahaha) To make a long story short, it took 1 1/2 weeks before I had a workable machine again and 3 weeks in total until I was running Etch but otherwise at the same point as before the upgrade. And the new graphic driver didn't solve the problem I had in the first place. (Hahahahahaha)


jlinkels
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
LXer: Upgrading Debian from Etch to Lenny LXer Syndicated Linux News 0 01-02-2008 03:30 AM
Last week Debian Testing is still ETCH or lenny already?? doraimom Debian 1 04-09-2007 07:01 AM
Dual boot Debian Etch and XP with GRUB - Debian installed First - one HDD bence8810 Debian 11 01-07-2007 11:45 AM
updating debian etch with ubuntu live CD mariogarcia Debian 15 12-21-2006 08:24 PM


All times are GMT -5. The time now is 11:40 AM.

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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration