GNOME Shell version mismatch -- am I running 40.4 or 40.1?

Hi!

I’m trying to figure out which version of GNOME comes bundled with Rocky 9.3.

I get 2 different version numbers depending on where I check.

The About tab in the settings app says 40.4.0 (I assume this means Gnome 40.4?)

However neofetch says 40.1:

[hugh@localhost ~]$ neofetch
        #####
       #######          hugh@localhost 
       ##O#O##          -------------- 
       #######          OS: Rocky Linux 9.3 (Blue Onyx) x86_64 
     ###########        Host: VirtualBox 1.2 
    #############       Kernel: 5.14.0-362.13.1.el9_3.x86_64 
   ###############      Uptime: 2 hours, 37 mins 
   ################     Packages: 1420 (rpm), 17 (flatpak) 
  #################     Shell: bash 5.1.8 
#####################   Resolution: 2122x1120 
#####################   DE: GNOME 40.10 
  #################     WM: Mutter 
                        WM Theme: Adwaita 
                        Theme: Adwaita [GTK2/3] 
                        Icons: Adwaita [GTK2/3] 
                        Terminal: gnome-terminal 
                        CPU: Intel i7-6700K (4) @ 4.007GHz 
                        GPU: 00:02.0 VMware SVGA II Adapter 
                        Memory: 1334MiB / 23472MiB

So does gnome-shell --version:

[hugh@localhost ~]$ gnome-shell --version
GNOME Shell 40.10

But if I get 40.4 when I look here:

[hugh@localhost ~]$ cat /usr/share/gnome/gnome-version.xml
<?xml version="1.0"?>
<gnome-version>
 <platform>40</platform>
 <minor>4</minor>
 <micro>0</micro>
 <distributor>GNOME.Org</distributor>
 <date>2022-05-16</date>

What’s going on here?

What GNOME version am I really running?

How do I fix whoever is wrong?

Thanks for any hints!

The desktop environment is composed of different components. They all can get individual fixes or “soft” upgrades. To answer your question: the baseline is based on Gnome 40.4. . For a listing of some components execute:

rpm -qa --qf '%{VERSION}\t%{NAME}\n'|grep "gnome-" |sort -V

Thanks. I wasn’t aware that there was a distinction between gnome-desktop and gnome-shell.

So the answer to the mystery:

gnome-desktop3 = 40.4
gnome-shell = 40.10