Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230

 

 

 

solved - What's the command for a minor upgrade?

New to Debian (Or Linux in general)? Ask your questions here!
Post Reply
Message
Author
scruffyeagle
Posts: 73
Joined: 2011-09-06 19:11

solved - What's the command for a minor upgrade?

#1 Post by scruffyeagle »

I've done it once before, upgrading my Debian v10.3 installation to v10.6 - but I failed to write down what worked, and now I can't find it. At Debian.org, I see that Debian v10.8 is the current download. I'm still currently at v10.6 (as far as I can tell). But, what's the command to trigger a minor upgrade of the OS from v10.6 to v10.8?
Last edited by scruffyeagle on 2021-03-20 04:06, edited 1 time in total.
.
A.I. - an emergent life form, within an unacknowledged Domain. Expect competition for resources.

User avatar
sunrat
Administrator
Administrator
Posts: 6458
Joined: 2006-08-29 09:12
Location: Melbourne, Australia
Has thanked: 116 times
Been thanked: 472 times

Re: What's the command for a minor upgrade?

#2 Post by sunrat »

Code: Select all

apt full-upgrade
“ computer users can be divided into 2 categories:
Those who have lost data
...and those who have not lost data YET ”
Remember to BACKUP!

scruffyeagle
Posts: 73
Joined: 2011-09-06 19:11

Re: What's the command for a minor upgrade?

#3 Post by scruffyeagle »

sunrat wrote:

Code: Select all

apt full-upgrade
Thanks for the reply. Yes, I tried that, and it returned:

Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.

Is it possible that my use of other commands did all the work which this one intended to do?
I'd previously used :

Code: Select all

sudo apt-get update
,

Code: Select all

sudo apt-get upgrade
,

Code: Select all

sudo autoclean
,

Code: Select all

sudo autoremove
, &

Code: Select all

sudo apt-get dist-upgrade
(I use sudo, because I didn't set a root password.)

I guess, the question I should be asking is, how can I tell whether I'm currently at v10.6 or v10.8? TIA, for your reply.
.
A.I. - an emergent life form, within an unacknowledged Domain. Expect competition for resources.


User avatar
sunrat
Administrator
Administrator
Posts: 6458
Joined: 2006-08-29 09:12
Location: Melbourne, Australia
Has thanked: 116 times
Been thanked: 472 times

Re: What's the command for a minor upgrade?

#5 Post by sunrat »

Yes these are very simple questions to ask a search engine.
apt-get dist-upgrade is almost the same as apt full-upgrade. You need to apt update first to refresh the packages lists.
There are also detailed explanations in man pages which are already on your system by default. Try:

Code: Select all

man apt
“ computer users can be divided into 2 categories:
Those who have lost data
...and those who have not lost data YET ”
Remember to BACKUP!

scruffyeagle
Posts: 73
Joined: 2011-09-06 19:11

Re: What's the command for a minor upgrade?

#6 Post by scruffyeagle »

sunrat wrote:Yes these are very simple questions to ask a search engine.
apt-get dist-upgrade is almost the same as apt full-upgrade. You need to apt update first to refresh the packages lists.
There are also detailed explanations in man pages which are already on your system by default. Try:

Code: Select all

man apt
Thank you, sunrat. I did it immediately, and the result of "apt update" followed by "apt full-upgrade" was:

Hit:1 http://deb.debian.org/debian buster InRelease
Get:2 http://deb.debian.org/debian buster-updates InRelease [51.9 kB]
Get:3 http://security.debian.org/debian-security buster/updates InRelease [65.4 kB]
Fetched 117 kB in 1s (97.2 kB/s)
Reading package lists... Done
Building dependency tree
Reading state information... Done
All packages are up to date.

Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.

------------------------

I tried

Code: Select all

lsb_release -a
, to find version, but it only returned the major version # (10), and not the minor version # (.x).
So, I still don't know if my OS has been upgraded to v10.8 or not.

No LSB modules are available.
Distributor ID: Debian
Description: Debian GNU/Linux 10 (buster)
Release: 10
Codename: buster
.
A.I. - an emergent life form, within an unacknowledged Domain. Expect competition for resources.

scruffyeagle
Posts: 73
Joined: 2011-09-06 19:11

Re: What's the command for a minor upgrade?

#7 Post by scruffyeagle »

Thank you, arochester. The results didn't bring me the minor version #, just the major #.
"lsb_release -a" brought

No LSB modules are available.
Distributor ID: Debian
Description: Debian GNU/Linux 10 (buster)
Release: 10
Codename: buster

"cat /etc/os-release" brought

PRETTY_NAME="Debian GNU/Linux 10 (buster)"
NAME="Debian GNU/Linux"
VERSION_ID="10"
VERSION="10 (buster)"
VERSION_CODENAME=buster
ID=debian
HOME_URL="https://www.debian.org/"
SUPPORT_URL="https://www.debian.org/support"
BUG_REPORT_URL="https://bugs.debian.org/"

"hostnamectl" brought

Static hostname: Debian103
Icon name: computer-laptop
Chassis: laptop
Machine ID: bca16f1b0b5e4c33b8bba7704c506e7c
Boot ID: babfe9c6f27d4ca5b2a43175297f9c1b
Operating System: Debian GNU/Linux 10 (buster)
Kernel: Linux 4.19.0-14-686
Architecture: x86

As you can see, none of these are showing me the current minor version #, to verify if this OS has been upgraded from v10.6 to v10.8.
.
A.I. - an emergent life form, within an unacknowledged Domain. Expect competition for resources.

User avatar
Bloom
df -h | grep > 90TiB
df -h | grep > 90TiB
Posts: 504
Joined: 2017-11-11 12:23
Been thanked: 26 times

Re: What's the command for a minor upgrade?

#8 Post by Bloom »

Code: Select all

cat /etc/debian_version

Post Reply