Software Updates Failed

When I installed Fedora 36 this issue did not exist, so I assume it is my tinkering which created the issue. When I turn on my laptop and Fedora starts it gives me the notification:

Software Updates Failed

When I click on it a Window appears displaying the following message:

Failed to Update. We’re sorry: the update failed to install. Please wait for another update and try again. If the problem persists, contact your software provider.
Details: Detailed errors from package manager follow: failed to resolve package_ids: Timeout was reached

On the Explore tab of the Gnome-Software Center 42.4 nothing loads.

This is the output of inxi -Fxz:

System:
  Kernel: 5.19.14-200.fc36.x86_64 arch: x86_64 bits: 64 compiler: gcc
    v: 2.37-36.fc36 Desktop: GNOME v: 42.5 Distro: Fedora release 36 (Thirty
    Six)
Machine:
  Type: Laptop System: Hewlett-Packard product: HP EliteBook 8460p
    v: A0001D02 serial: <superuser required>
  Mobo: Hewlett-Packard model: 161C v: KBC Version 97.4D
    serial: <superuser required> BIOS: Hewlett-Packard v: 68SCF Ver. F.42
    date: 07/15/2013
Battery:
  ID-1: BAT0 charge: 31.1 Wh (95.7%) condition: 32.5/32.5 Wh (100.0%)
    volts: 12.2 min: 10.8 model: Hewlett-Packard Primary status: not charging
CPU:
  Info: dual core model: Intel Core i5-2540M bits: 64 type: MT MCP
    arch: Sandy Bridge rev: 7 cache: L1: 128 KiB L2: 512 KiB L3: 3 MiB
  Speed (MHz): avg: 799 high: 800 min/max: 800/3300 cores: 1: 798 2: 800
    3: 800 4: 800 bogomips: 20753
  Flags: avx ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx
Graphics:
  Device-1: Intel 2nd Generation Core Processor Family Integrated Graphics
    vendor: Hewlett-Packard driver: i915 v: kernel arch: Gen-6 bus-ID: 00:02.0
  Display: x11 server: X.Org v: 1.20.14 with: Xwayland v: 22.1.3 driver: X:
    loaded: modesetting unloaded: fbdev,vesa gpu: i915
    resolution: 1600x900~60Hz
  OpenGL: renderer: Mesa Intel HD Graphics 3000 (SNB GT2) v: 3.3 Mesa
    22.1.7 direct render: Yes
Audio:
  Device-1: Intel 6 Series/C200 Series Family High Definition Audio
    vendor: Hewlett-Packard driver: snd_hda_intel v: kernel bus-ID: 00:1b.0
  Sound Server-1: ALSA v: k5.19.14-200.fc36.x86_64 running: yes
  Sound Server-2: PulseAudio v: 15.0 running: no
  Sound Server-3: PipeWire v: 0.3.59 running: yes
Network:
  Device-1: Intel 82579LM Gigabit Network vendor: Hewlett-Packard
    driver: e1000e v: kernel port: 2060 bus-ID: 00:19.0
  IF: enp0s25 state: down mac: <filter>
  Device-2: Intel Centrino Ultimate-N 6300 driver: iwlwifi v: kernel
    bus-ID: 03:00.0
  IF: wlo1 state: up mac: <filter>
Drives:
  Local Storage: total: 465.76 GiB used: 458.46 GiB (98.4%)
  ID-1: /dev/sda vendor: Toshiba model: MQ01ACF050 size: 465.76 GiB
Partition:
  ID-1: / size: 464.76 GiB used: 458.19 GiB (98.6%) fs: btrfs dev: /dev/sda2
  ID-2: /boot size: 973.4 MiB used: 280.5 MiB (28.8%) fs: ext4
    dev: /dev/sda1
  ID-3: /home size: 464.76 GiB used: 458.19 GiB (98.6%) fs: btrfs
    dev: /dev/sda2
Swap:
  ID-1: swap-1 type: zram size: 7.67 GiB used: 0 KiB (0.0%) dev: /dev/zram0
Sensors:
  System Temperatures: cpu: 51.0 C mobo: N/A
  Fan Speeds (RPM): N/A
