LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
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 01-10-2005, 05:04 AM   #1
terfy
Member
 
Registered: Jan 2005
Location: Denmark
Distribution: openSUSE
Posts: 165

Rep: Reputation: 30
Debian upgrades Automatically ??


I'm wondering a thing..

If you have woody(stable) installed, will it upgrade automatically with

apt-get update
apt-get install

when sarge is released as stable ??
and will it cause some conflicts with some applications ??
 
Old 01-10-2005, 05:38 AM   #2
Sslaxx
Member
 
Registered: Nov 2004
Location: Malvern, UK
Distribution: Debian Sarge (kernel 2.6.8)
Posts: 52

Rep: Reputation: 15
Code:
apt-get update
apt-get dist-upgrade
This may work.
 
Old 01-10-2005, 05:49 AM   #3
mipia
Member
 
Registered: May 2003
Location: lake michigan
Distribution: Debian, Mint, Slackware
Posts: 457

Rep: Reputation: 35
...and if you are looking to update from woody to sarge, edit your
/etc/apt/sources.list so that "stable" is changed to "testing" and do

#apt-get update
#apt-get dist-upgrade

there will be some menu's popping up during this, just read them and answer accordingly
 
Old 01-10-2005, 05:57 AM   #4
Sslaxx
Member
 
Registered: Nov 2004
Location: Malvern, UK
Distribution: Debian Sarge (kernel 2.6.8)
Posts: 52

Rep: Reputation: 15
Mipia, he was asking about when they release Sarge as stable, not upgrading from the current stable to Sarge-as-testing.
 
Old 01-10-2005, 06:17 AM   #5
mipia
Member
 
Registered: May 2003
Location: lake michigan
Distribution: Debian, Mint, Slackware
Posts: 457

Rep: Reputation: 35
hence the use of the word "if"
 
Old 01-10-2005, 07:36 AM   #6
terfy
Member
 
Registered: Jan 2005
Location: Denmark
Distribution: openSUSE
Posts: 165

Original Poster
Rep: Reputation: 30
hehe..

I see the "if" word..

and yes, it was WHEN sarge comes "stable".. will it work then do you think ??

what was the technique to upgrade TO woody from the earlier "stable" ?? if there ever were a "stable" debian before Woody of cause. I don't know that...
 
Old 01-10-2005, 07:39 AM   #7
terfy
Member
 
Registered: Jan 2005
Location: Denmark
Distribution: openSUSE
Posts: 165

Original Poster
Rep: Reputation: 30
what are the difference with

upgrade and dist-upgrade ??

but don't forget my first question..
 
Old 01-10-2005, 09:31 AM   #8
Sslaxx
Member
 
Registered: Nov 2004
Location: Malvern, UK
Distribution: Debian Sarge (kernel 2.6.8)
Posts: 52

Rep: Reputation: 15
From the manpage for "apt-get":

About upgrade:
Quote:
upgrade is used to install the newest versions of all packages currently installed on the system from the sources enumerated in /etc/apt/sources.list. Packages currently installed with new versions available are retrieved and upgraded; under no circumstances are currently installed packages removed, or packages not already installed retrieved and installed. New versions of currently installed packages that cannot be upgraded without changing the install status of another package will be left at their current version. An update must be performed first so that apt-get knows that new versions of packages are available.
And about dist-upgrade:
Quote:
dist-upgrade in addition to performing the function of upgrade, also intelligently handles changing dependencies with new versions of packages; apt-get has a "smart" conflict resolution system, and it will attempt to upgrade the most important packages at the expense of less important ones if necessary. The /etc/apt/sources.list file contains a list of locations from which to retrieve desired package files. See also apt_preferences(5) for a mechanism for overriding the general settings for individual packages.
Hope this helps.

Last edited by Sslaxx; 01-10-2005 at 09:33 AM.
 
Old 01-10-2005, 10:24 AM   #9
mrcheeks
Senior Member
 
Registered: Mar 2004
Location: far enough
Distribution: OS X 10.6.7
Posts: 1,690

Rep: Reputation: 52
For sarge release information have a look at :
http://www.debian.org/releases/sarge/
 
Old 01-11-2005, 12:07 PM   #10
terfy
Member
 
Registered: Jan 2005
Location: Denmark
Distribution: openSUSE
Posts: 165

Original Poster
Rep: Reputation: 30
well, I asume that nobody knows how it updates itself from old"stable" to new"stable..
 
Old 01-11-2005, 04:26 PM   #11
Sslaxx
Member
 
Registered: Nov 2004
Location: Malvern, UK
Distribution: Debian Sarge (kernel 2.6.8)
Posts: 52

Rep: Reputation: 15
Eh?

You shouldn't need to change anything. If your sources.list file points to stable then, when Sarge becomes stable, all you'll have to do is update and dist-upgrade.
 
Old 01-11-2005, 06:22 PM   #12
terfy
Member
 
Registered: Jan 2005
Location: Denmark
Distribution: openSUSE
Posts: 165

Original Poster
Rep: Reputation: 30
hope that too..

but only time will see.
 
Old 01-11-2005, 07:03 PM   #13
WolfCub
Member
 
Registered: Nov 2003
Location: Canada
Distribution: Debian
Posts: 175

Rep: Reputation: 30
Woody will upgrade to Sarge with apt-get when Sarge becomes the new stable version. This is just like what happened when Potato was upgraded to Woody. You'll have to upgrade your kernel and other core packages yourself if you want the newest stuff Sarge has though, apt-get doesn't do that by default but you can do it easily with apt. Just apt-get install kernel-image-2.6.10-1-386 or whatever depending on what version you want. It's easiest to just do a complete reinstall and copy over your root and home directories. This will make less headaches than trying to upgrade everything to Sarge from Woody. Of course if you know what you're doing then it shouldn't be hard with either method.
 
  


Reply



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
Debian 3.0r4 install + upgrades WindBK Debian 9 06-18-2005 10:18 PM
How can I make my debian turn NumLock on automatically? LittlesnowLinux Debian 8 11-26-2004 06:40 AM
XMMS 1.2.8-2 on Debian 2.4.22 not changing songs automatically odie015 Linux - Software 1 02-08-2004 09:13 AM
about upgrades christyc Linux - Newbie 2 01-19-2002 09:40 AM
Many Upgrades Done! jeremy LQ Suggestions & Feedback 0 04-30-2001 06:50 PM

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

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