LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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-15-2009, 06:49 PM   #1
htamayo
Member
 
Registered: Jan 2005
Location: san salvador, el salvador
Distribution: Debian Stable, UbuntuStudio Karmic Koala
Posts: 190

Rep: Reputation: 30
get a full upgrade from etch to lenny


Hi, I've noticed that last feb 14th lenny is stable, so, I tried to upgrade from etch to lenny, my sources.list looks like:


Code:
# sources.list generated by apt-spy v3.1
deb http://gd.tuwien.ac.at/opsys/linux/debian/ stable main contrib non-free
deb-src http://gd.tuwien.ac.at/opsys/linux/debian/ stable main contrib non-free

deb http://security.debian.org/ lenny/updates main contrib non-free
deb-src http://security.debian.org/ lenny/updates main contrib non-free
The downloaded packages were about 250MB, after restart the system, at login step I found the message: Debian Gnu/Linux 5.0, but, when I loaded the X, gnome is still 2.14, and nautilus and other packages; also the kernel is the same-2.6.18-

My questions are:
-my sources.list is ok?
-what commands should I use to get a full update to lenny?, I've already apt-get update and apt-get upgrade

Thanks for your answers

All the best
 
Old 02-15-2009, 07:12 PM   #2
Dutch Master
Senior Member
 
Registered: Dec 2005
Posts: 1,686

Rep: Reputation: 124Reputation: 124
Lenny and the latest release of Etch differ only a week or so, so there isn't much change. Besides, when Etch became Stable and Lenny was Testing, Gnome didn't reach 2.14 yet. If you expect the latest and greatest in OSS when Debian releases a new Stable, Debian is not for you...

The sources.list is OK and the commands are OK as well. It's just not much difference between Stable and Testing yet...
 
Old 02-15-2009, 07:33 PM   #3
r1d3r
Member
 
Registered: May 2008
Location: Glendale, CA
Distribution: ubuntu 12.04
Posts: 146

Rep: Reputation: 22
Quote:
Originally Posted by Dutch Master View Post
The sources.list is OK and the commands are OK as well. It's just not much difference between Stable and Testing yet...
Not at all,

In lenny gnome is 2.22 (not 2.14) and also the kernel is 2.26 (not 2.18)!
Something is wrong here.

Let me go check the release notes.
 
Old 02-15-2009, 07:56 PM   #4
r1d3r
Member
 
Registered: May 2008
Location: Glendale, CA
Distribution: ubuntu 12.04
Posts: 146

Rep: Reputation: 22
Ok, i didn't find anything about gnome,
but it seems you need to install the new kernel manually.

Check out this page:
http://www.debian.org/releases/lenny...rading.en.html

EDIT: Did you run "apt-get dist-upgrade"?

Last edited by r1d3r; 02-15-2009 at 08:13 PM.
 
Old 02-15-2009, 10:41 PM   #5
farslayer
LQ Guru
 
Registered: Oct 2005
Location: Northeast Ohio
Distribution: linuxdebian
Posts: 7,243
Blog Entries: 5