Info:
  Processes: 251 Uptime: 29m Memory: 7.67 GiB used: 2.49 GiB (32.5%)
  Init: systemd target: graphical (5) Compilers: gcc: 12.2.1 Packages: 3
  note: see --rpm Shell: Bash v: 5.2.2 inxi: 3.3.21

The output of sudo dnf distro-sync:

Last metadata expiration check: 1:02:35 ago on Fri 14 Oct 2022 08:00:07 AM AEST.
Dependencies resolved.
Nothing to do.
Complete!

Any suggestions appreciated, thank you!

try to kill gnome-software via system monitor
and reopen

Tell is update tab now loading

if no then

$ sudo dnf reinstall gnome-software

I killed gnome-software via system monitor, reopened software, vualá! worked! opened quickly and everything loaded nicely.

So then I turned off the computer to check wether the solution was permanent and
it returned to its former behavior. So I killed the process again and I reinstalled gnome-software as you suggested.

I turned off again and rebooted and unfortunately hasn’t solved the issue.

Thanks @rebok232 for your reply! if you have any other suggestions I’ll keep trying, also if I find the solution I’ll post it.

But at least now I can get it going by killing the process, so I’m half way there! :slight_smile:

Also the output of journalctl -b | grep gnome-software:

Oct 15 12:17:13 main gnome-software[2138]: failed to set proxy: GDBus.Error:org.gtk.GDBus.UnmappedGError.Quark._pk_2dengine_2derror_2dquark.Code3: setting the proxy failed: failed to get the uid
Oct 15 12:17:13 main gnome-software[2138]: Failed to load proxy settings: GDBus.Error:org.gtk.GDBus.UnmappedGError.Quark._pk_2dengine_2derror_2dquark.Code3: setting the proxy failed: failed to get the uid
Oct 15 12:17:26 main gnome-software[2138]: enabled plugins: appstream, fwupd, os-release, repos, fedora-langpacks, fedora-pkgdb-collections, flatpak, hardcoded-blocklist, modalias, packagekit, rewrite-resource, generic-updates, malcontent, provenance, icons, provenance-license
Oct 15 12:17:26 main gnome-software[2138]: disabled plugins: dummy
Oct 15 12:18:04 main gnome-software[2138]: Broken accounting of active state for widget 0x55f2fed86f90(GtkBox)
Oct 15 12:18:04 main gnome-software[2138]: Broken accounting of active state for widget 0x55f2fedcb350(GtkMenuSectionBox)
Oct 15 12:18:04 main gnome-software[2138]: Broken accounting of active state for widget 0x55f2fed86390(GtkBox)
Oct 15 12:18:04 main gnome-software[2138]: Broken accounting of active state for widget 0x55f2fd33cd50(GtkMenuSectionBox)
Oct 15 12:18:04 main gnome-software[2138]: Broken accounting of active state for widget 0x55f2fd365bb0(GtkStack)
Oct 15 12:18:04 main gnome-software[2138]: Broken accounting of active state for widget 0x55f2fec2a830(GtkViewport)
Oct 15 12:18:04 main gnome-software[2138]: Broken accounting of active state for widget 0x55f2fd03f270(GtkScrolledWindow)
Oct 15 12:18:04 main gnome-software[2138]: Broken accounting of active state for widget 0x55f2fcf9d150(GtkPopoverContent)
Oct 15 12:18:04 main gnome-software[2138]: Broken accounting of active state for widget 0x55f2fce1e8f0(GtkPopoverMenu)

Is everything other working on your computer?

I mean is only gnome-software broken?

As far as I can tell, everything else is working fine,
and this “issue” is really a nuisance more then it is a problem.

I’m really enjoying Fedora 36, it seems as solid as Debian Stable
only its cutting edge! :slight_smile:

Does sudo dnf upgrade --refresh work in the terminal

@straycat sudo dnf upgrade --refresh output:

