[dnf] Installing advisory?

,

Hi there,

I’m pretty new to fedora, using FC36 beta for I wanted to test Gnome42, and wanted to update a package to an advisory for it fixes a bug I’m experiencing.

The issue is, doing the command in the advisory does not actually do anything, but dnf info shows there is a newer package available, it’s just not installing it.

My question is: Why is that the case, and can I get dnf to actually install the package? Or is it since I’m on updates-testing anyway and I just need to wait a mirror sync?

$ sudo dnf upgrade --enablerepo=updates-testing --advisory=FEDORA-2022-0e5a5a38dc
Last metadata expiration check: 0:05:39 ago on Wed 30 Mar 2022 12:26:26 PM CEST.
Dependencies resolved.
Nothing to do.
Complete!
$ dnf info gnome-shell-extension-sound-output-device-chooser
Last metadata expiration check: 0:38:05 ago on Wed 30 Mar 2022 11:54:25 AM CEST.
Installed Packages
Name         : gnome-shell-extension-sound-output-device-chooser
Version      : 40^2.4a6f0f2
Release      : 1.fc36
Architecture : noarch
Size         : 280 k
Source       : gnome-shell-extension-sound-output-device-chooser-40^2.4a6f0f2-1.fc36.src.rpm
Repository   : @System
From repo    : updates-testing
Summary      : GNOME Shell extension for selecting sound devices
URL          : https://github.com/kgshank/gse-sound-output-device-chooser
License      : GPLv3+
Description  : Shows a list of sound output and input devices (similar to gnome sound
             : settings) in the status menu below the volume slider.  Various active ports
             : like HDMI, speakers, etc. of the same device are also displayed for selection.

Available Packages
Name         : gnome-shell-extension-sound-output-device-chooser
Version      : 40^2.4a6f0f2
Release      : 2.fc36
Architecture : noarch
Size         : 52 k
Source       : gnome-shell-extension-sound-output-device-chooser-40^2.4a6f0f2-2.fc36.src.rpm
Repository   : updates-testing
Summary      : GNOME Shell extension for selecting sound devices
URL          : https://github.com/kgshank/gse-sound-output-device-chooser
License      : GPLv3+
Description  : Shows a list of sound output and input devices (similar to gnome sound
             : settings) in the status menu below the volume slider.  Various active ports
             : like HDMI, speakers, etc. of the same device are also displayed for selection.
$ sudo dnf upgrade --refresh
Copr repo for PyCharm owned by phracek                                                                                                                                                                        4.1 kB/s | 3.6 kB     00:00    
Fedora 36 - x86_64                                                                                                                                                                                            6.6 kB/s | 4.9 kB     00:00    
Fedora 36 openh264 (From Cisco) - x86_64                                                                                                                                                                      5.9 kB/s | 989  B     00:00    
Fedora Modular 36 - x86_64                                                                                                                                                                                     13 kB/s |  17 kB     00:01    
Fedora Modular 36 - x86_64                                                                                                                                                                                    262 kB/s | 159 kB     00:00    
Fedora 36 - x86_64 - Updates                                                                                                                                                                                   17 kB/s |  21 kB     00:01    
Fedora Modular 36 - x86_64 - Updates                                                                                                                                                                          112 kB/s |  20 kB     00:00    
Fedora 36 - x86_64 - Test Updates                                                                                                                                                                             9.5 kB/s | 9.9 kB     00:01    
Fedora 36 - x86_64 - Test Updates                                                                                                                                                                             309 kB/s | 468 kB     00:01    
Fedora Modular 36 - x86_64 - Test Updates                                                                                                                                                                      30 kB/s |  16 kB     00:00    
google-chrome                                                                                                                                                                                                 6.5 kB/s | 1.3 kB     00:00    
RPM Fusion for Fedora 36 - Nonfree - NVIDIA Driver                                                                                                                                                            6.1 kB/s | 4.7 kB     00:00    
RPM Fusion for Fedora 36 - Nonfree - NVIDIA Driver                                                                                                                                                             13 kB/s |  14 kB     00:01    
RPM Fusion for Fedora 36 - Nonfree - Steam                                                                                                                                                                    5.3 kB/s | 3.9 kB     00:00    
Visual Studio Code                                                                                                                                                                                            9.4 kB/s | 3.0 kB     00:00    
Dependencies resolved.
Nothing to do.
Complete!
1 Like

To install that package, you need to run

 sudo dnf install gnome-shell-extension-sound-output-device-chooser

To find out if installed, I’d run rpm -qa gnome-shell-extension-sound-output-device-chooser

Sometimes mirrors are a bit behind, in that case you can do a sudo dnf clean all followed by a sudo dnf upgrade (as long as you are on pre-release, --enablerepo=updates-testing is not required since that repo is enabled in pre-releases anyway).

