Software updates not getting installed

Hello,
I have installed Silverblue but the updates are not getting installed.
For example, Gnome Software shows that I have systemd-container-241-7 and a newer version (systemd-container-241-8) is available. After I click Restart & Update, it restarts but if I check again for updates, systemd-container-241-8 is still available as an update.
I had the same problem with a newer version of Google Chrome and I had to rpm-ostree uninstall it and then install the newer version.

rpm-ostree refresh-md
rpm-ostree update
shows that no updates are available

1 Like

can you run rpm-ostree status and paste the output here?

actually - since it was a layered package I guess there is some issue with the interaction between gnome-software and rpm-ostree. For example if there is no update to the base ostree, but there are layered package updates it looks like gnome-software won’t do anything.

What do you see if you run sudo rpm-ostree upgrade from the command line?

rpm-ostree status
State: idle
AutomaticUpdates: disabled
Deployments:
ā— ostree://fedora:fedora/30/x86_64/silverblue
Version: 30.20190427.n.0 (2019-04-27T08:57:18Z)
BaseCommit: a602958b1097d0790361a8b907f6f6ecbb62b7bbf826b086401eafb4ffcb845d
GPGSignature: Valid signature by F1D8EC98F241AAF20DF69420EF3C111FCFC659B9
LayeredPackages: gnome-boxes gnome-tweaks gstreamer1-plugins-ugly-free libunity
openal
LocalPackages: google-chrome-stable-74.0.3729.131-1.x86_64

ostree://fedora:fedora/30/x86_64/silverblue
Version: 30.20190427.n.0 (2019-04-27T08:57:18Z)
BaseCommit: a602958b1097d0790361a8b907f6f6ecbb62b7bbf826b086401eafb4ffcb845d
GPGSignature: Valid signature by F1D8EC98F241AAF20DF69420EF3C111FCFC659B9
LayeredPackages: gnome-boxes gnome-tweaks gstreamer1-plugins-ugly-free
libratbag-ratbagd libunity openal
LocalPackages: google-chrome-stable-74.0.3729.131-1.x86_64

rpm-ostree upgrade
1 metadata, 0 content objects fetched; 569 B transferred in 4 seconds
Checking out tree a602958… done
Enabled rpm-md repositories: updates google-chrome fedora
Updating metadata for ā€˜updates’… done
rpm-md repo ā€˜updates’; generated: 2019-05-01T00:36:44Z
Updating metadata for ā€˜google-chrome’… done
rpm-md repo ā€˜google-chrome’; generated: 2019-04-30T19:45:42Z
Updating metadata for ā€˜fedora’… done
rpm-md repo ā€˜fedora’; generated: 2019-04-27T09:42:56Z
Importing rpm-md… done
Resolving dependencies… done
No upgrade available.

Gnome Software still shows this after restart, even though I click on Restart & Update.

Like I said in the first post, it is not updating anything.
There was also a newer version of Google Chrome and I had to remove Chrome and install it again to have the latest version.

hmm what if you run sudo rpm-ostree cleanup -m to clean up cached metadata and then retry the sudo rpm-ostree upgrade ?

sudo rpm-ostree cleanup -m
sudo rpm-ostree upgrade
No upgrade available.

I was able to reproduce this problem on another system (in a virtual machine) running Silverblue 30 BETA on which updates were working fine until I installed GNOME Boxes as a layered package.
On the laptop, it is a Silverblue 30 which I installed yesterday when it was released so it’s not related to the 30 BETA from the virtual machine which I kept updating.

So, it is Silverblue 30 and it has Google Chrome 73, the latest version being 74.
I installed GNOME Boxes as a layered package and it installed
systemd-container-241-7.gita2eaa1c.fc30.x86_64
After reboot, I checked for updates and there were 2 updates: systemd-container-241-8 and Chrome 74.
Clicking Restart & Update restarts but doesn’t update anymore.

I removed Boxes, thinking that updates should work again as it they did before Boxes was installed.
They do not.
Without Boxes, there is only the update from Chrome 73 to 74 but it doesn’t work.
sudo rpm-ostree cleanup -m
sudo rpm-ostree upgrade
No upgrade available.

1 Like

I see you opened 1705494 – rpm-ostree upgrade --preview is showing update, but rpm-ostree upgrade has nothing to upgrade - we’ll track progress there with rpm-ostree community.

It was not me who opened it, just a big coincidence, but thank you for the link.
That’s exactly the problem.

oops - I saw the text and assumed it was you :slight_smile:

I replied in 1705494 – rpm-ostree upgrade --preview is showing update, but rpm-ostree upgrade has nothing to upgrade and linked to the upstream issue in Upgrade available in preview mode, but not in normal mode Ā· Issue #1579 Ā· coreos/rpm-ostree Ā· GitHub.

One cool thing I’ll mention is that anyone running Silverblue 30 right now with systemd-container layered is hitting this (including me), so it was pretty easy reproducing this locally myself. (Yay reproducible images!).

1 Like

Same:

$ rpm-ostree upgrade --preview
1 metadata, 0 content objects fetched; 569 B transferred in 2 seconds
Enabled rpm-md repositories: fedora fedora-cisco-openh264 rpmfusion-free-updates rpmfusion-nonfree-updates google-chrome-unstable google-chrome rpmfusion-free updates rpmfusion-nonfree
Updating metadata for ā€˜fedora’… done
rpm-md repo ā€˜fedora’; generated: 2019-04-27T09:42:56Z
Updating metadata for ā€˜fedora-cisco-openh264’… done
rpm-md repo ā€˜fedora-cisco-openh264’; generated: 2019-03-21T15:16:16Z
Updating metadata for ā€˜rpmfusion-free-updates’… done
rpm-md repo ā€˜rpmfusion-free-updates’; generated: 2019-05-02T12:04:39Z
Updating metadata for ā€˜rpmfusion-nonfree-updates’… done
rpm-md repo ā€˜rpmfusion-nonfree-updates’; generated: 2019-05-01T17:39:26Z
Updating metadata for ā€˜google-chrome-unstable’… done
rpm-md repo ā€˜google-chrome-unstable’; generated: 2019-05-02T19:42:22Z
Updating metadata for ā€˜google-chrome’… done
rpm-md repo ā€˜google-chrome’; generated: 2019-05-02T19:42:22Z
Updating metadata for ā€˜rpmfusion-free’… done
rpm-md repo ā€˜rpmfusion-free’; generated: 2019-04-16T20:46:20Z
Updating metadata for ā€˜updates’… done
rpm-md repo ā€˜updates’; generated: 2019-05-03T00:40:12Z
Updating metadata for ā€˜rpmfusion-nonfree’… done
rpm-md repo ā€˜rpmfusion-nonfree’; generated: 2019-04-16T21:53:39Z
Importing rpm-md… done
AvailableUpdate:
Upgraded: google-chrome-stable 74.0.3729.108-1 → 74.0.3729.131-1
google-chrome-unstable 75.0.3766.2-1 → 75.0.3770.18-1
nano 4.1-1.fc30 → 4.2-1.fc30
youtube-dl 2019.01.30-2.fc30 → 2019.04.24-1.fc30

$ rpm-ostree upgrade
⠚ Receiving metadata objects: 0/(estimating) -/s 0 bajtów…
Receiving metadata objects: 0/(estimating) -/s 0 bajtów… done
Checking out tree a602958… done
Enabled rpm-md repositories: fedora fedora-cisco-openh264 rpmfusion-free-updates rpmfusion-nonfree-updates google-chrome-unstable google-chrome rpmfusion-free updates rpmfusion-nonfree
Updating metadata for ā€˜fedora’… done
rpm-md repo ā€˜fedora’; generated: 2019-04-27T09:42:56Z
Updating metadata for ā€˜fedora-cisco-openh264’… done
rpm-md repo ā€˜fedora-cisco-openh264’; generated: 2019-03-21T15:16:16Z
Updating metadata for ā€˜rpmfusion-free-updates’… done
rpm-md repo ā€˜rpmfusion-free-updates’; generated: 2019-05-02T12:04:39Z
Updating metadata for ā€˜rpmfusion-nonfree-updates’… done
rpm-md repo ā€˜rpmfusion-nonfree-updates’; generated: 2019-05-01T17:39:26Z
Updating metadata for ā€˜google-chrome-unstable’… done
rpm-md repo ā€˜google-chrome-unstable’; generated: 2019-05-02T19:42:22Z
Updating metadata for ā€˜google-chrome’… done
rpm-md repo ā€˜google-chrome’; generated: 2019-05-02T19:42:22Z
Updating metadata for ā€˜rpmfusion-free’… done
rpm-md repo ā€˜rpmfusion-free’; generated: 2019-04-16T20:46:20Z
Updating metadata for ā€˜updates’… done
rpm-md repo ā€˜updates’; generated: 2019-05-03T00:40:12Z
Updating metadata for ā€˜rpmfusion-nonfree’… done
rpm-md repo ā€˜rpmfusion-nonfree’; generated: 2019-04-16T21:53:39Z
Importing rpm-md… done
Resolving dependencies… done
No upgrade available.

can you try now - we just got an update out and I think it should fix your issues.

2 Likes

I have installed the updates and everything is fine. The systemd-container issue is fixed and the missing 3rd party repositories (Chrome) were added.
Thank you!

1 Like

Fixed for me. Thank you! :slight_smile:

1 Like

There is a Google Chrome update but it is not being installed. The google-chrome repository is enabled.

Probably because there is no base ostree update. You can probably workaround by running rpm-ostree uninstall google-chrome && rpm-ostree install google-chrome. This might be a bug in rpm-ostree. Might be worth filing an issue against GitHub - coreos/rpm-ostree: āš›šŸ“¦ Hybrid image/package system with atomic upgrades and package layering to explore.

I had a similar problem where the update couldn’t move chrome from 74 to 75. I tried rpm-ostree uninstall google-chrome with errors. rpm-ostree uninstall google-chrome-stable did the trick.
I am new to the whole Silverblue / atomic experience but I really like the idea. So far I am very happy I made the switch.

I was running into this issue with microsoft-edge-beta. I was struggling because every time I uninstalled the local package the repository would also get removed, so I wouldn’t be able to properly reinstall and layer. Turns out running both commands at the same time successfully removes the local package installation and reinstalls the browser as a layered package. Hopefully updates will now work. Thanks for the help.