Rep: Reputation: 190Reputation: 190
My upgrade from etch to Lenny was about 4 hours of downloads, around 2.8 GB I believe.. (err yeah I guess this particular system isn't what you would call lean, I try everything out that loks neat on this box) I did have to switch from my normal repository to ftp.us.debian.org because my regular repository hadn't been (switched | updated | synced ) fully or whatever it is they do. and the upgrade does automatically upgrade your kernel to 2.6-26, at least mine did

Quote:
Originally Posted by from your link
If you are currently running a 2.6 series kernel from etch this upgrade will take place automatically after you do a full upgrade of the system packages
My bet is the mirror you are using isn't fully synced yet..
 
Old 02-16-2009, 01:04 PM   #6
jens
Senior Member
 
Registered: May 2004
Location: Belgium
Distribution: Debian, Slackware, Fedora
Posts: 1,426

Rep: Reputation: 268Reputation: 268Reputation: 268
#aptitude install dpkg apt aptitude (or apt-get)

#aptitude full-upgrade (or apt-get dist-upgrade)
(a normal or safe- upgrade isn't enough)

PS: aptitude is recommended
 
Old 02-16-2009, 01:45 PM   #7
digerati1338
Member
 
Registered: May 2007
Location: CO
Distribution: Ubuntu
Posts: 152
Blog Entries: 1

Rep: Reputation: 18
You need to run aptitude full-upgrade, as others have mentioned. This replaces dist-upgrade.
 
Old 02-18-2009, 09:18 AM   #8
htamayo
Member
 
Registered: Jan 2005
Location: san salvador, el salvador
Distribution: Debian Stable, UbuntuStudio Karmic Koala
Posts: 190

Original Poster
Rep: Reputation: 30
Updated
Well, It was not so easy, here it is the story:

0. I switched my repos to ftp.us.debian.org, just to be sure that my repo is updated.

1. I tried: aptitude full-upgrade, but I got the message that this option were not available, "this aptitude doesn't have a super cow powers", so I figured out that "full-upgrade" option bellows to the next version of aptitude, although, I used to prefer apt-get instead of aptitude.

2. So, I did apt-get dist-upgrade, then I got a message that It has to download 262 MB of packages, all right, I have to wait like 2 and a half hours, after that, suddenly I got a message that the connection was reset by the repositorie, after that nothing more happens, in fact, I had downloaded like 250 MB, almost done, but the process was terminated.

3. Then I had to do apt-get install aptitude, then aptitude full-upgrade

4. At this point aptitude worked easier than apt-get, aptitude download -again- 260 MB of upgraded and after a while the packages update process begins, I haven't gotten a error message, so, when aptitude finished, I restarted my system.

5. When I've reached the grub screen, I've noticed that I got the lenny's kernel -2.6.26-, all right I chose it and it seems all ok until I reached the part of load the X server, I got the message:
Code:
"failed to load module "via", module does not exist, 0
"no drivers available"
"no screens found"
6. OK, after that I did an dpkg-reconfigure xserver-xorg, but the process just let me choose config about my keyboard, nothing about the driver -like vesa, via, etc- and nothing about the mouse emulation, so, I finished this weird xserver config, then I restart xorg and gdm but the X didn't work.

7. Here is my xorg.conf:
Code:
# xorg.conf (X.Org X Window System server configuration file)
#
# This file was generated by dexconf, the Debian X Configuration tool, using
# values from the debconf database.
#
# Edit this file with caution, and see the xorg.conf manual page.
# (Type "man xorg.conf" at the shell prompt.)
#
# This file is automatically updated on xserver-xorg package upgrades *only*
# if it has not been modified since the last upgrade of the xserver-xorg
# package.
#
# If you have edited this file but would like it to be automatically updated
# again, run the following command:
#   sudo dpkg-reconfigure -phigh xserver-xorg

Section "InputDevice"
	Identifier	"Generic Keyboard"
	Driver		"kbd"
	Option		"XkbRules"	"xorg"
	Option		"XkbModel"	"pc105"
	Option		"XkbLayout"	"latam"
EndSection

Section "InputDevice"
	Identifier	"Configured Mouse"
	Driver		"mouse"
EndSection

Section "Device"
	Identifier	"Configured Video Device"
	Option		"UseFBDev"		"true"
EndSection

Section "Monitor"
	Identifier	"Configured Monitor"
EndSection

Section "Screen"
	Identifier	"Default Screen"
	Monitor		"Configured Monitor"
EndSection
As you can see, my xorg.conf doesn't have nothing related to my monitor, like driver, refresh rate, etc.

So, guys this is so weird, here is my questions:

1. is a kernel problem right?, because the video modules are not loaded and the monitor detection didn't work, why this happens? Maybe I can think that this problem is related to updated from scratch or some way that doesn't included the use of the official repos, but I did it, I used the repos, so, how can I fix the problem of the display?

2. the packages downloaded by apt-get dist-upgraded were not used by aptitude, why aptitude had to download them again?, what about those zombie package, I think that they are still in my pc stealing me free space, how can I check this?

3. what did I wrong?

So, even i got those issues at upgrade process, I still love debian.

All the best

Tamayo
 
Old 02-18-2009, 09:18 AM   #9
htamayo
Member
 
Registered: Jan 2005
Location: san salvador, el salvador
Distribution: Debian Stable, UbuntuStudio Karmic Koala
Posts: 190

Original Poster
Rep: Reputation: 30
Updated
Well, It was not so easy, here it is the story:

0. I switched my repos to ftp.us.debian.org, just to be sure that my repo is updated.

1. I tried: aptitude full-upgrade, but I got the message that this option were not available, "this aptitude doesn't have a super cow powers", so I figured out that "full-upgrade" option bellows to the next version of aptitude, although, I used to prefer apt-get instead of aptitude.

2. So, I did apt-get dist-upgrade, then I got a message that It has to download 262 MB of packages, all right, I have to wait like 2 and a half hours, after that, suddenly I got a message that the connection was reset by the repositorie, after that nothing more happens, in fact, I had downloaded like 250 MB, almost done, but the process was terminated.

3. Then I had to do apt-get install aptitude, then aptitude full-upgrade

4. At this point aptitude worked easier than apt-get, aptitude download -again- 260 MB of upgraded and after a while the packages update process begins, I haven't gotten a error message, so, when aptitude finished, I restarted my system.

5. When I've reached the grub screen, I've noticed that I got the lenny's kernel -2.6.26-, all right I chose it and it seems all ok until I reached the part of load the X server, I got the message:
Code:
"failed to load module "via", module does not exist, 0
"no drivers available"
"no screens found"
6. OK, after that I did an dpkg-reconfigure xserver-xorg, but the process just let me choose config about my keyboard, nothing about the driver -like vesa, via, etc- and nothing about the mouse emulation, so, I finished this weird xserver config, then I restart xorg and gdm but the X didn't work.

7. Here is my xorg.conf:
Code:
# xorg.conf (X.Org X Window System server configuration file)
#
# This file was generated by dexconf, the Debian X Configuration tool, using
# values from the debconf database.
#
# Edit this file with caution, and see the xorg.conf manual page.
# (Type "man xorg.conf" at the shell prompt.)
#
# This file is automatically updated on xserver-xorg package upgrades *only*
# if it has not been modified since the last upgrade of the xserver-xorg
# package.
#
# If you have edited this file but would like it to be automatically updated
# again, run the following command:
#   sudo dpkg-reconfigure -phigh xserver-xorg

Section "InputDevice"
	Identifier	"Generic Keyboard"
	Driver		"kbd"
	Option		"XkbRules"	"xorg"
	Option		"XkbModel"	"pc105"
	Option		"XkbLayout"	"latam"
EndSection

Section "InputDevice"
	Identifier	"Configured Mouse"
	Driver		"mouse"
EndSection

Section "Device"
	Identifier	"Configured Video Device"
	Option		"UseFBDev"		"true"
EndSection

Section "Monitor"
	Identifier	"Configured Monitor"
EndSection

Section "Screen"
	Identifier	"Default Screen"
	Monitor		"Configured Monitor"
EndSection
As you can see, my xorg.conf doesn't have nothing related to my monitor, like driver, refresh rate, etc.

So, guys this is so weird, here is my questions:

1. is a kernel problem right?, because the video modules are not loaded and the monitor detection didn't work, why this happens? Maybe I can think that this problem is related to updated from scratch or some way that doesn't included the use of the official repos, but I did it, I used the repos, so, how can I fix the problem of the display?

2. the packages downloaded by apt-get dist-upgraded were not used by aptitude, why aptitude had to download them again?, what about those zombie package, I think that they are still in my pc stealing me free space, how can I check this?

3. what did I wrong?

So, even i got those issues at upgrade process, I still love debian.

All the best

Tamayo
 
Old 02-18-2009, 10:19 AM   #10
jdkaye
LQ Guru
 
Registered: Dec 2008
Location: Westgate-on-Sea, Kent, UK
Distribution: Debian Testing Amd64
Posts: 5,465

Rep: Reputation: Disabled
Modules are kernel-specific so when you change the kernel you change the module. Most modules are built into the kernel so you don't notice this happening. The question is what video driver (which is a module) were you using in etch? Can you manually load the driver using modprobe? (you can if it's in the current module). Did you happen to back up a copy of your former xorg.conf file before the upgrade so you can see what all your video/screen/monitor settings were? I think that dpkg-reconfigure does that automatically for you so there should be something in the /etc/X11 folder. If so, that means once you get your video driver loaded you can put things back the way they were and you're laughing.
cheers,
jdk
 
Old 02-18-2009, 10:25 AM   #11
farslayer
LQ Guru
 
Registered: Oct 2005
Location: Northeast Ohio
Distribution: linuxdebian
Posts: 7,243
Blog Entries: 5

Rep: Reputation: 190Reputation: 190
1. since it was asking for the via driver did you check to see that it was installed ?
apt-cache policy xserver-xorg-video-via
aptitude install xserver-xorg-video-via


you could also post the output of lspci so we could verify that is the driver you need..

2. Now that you have switched to aptitude you should continue using it exclusively.. you should not switch back and forth between apt-get and aptitude.

aptitude clean will delete all the packages that have been downloaded into the package cache for installation, thus freeing up the space they are using on your system,


3. the directions for the upgrade stated that you should first upgrade your package system before doing the upgrade.. the proper procedure would have been the following as stated in the release notes.

edit sources.list, and change sources to lenny
aptitude update
aptitude install apt dpkg aptitude
aptitude full-upgrade


You seem to be at that point now, although you got there by taking the long route. now you just need to figure out what is missing, due to either your initial repository issues or because you didn't follow the recommended procedure initially. I'm sure it can all be fixed.

Last edited by farslayer; 02-18-2009 at 10:26 AM.
 
Old 02-19-2009, 08:36 PM   #12
htamayo
Member
 
Registered: Jan 2005
Location: san salvador, el salvador
Distribution: Debian Stable, UbuntuStudio Karmic Koala
Posts: 190

Original Poster
Rep: Reputation: 30
Hi, here is the final result:

1. aptitude search xserver. I've noticed that the drivers: xserver-xorg-video-via, xserver-xorg-video-vesa, xserver-xorg-video-vga weren't installed, so:

2. aptitude install xserver-xorg-video-via, xserver-xorg-video-vesa, xserver-xorg-video-vga

3. dpkg-reconfigure -phigh xserver-xorg

4. aptitude clean. This step was very helpfull because delete almost 1GB of space.

So, that's it, I'm posting using the X

Thanks everyone

All the best
 
Old 02-19-2009, 08:55 PM   #13
nx5000
Senior Member
 
Registered: Sep 2005
Location: Out
Posts: 3,307

Rep: Reputation: 57
True, mixing apt-get and aptitude creates problems, that's probably why your via driver decided to leave
Xorg has been greatly improved. It should even start without a config file.
For me it wasn't so thrilling with my sid.. no 1gb download maybe i dist upgrade to experimental just for fun ahah
 
  


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
Can not upgrade from Etch to Lenny ? ashikaumanga Linux - General 6 02-02-2009 08:14 PM
Etch-to-Lenny upgrade? pietruszewski Debian 36 05-09-2008 03:59 PM
Possible to Upgrade Etch to Lenny? BobNutfield Debian 5 02-29-2008 01:45 PM
-best way to upgrade from Etch to Lenny ? el amigo* Debian 10 09-24-2007 11:40 PM
etch upgrade to lenny StargateSteve Debian 8 04-12-2007 03:11 PM

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

All times are GMT -5. The time now is 07:52 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration