Description of problem: rpm-ostree upgrade --preview is showing update, but rpm-ostree upgrade has nothing to upgrade Version-Release number of selected component (if applicable): How reproducible: Run rpm-ostree upgrade --preview and rpm-ostree upgrade Steps to Reproduce: 1. [root@ufv188-44 ~]# rpm-ostree upgrade --preview 1 metadata, 0 content objects fetched; 569 B transferred in 1 seconds Enabled rpm-md repositories: fedora updates Updating metadata for 'fedora'... done rpm-md repo 'fedora'; generated: 2019-04-27T09:42:56Z Updating metadata for 'updates'... done rpm-md repo 'updates'; generated: 2019-05-02T03:29:25Z Importing rpm-md... done AvailableUpdate: SecAdvisories: FEDORA-2019-7322053e74 Moderate systemd-container-241-8.git9ef65cb.fc30.x86_64 CVE-2019-3843 systemd: services with DynamicUser can create SUID/SGID binaries [fedora-all] https://bugzilla.redhat.com/show_bug.cgi?id=1703356 Upgraded: gstreamer1-plugins-good-gtk 1.15.2-3.fc30 -> 1.16.0-1.fc30 systemd-container 241-7.gita2eaa1c.fc30 -> 241-8.git9ef65cb.fc30 [root@ufv188-44 ~]# rpm-ostree upgrade 1 metadata, 0 content objects fetched; 569 B transferred in 1 seconds Checking out tree a602958... done Enabled rpm-md repositories: fedora updates Updating metadata for 'fedora'... done rpm-md repo 'fedora'; generated: 2019-04-27T09:42:56Z Updating metadata for 'updates'... done rpm-md repo 'updates'; generated: 2019-05-02T03:29:25Z Importing rpm-md... done Resolving dependencies... done No upgrade available. 2. 3. Actual results: info should be synced or system should be upgraded Expected results: Additional info:
OK, this is tracked upstream in https://github.com/projectatomic/rpm-ostree/issues/1579. See especially https://github.com/projectatomic/rpm-ostree/issues/1579#issuecomment-424467661. In this specific case (and I'm seeing this on my Silverblue system as well), systemd-container is a layered package, but it needs to match the version of systemd in the base commit. So although there is a new systemd-container in the yum repos, there isn't a new OSTree commit with the matching 241-8 systemd yet. (Which... I'm not sure why that is, there should be newer composes than 30.20190427.n.0 by now. Will look into this). Note this is related to https://github.com/projectatomic/rpm-ostree/issues/415, but not the same issue. In this case because there is also the 241-7 version of systemd-container in the stable repo, libsolv can select the non-conflicting version at `rpm-ostree upgrade` time. Had it not been there, it would have essentially exhibited the same issue as in https://github.com/projectatomic/rpm-ostree/issues/415. I'm going to close this as UPSTREAM because tracking issues upstream is much easier for us. But if you don't have a GitHub account, feel free to re-open and discuss here.