LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
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 05-23-2017, 06:05 AM   #1
THE PHANTOM
Member
 
Registered: Mar 2016
Posts: 94

Rep: Reputation: Disabled
Upgrade Debian Jessie to 8.8


Hello Sirs,

I have Debian Jessie 8.7 and as i see there is new release of Debian 8.8. How to upgrade my 8.7 to new one? Should i install again system or what? Please help me. Thanks in advanced. any support will be great appreciated.
 
Old 05-23-2017, 06:23 AM   #2
r3sistance
Senior Member
 
Registered: Mar 2004
Location: UK
Distribution: CentOS 6/7
Posts: 1,375

Rep: Reputation: 217Reputation: 217Reputation: 217
Would have thought a simple system update would do it, from cli that should be:

Code:
apt-get update && apt-get upgrade
Since this is only a minor version upgrade.
 
1 members found this post helpful.
Old 05-23-2017, 06:35 AM   #3
THE PHANTOM
Member
 
Registered: Mar 2016
Posts: 94

Original Poster
Rep: Reputation: Disabled
Quote:
Since this is only a minor version upgrade.
Thanks for replay friend.

Minor? is there a lot updates or advise me to do it?
 
Old 05-23-2017, 07:20 AM   #4
r3sistance
Senior Member
 
Registered: Mar 2004
Location: UK
Distribution: CentOS 6/7
Posts: 1,375

Rep: Reputation: 217Reputation: 217Reputation: 217
most software generally goes major.minor.revision for build numbers.

Anyways more detail can be found at: https://wiki.debian.org/DebianReleases/PointReleases

Quote:
Version scheme

Previously, the initial release had r0 appended, but normally omitted: for example Debian Etch started off as 4.0r0. Point Releases increment the digit after the "r" to specify a certain revision of a release with updates included.

At Lenny's first point release, this scheme changed. A micro version number was used to indicate a point release (e.g. 5.0.1). 1

At Wheezy's first point release, this scheme changed. The minor version number is now used to indicate a point release (e.g. 7.1).23
I'd recommend staying up-to-date really, so if there are a lot of updates then I'd make sure to update it all. Unless it is an enterprise system and having an application fail needs to be carefully managed, then it shouldn't be a big issue.

Last edited by r3sistance; 05-23-2017 at 07:22 AM.
 
1 members found this post helpful.
Old 05-23-2017, 08:47 AM   #5
dejank
Member
 
Registered: May 2016
Location: Belgrade, Serbia
Distribution: Debian
Posts: 229

Rep: Reputation: Disabled
As other said, staying up to date is good thing for you. And you want to do next thing as root, or with sudo, whatever you use:

Code:
apt-get update && apt-get upgrade
If you see message that there are some packaged held back, use after that:

Code:
apt-get dist-upgrade
followed by

Code:
apt-get autoremove
Do all 3 steps and you will be up to date. Also, it is recommended to do first step at least once per week.
 
1 members found this post helpful.
Old 05-23-2017, 03:43 PM   #6
jefro
Moderator
 
Registered: Mar 2008
Posts: 21,982

Rep: Reputation: 3626Reputation: 3626Reputation: 3626Reputation: 3626Reputation: 3626Reputation: 3626Reputation: 3626Reputation: 3626Reputation: 3626Reputation: 3626Reputation: 3626
https://www.cyberciti.biz/howto/ques...heat-sheet.php helpful info to know. While that is old commands they provide similar to the now use is "apt"

Last edited by jefro; 05-23-2017 at 07:27 PM.
 
1 members found this post helpful.
Old 05-23-2017, 04:08 PM   #7
dejank
Member
 
Registered: May 2016
Location: Belgrade, Serbia
Distribution: Debian
Posts: 229

Rep: Reputation: Disabled
Quote:
Originally Posted by jefro View Post
https://www.cyberciti.biz/howto/ques...heat-sheet.php helpful info to know. While that is old commands they provide similar to the now uses "apt"
That link has a bit misleading info about apt-get dist-upgrade, It is not usually used to upgrade from one release to other, but rather to handle situations when dependencies must be resolved in a way that will remove some packages, or install new ones. That often happens in cases of new linux kernels, xorg updates and stuff like that. Also, apt-get and friends like apt-cache and others are not just old, they are well used and well tested and very well documented. Many refuse to use newish apt, for various reasons. Those that prefer tools with some advance things that you might, or might not need, often end up using aptitude. Those that want to avoid command line, go for synaptic. Anyway, to find more of these tools, man apt-get and man apt-cache are your friend. As for examples of how to use them for various things, net is full of tutorials that quick search will provide.
 
2 members found this post helpful.
Old 05-23-2017, 07:27 PM   #8
jefro
Moderator
 
Registered: Mar 2008
Posts: 21,982

Rep: Reputation: 3626Reputation: 3626Reputation: 3626Reputation: 3626Reputation: 3626Reputation: 3626Reputation: 3626Reputation: 3626Reputation: 3626Reputation: 3626Reputation: 3626
Official source. https://www.debian.org/doc/manuals/d...todate.en.html
 
1 members found this post helpful.
Old 05-23-2017, 09:35 PM   #9
AwesomeMachine
LQ Guru
 
Registered: Jan 2005
Location: USA and Italy
Distribution: Debian testing/sid; OpenSuSE; Fedora; Mint
Posts: 5,524

Rep: Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015
If you just upgrade the packages it should stay up to date. Dist upgrade is for when testing drops down to stable.
 
1 members found this post helpful.
Old 05-24-2017, 02:09 AM   #10
dejank
Member
 
Registered: May 2016
Location: Belgrade, Serbia
Distribution: Debian
Posts: 229

Rep: Reputation: Disabled
Quote:
Originally Posted by AwesomeMachine View Post
If you just upgrade the packages it should stay up to date. Dist upgrade is for when testing drops down to stable.
If you by dist upgrade refer to apt-get dist-upgrade, while it will be used in that case for sure, that is not quite true. Read my previous post, or even better, read manuals. There are upgrades in stable that might require apt-get dist-upgrade.
 
1 members found this post helpful.
Old 05-24-2017, 02:39 AM   #11
descendant_command
Senior Member
 
Registered: Mar 2012
Posts: 1,876

Rep: Reputation: 643Reputation: 643Reputation: 643Reputation: 643Reputation: 643Reputation: 643
Quote:
Originally Posted by dejank View Post
If you by dist upgrade refer to apt-get dist-upgrade, while it will be used in that case for sure, that is not quite true. Read my previous post, or even better, read manuals. There are upgrades in stable that might require apt-get dist-upgrade.
It would be very unusual to need a dist-upgrade (or aptitude full-upgrade)to upgrade packages on a stable system.

Much more likely on testing/sid for transitions between major versions of upstream software or changes in packaging protocols for a given software.
 
1 members found this post helpful.
Old 05-24-2017, 03:01 AM   #12
dejank
Member
 
Registered: May 2016
Location: Belgrade, Serbia
Distribution: Debian
Posts: 229

Rep: Reputation: Disabled
Quote:
Originally Posted by descendant_command View Post
It would be very unusual to need a dist-upgrade (or aptitude full-upgrade)to upgrade packages on a stable system.

Much more likely on testing/sid for transitions between major versions of upstream software or changes in packaging protocols for a given software.
Unusual on stable yes, but that it is because Debian stable is very, very much stable and tested. It still can happen though. As for use on testing/unstable yes, but it is not quite just because of transition and changes of protocols, but rather because of changes in dependencies of packages. Like in cases when it must remove some packages, or to add new ones to solve dependencies. Anyway, point of my posts was not to get OP confused by name of dist-upgrade and to explain that it is not command that will get him to new distribution release, but rather keep his current one up to date, in case of need.

Last edited by dejank; 05-24-2017 at 03:02 AM.
 
1 members found this post helpful.
Old 05-24-2017, 05:32 AM   #13
THE PHANTOM
Member
 
Registered: Mar 2016
Posts: 94

Original Poster
Rep: Reputation: Disabled
Thanks friends for your kind supports, i appreciate that. I will do as you provided me and will inform when i be at home, i am out of city at the moment. Thanks friends.
 
Old 05-24-2017, 10:53 AM   #14
THE PHANTOM
Member
 
Registered: Mar 2016
Posts: 94

Original Poster
Rep: Reputation: Disabled
Thanks friend for your help. I did everything and it is upgraded. u great!
 
Old 05-24-2017, 12:24 PM   #15
Habitual
LQ Veteran
 
Registered: Jan 2011
Location: Abingdon, VA
Distribution: Catalina
Posts: 9,374
Blog Entries: 37

Rep: Reputation: Disabled
I love the Documentation, personally.

https://debian-handbook.info/browse/stable/
or/and
Code:
sudo apt-get install debian-handbook
In your brower-of-choice, open the
File Menu | Open File and navigate to /usr/share/doc/debian-handbook/html/index.html

Have fun!
 
1 members found this post helpful.
  


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 jessie after dist-upgrade, passwords not working ooccjava Linux - Security 1 07-14-2015 01:49 PM
LXer: How to upgrade Debian Wheezy to Jessie LXer Syndicated Linux News 1 06-29-2015 02:23 PM
[SOLVED] Apache is broken after Jessie Debian 8 upgrade bcostacurta Debian 2 04-26-2015 01:06 PM
Upgrade Debian Wheezy to Jessie. hack3rcon Debian 3 04-20-2015 10:03 AM

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

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