DebianThis forum is for the discussion of Debian Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
# first change to the right /etc/apt/sources.list
apt-get update
apt-get upgrade
apt-get dist-upgrade
be the right way?
Assuming that a typical line in your sources.list file looked like this:
Code:
deb http://ftp.de.debian.org/debian/ sarge main
and if you want to always use stable (rather than always use lenny - which is stable at the moment) then you could change all the "sarge" references in each line of the sources.list file to "stable" so that the sample line above would look like this:
Code:
deb http://ftp.de.debian.org/debian/ stable main
Then you wouldn't have to change the sources list file every time that Debian has another release. You would be tracking "stable" automatically.
I would use aptitude rather than apt-get and I'm not sure your middle step is really necessary so I would suggest:
Is this what happened after you did your dist-upgrade? Depending on what kernel you're running you may want to upgrade the kernel at this time as well. I'll wait to hear more details before venturing an diagnosis.
BTW, how do you know this is a bug? Have your read something about it somewhere?
If you're upgrading from Sarge to Lenny, this is quite a jump so a few glitches are not surprising.
cheers,
jdk
)h didn't see that but that was the exact error i got. When i tried to downgrade back to etch it wouldn't budge
The error you posted seems to related to fluxbox. Have you tried any other windows manager? When your login screen comes on can you select another session besides fluxbox? Is fluxbox correctly installed? Any broken packages? Have you checked the /var/log/Xorg.0.log for any useful error messages?
cheers,
jdk
Sorry, don't mean to hijack this thread but I'm trying to do the same thing..
I'm presently runnign etch with kernel 2.4.27-3-386
I too would like to upgrade to the lastest since my OS is about 4 years old.. Soeone mentioned above that the OP might want to upgrade his kernel also.. Wouldn't doing an "aptitude update" and "aptitude dist-upgrade" bring in a new kernel if I change my sources.list file to the stable?
# Main
deb xxxx://ftp.us.debian.org/debian stable main contrib non-free
deb-src xxxx://ftp.us.debian.org/debian stable main contrib non-free
# Security
deb xxxx://security.debian.org/ stable/updates main contrib non-free
deb-src xxxx://security.debian.org/ stable/updates main contrib non-free
If not, how should I do a kernel upgrade? Also, should this be done prior to or after doing a dist-upgrade?
Sorry, don't mean to hijack this thread but I'm trying to do the same thing..
I'm presently runnign etch with kernel 2.4.27-3-386
I too would like to upgrade to the lastest since my OS is about 4 years old.. Soeone mentioned above that the OP might want to upgrade his kernel also.. Wouldn't doing an "aptitude update" and "aptitude dist-upgrade" bring in a new kernel if I change my sources.list file to the stable?
# Main
deb xxxx://ftp.us.debian.org/debian stable main contrib non-free
deb-src xxxx://ftp.us.debian.org/debian stable main contrib non-free
# Security
deb xxxx://security.debian.org/ stable/updates main contrib non-free
deb-src xxxx://security.debian.org/ stable/updates main contrib non-free
If not, how should I do a kernel upgrade? Also, should this be done prior to or after doing a dist-upgrade?
I'm doing this remotely via ssh..
Dennis
Nope. In Debian kernels require specific action to upgrade. They don't get upgraded routinely; you have to specifically do the upgrade.
cheers,
jdk
The error you posted seems to related to fluxbox. Have you tried any other windows manager? When your login screen comes on can you select another session besides fluxbox? Is fluxbox correctly installed? Any broken packages? Have you checked the /var/log/Xorg.0.log for any useful error messages?
cheers,
jdk
So I got it working with :
firing the autologin
and apperently the new version of gdm didnt like autologin
i had to recreate a .dmrc with normal login.
I am sorry, but I meant:
from Etch to Lenny
here my sources.list:
the pc works, successfulll dist-upgrade !!
Code:
#
deb http://http.us.debian.org/debian lenny 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
deb http://debian-multimedia.org lenny main
deb http://www.backports.org/debian lenny-backports main contrib non-free
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.