LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 08-18-2007, 05:28 PM   #1
el amigo*
Member
 
Registered: Dec 2006
Location: República Dominicana
Distribution: CentOS, Scientific Linux
Posts: 122

Rep: Reputation: 15
-best way to upgrade from Etch to Lenny ?


Hi all,

I have 3 Etch boxes and was thinking to upgrade them to Testing, but I am not really sure on how to do it properly.

Here's my sources.list :
PHP Code:
deb http://ftp.br.debian.org/debian/ etch main
deb-src http://ftp.br.debian.org/debian/ etch main

deb http://security.debian.org/ etch/updates main contrib
deb-src http://security.debian.org/ etch/updates main contrib

#debian multimedia repository (http://lxer.com/module/forums/t/24283/)
deb ftp://linorg.usp.br/debian-marillat/ stable main
deb-src ftp://linorg.usp.br/debian-marillat/ stable main

# Official site for latest version of skype.
deb http://download.skype.com/linux/repos/debian/ stable non-free

# Google picasa
#deb http://dl.google.com/linux/deb/ stable non-free

### Opera Browser (http://deb.opera.com/) ###
deb http://deb.opera.com/opera/ etch non-free

###Java 6 JRE/SDK (From Official Debian Repository) ###
deb http://ftp.bononia.it/debian etch main contrib non-free 
-What would you guys recommend ?

Thanks in advance for your advices !
 
Old 08-18-2007, 08:46 PM   #2
rickh
Senior Member
 
Registered: May 2004
Location: Albuquerque, NM USA
Distribution: Debian-Lenny/Sid 32/64 Desktop: Generic AMD64-EVGA 680i Laptop: Generic Intel SIS-AC97
Posts: 4,250

Rep: Reputation: 62
Looks to me like all you need to do is change each occurrence of Etch (or stable) to Lenny (or testing), then ...

# aptitude update
# aptitude dist-upgrade

...and you're done.
 
Old 08-19-2007, 07:19 AM   #3
el amigo*
Member
 
Registered: Dec 2006
Location: República Dominicana
Distribution: CentOS, Scientific Linux
Posts: 122

Original Poster
Rep: Reputation: 15
Thank you, rickh. I'll see when do I feel to "dive into testing"...

I was wondering if the following repos could be upgraded to testing :
PHP Code:
# Official site for latest version of skype.
deb http://download.skype.com/linux/repos/debian/ stable non-free

# Google picasa
#deb http://dl.google.com/linux/deb/ stable non-free

###Java 6 JRE/SDK (From Official Debian Repository) ###
deb http://ftp.bononia.it/debian etch main contrib non-free 
Thanks !
 
Old 08-25-2007, 06:45 PM   #4
replica9000
Senior Member
 
Registered: Jul 2006
Distribution: Debian Unstable
Posts: 1,169
Blog Entries: 2

Rep: Reputation: 276Reputation: 276Reputation: 276
I have been thinking of upgrading from Etch to Lenny. I went from Sarge to Etch while Etch was still in testing. It was a good upgrade. But right now is there anything about Lenny that would make it worth my while to upgrade? Or should I wait some time to upgrade?
 
Old 08-25-2007, 07:08 PM   #5
hitest
Guru
 
Registered: Mar 2004
Location: Canada
Posts: 7,404

Rep: Reputation: 3810Reputation: 3810Reputation: 3810Reputation: 3810Reputation: 3810Reputation: 3810Reputation: 3810Reputation: 3810Reputation: 3810Reputation: 3810Reputation: 3810
Smile

Quote:
Originally Posted by replica9000 View Post
But right now is there anything about Lenny that would make it worth my while to upgrade? Or should I wait some time to upgrade?
Lenny may have some software you want that is not available in the Etch repos. Pidgin is available in Lenny.
It is up to you:-) I'm happy with Etch, but Lenny will have newer software.
 
Old 08-27-2007, 12:53 PM   #6
replica9000
Senior Member
 
Registered: Jul 2006
Distribution: Debian Unstable
Posts: 1,169
Blog Entries: 2

Rep: Reputation: 276Reputation: 276Reputation: 276
I moved to Etch awhile before it became the stable release. It was pretty stable for me then and of course now. But now that Etch is stable, Lenny is the testing stage. Sid didn't take over the testing stage so where does Lenny come from?
 
Old 08-27-2007, 12:57 PM   #7
farslayer
LQ Guru
 
Registered: Oct 2005
Location: Northeast Ohio
Distribution: linuxdebian
Posts: 7,249
Blog Entries: 5

Rep: Reputation: 191Reputation: 191
Quote:
Originally Posted by replica9000 View Post
I moved to Etch awhile before it became the stable release. It was pretty stable for me then and of course now. But now that Etch is stable, Lenny is the testing stage. Sid didn't take over the testing stage so where does Lenny come from?

Lenny came from the binoculars

Sid never changes, He will always be the kid next door that abuses the toys. Unstable will always be named sid

http://www.debian.org/releases/
http://www.debian.org/doc/FAQ/ch-ftp...ceforcodenames
 
Old 08-31-2007, 09:12 PM   #8
replica9000
Senior Member
 