Does that help?

1 Like

Hi, thanks for the reply!

Sadly that did not help. The package was already installed. I tried to clean dnf and upgrade again … no update.

$ sudo dnf install gnome-shell-extension-sound-output-device-chooser
Last metadata expiration check: 0:05:59 ago on Wed 30 Mar 2022 02:22:10 PM CEST.
Package gnome-shell-extension-sound-output-device-chooser-40^2.4a6f0f2-1.fc36.noarch is already installed.
Dependencies resolved.
Nothing to do.
Complete!
$ rpm -qa gnome-shell-extension-sound-output-device-chooser
gnome-shell-extension-sound-output-device-chooser-40^2.4a6f0f2-1.fc36.noarch
$ sudo dnf clean all
86 files removed
$ sudo dnf upgrade
Copr repo for PyCharm owned by phracek                                                                                71 kB/s | 178 kB     00:02    
Fedora 36 - x86_64                                                                                                    18 MB/s |  81 MB     00:04    
Fedora 36 openh264 (From Cisco) - x86_64                                                                             2.7 kB/s | 2.5 kB     00:00    
Fedora Modular 36 - x86_64                                                                                           1.6 MB/s | 2.4 MB     00:01    
Fedora 36 - x86_64 - Updates                                                                                         148  B/s | 257  B     00:01    
Fedora Modular 36 - x86_64 - Updates                                                                                 231  B/s | 257  B     00:01    
Fedora 36 - x86_64 - Test Updates                                                                                    2.5 MB/s | 8.6 MB     00:03    
Fedora Modular 36 - x86_64 - Test Updates                                                                            421 kB/s | 327 kB     00:00    
google-chrome                                                                                                        7.0 kB/s | 3.5 kB     00:00    
RPM Fusion for Fedora 36 - Nonfree - NVIDIA Driver                                                                    13 kB/s |  14 kB     00:01    
RPM Fusion for Fedora 36 - Nonfree - Steam                                                                           2.0 kB/s | 2.1 kB     00:01    
Visual Studio Code                                                                                                   2.3 MB/s |  23 MB     00:10    
Dependencies resolved.
Nothing to do.
Complete!

Still, dnf info still shows there is another version available:

dnf info gnome-shell-extension-sound-output-device-chooser
Last metadata expiration check: 2:37:31 ago on Wed 30 Mar 2022 11:54:25 AM CEST.
Installed Packages
Name         : gnome-shell-extension-sound-output-device-chooser
Version      : 40^2.4a6f0f2
Release      : 1.fc36
Architecture : noarch
Size         : 280 k
Source       : gnome-shell-extension-sound-output-device-chooser-40^2.4a6f0f2-1.fc36.src.rpm
Repository   : @System
From repo    : updates-testing
Summary      : GNOME Shell extension for selecting sound devices
URL          : https://github.com/kgshank/gse-sound-output-device-chooser
License      : GPLv3+
Description  : Shows a list of sound output and input devices (similar to gnome sound
             : settings) in the status menu below the volume slider.  Various active ports
             : like HDMI, speakers, etc. of the same device are also displayed for selection.

Available Packages
Name         : gnome-shell-extension-sound-output-device-chooser
Version      : 40^2.4a6f0f2
Release      : 2.fc36
Architecture : noarch
Size         : 52 k
Source       : gnome-shell-extension-sound-output-device-chooser-40^2.4a6f0f2-2.fc36.src.rpm
Repository   : updates-testing
Summary      : GNOME Shell extension for selecting sound devices
URL          : https://github.com/kgshank/gse-sound-output-device-chooser
License      : GPLv3+
Description  : Shows a list of sound output and input devices (similar to gnome sound
             : settings) in the status menu below the volume slider.  Various active ports
             : like HDMI, speakers, etc. of the same device are also displayed for selection.

I would wait a bit for the -2.fc36.noarch to appear on the mirrors.

Alternatively, you can download the rpm from the build system, gnome-shell-extension-sound-output-device-chooser-40^2.4a6f0f2-2.fc36 | Build Info | koji, and install it using sudo dnf install ./gnome-shell-....

2 Likes

Okay, so it’s possible that the mirrors just are not synced yet and it does not have any “special” mirror for advisories.

Installing it manually worked for me, and the test shows: It actually fixes the bug.

Thanks for the help!

3 Likes

Changelog: Tue Mar 29 2022 Carl George 40^2.4a6f0f2-2
- Add patch to really fix GNOME 42 compatibility

:grin:

I’ve had a few cases where I just needed to add a --refresh to the command to make it work. Happens often when the update is very fresh.

Sorry, on closer inspection I realize that this was not the issue here.