LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 03-30-2006, 09:32 AM   #1
g_srinivas
Member
 
Registered: Jul 2005
Location: USA
Distribution: SuSE 9
Posts: 49

Rep: Reputation: 15
Question [HOW-TO] debian stable -> unstable???


I just now finished, again reinstalling debian Sarge Linux and currently its in stable state and i want to update it to unstable so that i get all latest packages. I have tried updating to unstable before also, but always faced many problems and always got stuck at some poing and later i was left with no option other than reinstalling. And so this time before i go for the update i thought its better to take some tips and advice from the experts. The two main problems which i face everytime while update are:
  1. I have a laptop and unfortunately it doesnt have a built in network card and so i am using Netgear 32-bit PCMCIA based network card (Model: FA511) to connect to internet, which works perfectly in debian stable state but when i update to unstable then i dont have any internet connection. When i try to check with "ifconfig" command, i get only localhost(i.e.,127.0.0.1) and the other netgear network card goes missing. I think that with the new update, the pcmcia module isn't loaded at all and I also think that this is because of the new kernel(2.6.x) and the old pcmcia modules aren't supported on this one. So, how can i avoid this and make sure that on my update, i am still able to connect to internet? For your information below you can find the current content of /etc/network/interfaces file:
    Code:
    # This file describes the network interfaces available on your system
    # and how to activate them. For more information, see interfaces(5).
    
    # The loopback network interface
    auto lo
    iface lo inet loopback
    
    # This is a list of hotpluggable network interfaces.
    # They will be activated automatically by the hotplug subsystem.
    mapping hotplug
        script grep
        map eth0
    
    # The primary network interface
    iface eth0 inet dhcp
  2. Also, while updating i get in between many error messages saying something about LOCALE, LC_TYPE, LC_MESSAGES, LC_CTYPE etc., settings. I am sorry that i cant paste them here, as i dont know where i can find the installation log for the update. But i hope that you are aware about these problems. My current locale settings are as follows:
    Code:
    latitude:~# dpkg -l | grep locales
    ii  locales        2.3.2.ds1-22   GNU C Library: National Language (locale) da
    
    # locale
    LANG=en_US
    LC_CTYPE="en_US"
    LC_NUMERIC="en_US"
    LC_TIME="en_US"
    LC_COLLATE="en_US"
    LC_MONETARY="en_US"
    LC_MESSAGES="en_US"
    LC_PAPER="en_US"
    LC_NAME="en_US"
    LC_ADDRESS="en_US"
    LC_TELEPHONE="en_US"
    LC_MEASUREMENT="en_US"
    LC_IDENTIFICATION="en_US"
    LC_ALL=
    #
    Do i need to set any special locale settings other than the one's i gave while my first time installation? if yes then how to do that?

My procedure for updating Debian stable to unstable is first to change the word stable to unstable in /etc/apt/sources.list and then run the following commands:
Code:
# apt-get update
# apt-get install apt apt-utils
# apt-get unstable upgrade
# apt-get unstable dist-upgrade
Is there anything that i am doing wrong or missing something? Also, i want to know whats the difference between apt-get, aptitude and dselect? I have seen in some sites people using these three for updating their system. Which one is the latest or better which one exactly should be used for updating system? Someone please help me update my debian system.

Thanks in advance.
 
Old 03-30-2006, 09:44 AM   #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
Try first updating to testing rather than unstable. The trickiest things are the conversions from modutils (affects your network card) to modprobe, and from Xserver-XFree86 to Xserver-xorg. Change unstable to testing, then apt-get update, apt-get upgrade, apt-get dist-upgrade. (You don't need to include the repo identifier in the apt-get command. Your sources.list takes care of that.)

Since you're getting a lot of practice installing, you might want to consider a fresh install directly to Testing.

*********
Edit: Ooh! Just noticed that you're the person whose computer I messed up a while ago. Notice the disclaimer I've added to my signature. lol.

Last edited by rickh; 03-30-2006 at 09:51 AM.
 
Old 03-30-2006, 02:01 PM   #3
g_srinivas
Member
 
Registered: Jul 2005
Location: USA
Distribution: SuSE 9
Posts: 49

Original Poster
Rep: Reputation: 15
Sounds good idea.. i'm currently downloading Debian Etch beta-2 and will post as soon as i done with this. Since this is my first time directly with a beta edition, i can't say what problems i may face. Anyways, i'll try and keep this topic updated.

And, dont worry at all that your post had messed my computer.. it's fine, after all this all isn't going completely waste also.. right!
 
Old 03-31-2006, 02:46 AM   #4
g_srinivas
Member
 
Registered: Jul 2005
Location: USA
Distribution: SuSE 9
Posts: 49

Original Poster
Rep: Reputation: 15
I successfully managed to install Debian Etch beta2 on my laptop and my current settings for /etc/apt/sources.list looks like:
Code:
#
# deb cdrom:[Debian GNU/Linux testing _Etch_ - Official Snapshot i386 Binary-1 (20060314)]/ etch contrib main


deb cdrom:[Debian GNU/Linux testing _Etch_ - Official Snapshot i386 Binary-1 (20060314)]/ etch contrib main
deb http://ftp.de.debian.org/debian/ etch main
deb-src http://ftp.de.debian.org/debian/ etch main

deb http://security.debian.org/ etch/updates main contrib
deb-src http://security.debian.org/ etch/updates main contrib
Now what modifications should be done on this file that i get updated to unstable? I hope the commands for updating are still the same (except repo identifier):
Code:
# apt-get update
# apt-get install apt apt-utils
# apt-get upgrade
# apt-get dist-upgrade
or are there any further intermediate steps before going into unstable? also, i noticed one problem within my current gnome window system. My laptop has track point and normal touch pad for controlling mouse movement. The problem is that the mouse movements are very slow, even after changing the settings "Mouse Preferences" and setting Motion Acceleration Speed to full. The trackpoint seems to get better with this change but for my touch pad this option doesnt show any difference How can i fix this?
 
Old 03-31-2006, 09:35 AM   #5
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
Your first two commands are not necessary. You already have apt installed, and any necessary updates will happen automatically.

In order to get to Sid (Unstable), Edit the repo lines in your /etc/apt/sources.list file to look like this:
Code:
deb http://ftp.de.debian.org/debian/ unstable main contrib non-free
deb-src http://ftp.de.debian.org/debian/ unstable main contrib non-free
Then run:
# apt-get update
# apt-get dist-upgrade

I suggest after that, you should change your sources.list back to testing, and, in the future, go to Sid only for packages that you specifically want. That way, you also get to take advantage of the recent installation of security updates for Testing.

My sources list looks like this:
Code:
# deb cdrom:[Debian GNU/Linux testing _Etch_ - Official Snapshot amd64 Binary-1 (20060327)]/ etch main

deb http://mirror.espri.arizona.edu/debian-amd64/debian/ testing main contrib non-free
deb-src http://mirror.espri.arizona.edu/debian-amd64/debian/ testing main contrib non-free

#deb http://mirror.espri.arizona.edu/debian-amd64/debian/ unstable main contrib non-free
#deb-src http://mirror.espri.arizona.edu/debian-amd64/debian/ unstable main contrib non-free

deb http://secure-testing.debian.net/debian-secure-testing testing/security-updates main contrib non-free
I do regular dist-upgrades to pick up any new packages that have moved to testing, then whenever I want a package from SID, I change the comments to go there for a specific package, then set them back to testing. Each time the sources.list is changed, you do # apt-get update, and then carry on.

*****
The initial # apt-get dist-upgrade to Sid may fix your mouse problem. If it doesn't, that gives you a first area to work in.

Last edited by rickh; 03-31-2006 at 09:38 AM.
 
Old 03-31-2006, 10:49 AM   #6
g_srinivas
Member
 
Registered: Jul 2005
Location: USA
Distribution: SuSE 9
Posts: 49

Original Poster
Rep: Reputation: 15
Hmmm.. modified my /etc/apt/sources.list like you said and it looks as follows:
Code:
#
# deb cdrom:[Debian GNU/Linux testing _Etch_ - Official Snapshot i386 Binary-1 (20060314)]/ etch contrib main

#deb cdrom:[Debian GNU/Linux testing _Etch_ - Official Snapshot i386 Binary-1 (20060314)]/ etch contrib main
#deb http://ftp.de.debian.org/debian/ etch main
#deb-src http://ftp.de.debian.org/debian/ etch main

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

deb http://ftp.de.debian.org/debian/ unstable main contrib non-free
deb-src http://ftp.de.debian.org/debian/ unstable main contrib non-free
now while updating with above /etc/apt/sources.list, i am getting error message(only last few lines below):
Code:
Unpacking linux-image-2.6.16-1-686 (from .../linux-image-2.6.16-1-686_2.6.16-4_i386.deb) ...
Done.
Preparing to replace linux-image-2.6.686 2.6.15-8 (using .../linux-image-2.6-686_2.6.16-4_i386.deb) ...
Unpacking replacement linux-image-2.6-686 ...
Errors were encountered while processing:
 /var/cache/apt/archives/gnome-media-common_2.12.0-4_all.deb
 /var/cache/apt/archives/libgnome-media0_2.12.0-4_i386.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
#
how to resolve from this now?
 
  


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
stable vs. testing vs. unstable pestie Debian 4 06-20-2005 04:54 PM
stable? testing? unstable? koyi Debian 17 12-16-2004 08:04 AM
stable vs unstable jazzben Linux - Newbie 5 08-16-2004 10:32 AM
installing debian stable, unstable ... ? acker Debian 12 04-12-2004 09:00 AM
stable --> unstable security4ever Linux - General 1 06-30-2003 04:23 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 11:12 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