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 |
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.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
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.
|
|
04-04-2004, 06:18 AM
|
#1
|
Member
Registered: Mar 2004
Distribution: Debian 'Sarge'
Posts: 168
Rep:
|
What's the difference between apt-get upgrade and apt-get dist-upgrade?
From http://www.debian.org/doc/manuals/ap...pt-get.en.html
3.4 Upgrading packages
Package upgrades are a great success of the APT system. They can be achieved with a single command: apt-get upgrade. You can use this command to upgrade packages within the same distribution, as well as to upgrade to a new distribution, although for the latter the command apt-get dist-upgrade is preferred
What's the difference between "apt-get upgrade" and "apt-get dist-upgrade"?
Also, what is the difference between "upgrade packages within the same distribution" and "upgrade to a new distribution"? What is meant by same distribution and new distribution?
Thanks !
|
|
|
04-04-2004, 06:24 AM
|
#2
|
Moderator
Registered: Nov 2002
Location: Kent, England
Distribution: Debian Testing
Posts: 19,192
|
Distributions are the "version" of your Linux OS - eg RH9, Debian 3.0
An upgrade within the same distribution means to install up to date packages for the distribution, Distribution Upgrades upgrade your present distribution to whatever the current one is.
|
|
|
04-04-2004, 09:26 AM
|
#3
|
Member
Registered: Mar 2004
Distribution: Debian 'Sarge'
Posts: 168
Original Poster
Rep:
|
Would it be correct to say that it is redundent to use the "apt-get dist-upgrade" command if I've install Debian 3.0, since 3.0 is already the current version and there isn't any 3.1 or later version available?
Thanks !
Quote:
Originally posted by XavierP
Distributions are the "version" of your Linux OS - eg RH9, Debian 3.0
An upgrade within the same distribution means to install up to date packages for the distribution, Distribution Upgrades upgrade your present distribution to whatever the current one is.
|
|
|
|
04-04-2004, 09:43 AM
|
#4
|
Moderator
Registered: Nov 2002
Location: Kent, England
Distribution: Debian Testing
Posts: 19,192
|
No, it wouldn't. Debian 3.0 is old, although the current release. The way Debian works is to have a release version, then testing and unstable versions. A dist-upgrade would bump you up to one of those.
Go to the Debian homepage and look up what you need to do to upgrade. BTW, despite the names, from what I've heard testing and unstable are both very stable.
|
|
|
04-04-2004, 09:19 PM
|
#5
|
Senior Member
Registered: Nov 2003
Location: NB,Canada
Distribution: Something alpha or beta, binary or source...
Posts: 2,280
Rep:
|
The way that packages leave incoming ---> experimental ---> unstable ---> testing is layed out on the Debian home site. Stable is the distribution when all the packages in testing are 'frozen' and no new ones are allowed to come into it. The release is made. If its stable its STABLE. You won't find a more stable GNU/Linux platform than Debian stable (you'd have to compare it with a FreeBSD release.
apt-get upgrade upgrades what you have on the system already but doesn't introduce new packages unless absolutely necessary.
apt-get dist-upgrade upgrades everything on your system and resolves any new dependancies as well, thus introducing more new stuff tou your system.
To get from stable to testing or unstable, you have to point your /etc/apt/sources.list to testing or unstable folders on your update mirrors instead of stable.
Hope this helped a bit. BTW, if you have a bit of time and you loke OS stuff, you might want to scour the Debian site. There's a lot of really neat stuff that's going on. Debian Hurd, Debian/NetBSD, etc. Cool.
|
|
|
All times are GMT -5. The time now is 11:04 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|