Registered: Jul 2006
Distribution: Debian Unstable
Posts: 1,169
Blog Entries: 2

Rep: Reputation: 276Reputation: 276Reputation: 276
Is it possible I can update my repositories from Etch to Sidux? (since it's mainly Sid. I was thinking of upgrading to Sid and Sidux seems like a better deal.
 
Old 09-18-2007, 10:07 AM   #9
memius
LQ Newbie
 
Registered: Sep 2007
Posts: 24

Rep: Reputation: 0
not so smooth

i tried to upgrade from etch to lenny, and it didn't work properly.

this is the error message when i run 'aptitude safe-upgrade':

mac:/# aptitude safe-upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
Reading extended state information
Initializing package states... Done
Reading task descriptions... Done
Building tag database... Done
The following packages have been automatically kept back:
kdemultimedia libarts1-xine libsasl2-2 libsasl2-modules libxine1
The following packages have been kept back:
gcc
The following partially installed packages will be configured:
linux-image-2.6-powerpc linux-image-2.6.21-2-powerpc
0 packages upgraded, 0 newly installed, 0 to remove and 6 not upgraded.
Need to get 0B of archives. After unpacking 0B will be used.
Setting up linux-image-2.6.21-2-powerpc (2.6.21-6) ...
Finding valid ramdisk creators.
Using mkinitramfs-kpkg to build the ramdisk.
mkinitramfs-kpkg failed to create initrd image.
Failed to create initrd image.
dpkg: error processing linux-image-2.6.21-2-powerpc (--configure):
subprocess post-installation script returned error exit status 9
dpkg: dependency problems prevent configuration of linux-image-2.6-powerpc:
linux-image-2.6-powerpc depends on linux-image-2.6.21-2-powerpc; however:
Package linux-image-2.6.21-2-powerpc is not configured yet.

dpkg: error processing linux-image-2.6-powerpc (--configure):
dependency problems - leaving unconfigured
Errors were encountered while processing:
linux-image-2.6.21-2-powerpc
linux-image-2.6-powerpc
E: Sub-process /usr/bin/dpkg returned an error code (1)
A package failed to install. Trying to recover:
Setting up linux-image-2.6.21-2-powerpc (2.6.21-6) ...
Finding valid ramdisk creators.
Using mkinitramfs-kpkg to build the ramdisk.
mkinitramfs-kpkg failed to create initrd image.
Failed to create initrd image.
dpkg: error processing linux-image-2.6.21-2-powerpc (--configure):
subprocess post-installation script returned error exit status 9
dpkg: dependency problems prevent configuration of linux-image-2.6-powerpc:
linux-image-2.6-powerpc depends on linux-image-2.6.21-2-powerpc; however:
Package linux-image-2.6.21-2-powerpc is not configured yet.
dpkg: error processing linux-image-2.6-powerpc (--configure):
dependency problems - leaving unconfigured
Errors were encountered while processing:
linux-image-2.6.21-2-powerpc
linux-image-2.6-powerpc
Reading package lists... Done
Building dependency tree
Reading state information... Done
Reading extended state information
Initializing package states... Done
Reading task descriptions... Done
Building tag database... Done
mac:/#

i suspect there is a clue in the greened lines, but i have no idea how to fix this.
 
Old 09-24-2007, 10:42 AM   #10
adicarlo
LQ Newbie
 
Registered: Sep 2007
Posts: 1

Rep: Reputation: 0
Quote:
Originally Posted by memius View Post
i tried to upgrade from etch to lenny, and it didn't work properly.

this is the error message when i run 'aptitude safe-upgrade':

mac:/# aptitude safe-upgrade
[...]
Setting up linux-image-2.6.21-2-powerpc (2.6.21-6) ...
Finding valid ramdisk creators.
Using mkinitramfs-kpkg to build the ramdisk.
mkinitramfs-kpkg failed to create initrd image.
Failed to create initrd image.
dpkg: error processing linux-image-2.6.21-2-powerpc (--configure):
subprocess post-installation script returned error exit status 9
[...]
i suspect there is a clue in the greened lines, but i have no idea how to fix this.
No, your problem is with mkinitramfs-kpkg. Possibly you should make sure that initramfs-tools is the latest version and that its dependancies are ok.

On the command line, you can try to rerun when things have changed like this: "dpkg --configure linux-image-2.6.21-2-powerpc"
 
Old 09-24-2007, 11:40 PM   #11
memius
LQ Newbie
 
Registered: Sep 2007
Posts: 24

Rep: Reputation: 0
sorry, i posted in two places - the problem is solved now:

http://www.linuxquestions.org/questi...d.php?t=585569
 
  


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
Etch and Lenny mixed up! kaz2100 Debian 2 08-16-2007 11:32 AM
Lenny vs Etch kz_chopper Debian 3 07-14-2007 06:51 PM
from Etch testing to Etch stable, or to Lenny Perquisitor Debian 7 04-13-2007 03:27 PM
etch upgrade to lenny StargateSteve Debian 8 04-12-2007 03:11 PM
Last week Debian Testing is still ETCH or lenny already?? doraimom Debian 1 04-09-2007 06:01 AM

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

All times are GMT -5. The time now is 05:06 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
Open Source Consulting | Domain Registration