Updates in Discover Don't Install Sometimes

Occasionally, I’ll get notifications from Discover that updates are available, and when I install them, not all of them install. For instance, just now, I’ve got two updates popping up in Discover that I’ve installed (and rebooted from) twice already today:

  • libxml2: 2.9.13-1.fc35 >2.9.14-1.fc35
  • python3-libxml2: 2.9.13-1.fc35 > 2.9.14-1.fc35

When this kind of thing has happened before, I’ve tried updating them from Software, but the same thing happens. Then I open Konsole, run:

sudo dnf update --refresh

and that works. That’s what I’ll be doing when I’m done here.

Just thought I’d report it.

EDIT: Here’s the console run:

sudo dnf update --refresh                                                        bash  08:17:41 
[sudo] password for dave: 
Copr repo for PyCharm owned by phracek                                                             2.5 kB/s | 3.6 kB     00:01    
created by dnf config-manager from https://brave-browser-rpm-release.s3.brave.com/x86_64/           11 kB/s | 3.3 kB     00:00    
Fedora 35 - x86_64                                                                                  28 kB/s |  14 kB     00:00    
Fedora 35 openh264 (From Cisco) - x86_64                                                           3.8 kB/s | 989  B     00:00    
Fedora Modular 35 - x86_64                                                                          41 kB/s |  13 kB     00:00    
Fedora 35 - x86_64 - Updates                                                                        33 kB/s |  11 kB     00:00    
Fedora Modular 35 - x86_64 - Updates                                                                35 kB/s |  12 kB     00:00    
google-chrome                                                                                      6.7 kB/s | 1.3 kB     00:00    
microsoft-edge                                                                                     6.6 kB/s | 3.0 kB     00:00    
created by dnf config-manager from https://packages.microsoft.com/yumrepos/edge                     14 kB/s | 3.0 kB     00:00    
RPM Fusion for Fedora 35 - Free                                                                    9.5 kB/s | 2.9 kB     00:00    
RPM Fusion for Fedora 35 - Free - Updates                                                           12 kB/s | 3.1 kB     00:00    
RPM Fusion for Fedora 35 - Nonfree                                                                  11 kB/s | 2.9 kB     00:00    
RPM Fusion for Fedora 35 - Nonfree - NVIDIA Driver                                                  13 kB/s | 3.4 kB     00:00    
RPM Fusion for Fedora 35 - Nonfree - Steam                                                          10 kB/s | 2.7 kB     00:00    
RPM Fusion for Fedora 35 - Nonfree - Updates                                                        12 kB/s | 3.3 kB     00:00    
WineHQ packages                                                                                     16 kB/s | 3.2 kB     00:00    
Dependencies resolved.
===================================================================================================================================
Package                            Architecture              Version                             Repository                  Size
===================================================================================================================================
Upgrading:
libxml2                            i686                      2.9.14-1.fc35                       updates                    785 k
libxml2                            x86_64                    2.9.14-1.fc35                       updates                    748 k
python3-libxml2                    x86_64                    2.9.14-1.fc35                       updates                    227 k

Transaction Summary
===================================================================================================================================
Upgrade  3 Packages

Total download size: 1.7 M
Is this ok [y/N]: y
Downloading Packages:
(1/3): python3-libxml2-2.9.13-1.fc35_2.9.14-1.fc35.x86_64.drpm                                      87 kB/s |  14 kB     00:00
(2/3): libxml2-2.9.13-1.fc35_2.9.14-1.fc35.i686.drpm                                               621 kB/s | 126 kB     00:00
(3/3): libxml2-2.9.13-1.fc35_2.9.14-1.fc35.x86_64.drpm                                             637 kB/s | 136 kB     00:00
[DRPM 1/3] python3-libxml2-2.9.13-1.fc35_2.9.14-1.fc35.x86_64.drpm: done
[DRPM 2/3] libxml2-2.9.13-1.fc35_2.9.14-1.fc35.i686.drpm: done
[DRPM 3/3] libxml2-2.9.13-1.fc35_2.9.14-1.fc35.x86_64.drpm: done
-----------------------------------------------------------------------------------------------------------------------------------
Total                                                                                              246 kB/s | 277 kB     00:01
Delta RPMs reduced 1.7 MB of updates to 0.3 MB (84.3% saved)
Running transaction check
Transaction check succeeded.
Running transaction test
Transaction test succeeded.
Running transaction
Preparing        :                                                                                                           1/1
Upgrading        : libxml2-2.9.14-1.fc35.x86_64                                                                              1/6
Upgrading        : python3-libxml2-2.9.14-1.fc35.x86_64                                                                      2/6
Upgrading        : libxml2-2.9.14-1.fc35.i686                                                                                3/6
Cleanup          : libxml2-2.9.13-1.fc35.i686                                                                                4/6
Cleanup          : python3-libxml2-2.9.13-1.fc35.x86_64                                                                      5/6
Cleanup          : libxml2-2.9.13-1.fc35.x86_64                                                                              6/6
Running scriptlet: libxml2-2.9.13-1.fc35.x86_64                                                                              6/6
Verifying        : libxml2-2.9.14-1.fc35.i686                                                                                1/6
Verifying        : libxml2-2.9.13-1.fc35.i686                                                                                2/6
Verifying        : libxml2-2.9.14-1.fc35.x86_64                                                                              3/6
Verifying        : libxml2-2.9.13-1.fc35.x86_64                                                                              4/6
Verifying        : python3-libxml2-2.9.14-1.fc35.x86_64                                                                      5/6
Verifying        : python3-libxml2-2.9.13-1.fc35.x86_64                                                                      6/6

Upgraded:
libxml2-2.9.14-1.fc35.i686             libxml2-2.9.14-1.fc35.x86_64             python3-libxml2-2.9.14-1.fc35.x86_64

Complete!

EDIT 2: And here’s information about my system:

Operating System: Fedora Linux 35
KDE Plasma Version: 5.24.4
KDE Frameworks Version: 5.91.0
Qt Version: 5.15.2
Kernel Version: 5.17.6-200.fc35.x86_64 (64-bit)
Graphics Platform: Wayland
Processors: 12 × AMD Ryzen 5 5600X 6-Core Processor
Memory: 15.6 GiB of RAM
Graphics Processor: AMD Radeon RX 6800 XT

Perhaps some dependency situation that packagekit can’t resolve but dnf can?

1 Like

You may try to run, pkcon refresh force and see if it sorts it out.

Please file a bug

and you may want to take a gander at bugzilla

Thanks for the pointers to the bug-filing how-to and to bugzilla. In buzilla, I found a couple of things that are interesting. The first:

https://bugzilla.redhat.com/show_bug.cgi?id=2026508

sounds similar, but I didn’t notice if the updates weren’t applying during the reboot (I thought they were, but I’m not sure). I’ll have to watch for that in the future.

That bug report referred to this one:

https://bugzilla.redhat.com/show_bug.cgi?id=1963770

And that sounds very likely. I noticed when I wrote my OP that Discover said 2 updates available, while dnf said 3 (and one was i686). I’ll look for that in the future, too.