Fedora 36 - x86_64                                                                7.2 kB/s | 3.2 kB     00:00    
Fedora 36 openh264 (From Cisco) - x86_64                                          1.2 kB/s | 989  B     00:00    
Fedora Modular 36 - x86_64                                                        4.7 kB/s | 3.1 kB     00:00    
Fedora 36 - x86_64 - Updates                                                      5.9 kB/s | 3.7 kB     00:00    
Fedora Modular 36 - x86_64 - Updates                                              5.2 kB/s | 3.1 kB     00:00    
google-chrome                                                                     5.9 kB/s | 1.3 kB     00:00    
RPM Fusion for Fedora 36 - Free                                                   6.5 kB/s |  12 kB     00:01    
RPM Fusion for Fedora 36 - Free - Updates                                          10 kB/s |  11 kB     00:01    
RPM Fusion for Fedora 36 - Nonfree                                                8.9 kB/s |  13 kB     00:01    
RPM Fusion for Fedora 36 - Nonfree - Updates                                       11 kB/s |  12 kB     00:01    
Dependencies resolved.
Nothing to do.
Complete!

you you might also try pkcon refresh force to try and rebuild the cache in gnome software.I use dnf in the terminal but if you prefer gnome software that command should refresh it.

Seems the main gnome-software[2138]: Broken accounting of active state for widget error displayed by journalctl is not an isolated issue:

Output of pkcon refresh force

Refreshing cache              [=========================]         
Loading cache                 [=========================]         
Downloading repository information[=========================]         
Loading cache                 [=========================]         
Downloading repository information[=========================]         
Loading cache                 [=========================]         
Downloading repository information[=========================]         
Loading cache                 [=========================]         
Downloading repository information[=========================]         
Loading cache                 [=========================]         
Downloading repository information[=========================]         
Loading cache                 [=========================]         
Downloading repository information[=========================]         
Loading cache                 [=========================]         
Downloading repository information[=========================]         
Loading cache                 [=========================]         
Downloading repository information[=========================]         
Loading cache                 [=========================]         
Downloading repository information[=========================]         
Loading cache                 [=========================]         
Downloading repository information[=========================]         
Loading cache                 [=========================]         
Querying                      [=========================]         
Loading cache                 [=========================]         
Finished                      [=========================]

Thanks @straycat I’m going to turn off and reboot and I’ll let you know how it went.

Are you running a proxy server?

You might want to take a look at, [use proxy e.g. for cockpit-packagekit] - cockpit-devel - Fedora Mailing-Lists

O.k, we are making progress :slight_smile: . So before I use to always get this annoying message after every reboot (this issue hasn’t yet been solved, it remains):

And when you click on the notification this error appears:

However, at least now, after the recommendation from @straycat ( pkcon refresh force). On this reboot the Software Center does work, without having to kill the gnome-control process.

Yay! Only thing that is left is the elimination of the annoying message and we’re in business! :slight_smile:

1 Like

@grumpey no, I’m not running a proxy server as far as I now. But I’ll look into that link to see if its relevant, thanks Joe!

You can also in the top right corner of gnome software open options and uncheck auto updates and notifications as well.

Yep! already tried that, both on and both off and error continues to appear.

@grumpey maybe I am running a proxy server, this is the output of less /etc/dnf/dnf.conf

# see `man dnf.conf` for defaults and possible options

[main]
gpgcheck=True
installonly_limit=3
clean_requirements_on_remove=True
best=False
skip_if_unavailable=True
fastestmirror=True
deltarpm=True
max_parallel_downloads=3

/etc/dnf/dnf.conf (END)

How can I know if I’m running a proxy server or not?

I do remember tinkering with certain files, perhaps this one and some other due to some recommendations from a video by DJ Ware, regarding Fedora not long ago, but I basically copied and pasted, :slight_smile: can’t remember what nor what files unfortunately, I’ll
see if I can back-trace…

That doesn’t indicate that, that’s the dnf configuration.

What happens if you run,
pkcon update
from a terminal

pkcon update
Getting updates               [=========================]         
Finished                      [=========================]         
No packages require updating to newer versions.

Can you run, pkill gnome-software; gnome-software --verbose

For the proxy, on gnome go to settings → network and there is a Network proxy entry on the page for the connection.