On 06/11/2018 08:36 AM, arnaud gaboury wrote:
> I set up two Fedora atomic machines recently absolutely the same way (same etc settings, same added packages...). They could have been rsync'ed.
>
> For unknown reasons, some packages don't have same versions. Some examples:
> cockpit-docker.x86_64 168-1.fc28 <> 169-1.fc28
> ca-certificates.noarch 2018.2.24-1.0.fc28 <> 2018.2.22-3.fc28
>
> When running # rpm-ostree upgrade on the machines with older versions, I get : No upgrade available, with a general upgrade or by package.
>
> Example:
> -------------------------------------------------------
> # rpm-ostree upgrade cockpit-docker
> 1 metadata, 0 content objects fetched; 569 B transferred in 3 seconds Checking out tree 291ea90... done
> Importing metadata [=============] 100%dora
> Resolving dependencies... done
> No upgrade available.
> --------------------------------------
>
> # rpm-ostree status lists the same layered packages.
>
> What is the reason behind this difference and how to solve? Maybe an hint, the two machines were not built on the same days (in case day 0 is important for upgrades)
>
I would look at the `rpm-ostree status -v` output from both machines. Maybe
copy/paste that and send it back here.
yes there are some diff:
Updated machine:
-------------------------------------------------
root control2➤➤ ~ # rpm-ostree status -v
State: idle; auto updates disabled
Deployments:
● ostree://fedora-atomic:fedora/28/x86_64/updates/atomic-host
Version: 28.20180610.0 (2018-06-10 17:24:09)
BaseCommit: c593e1d580788b7cfd11e04d3998f536493922cee30db263ec86ae4bae266b61
└─ repo-0 (2018-06-10 17:15:17)
└─ repo-1 (2018-04-25 04:27:32)
Commit: 4c5de2a56ddc5a639f940d45694eed8928cc108fd152df223519cd02fd19e2f5
└─ updates (2018-06-10 18:49:20) <<<<<<
└─ fedora (2018-04-25 04:27:32) <<<<<<<
Staged: no
StateRoot: fedora-atomic
GPGSignature: 1 signature
Signature made Sun 10 Jun 2018 05:24:20 PM UTC using RSA key ID E08E7E629DB62FB1
Good signature from "Fedora 28 <
fedora-28 fedoraproject org>"
LayeredPackages: ansible bind-utils byacc dnf flex gcc gdisk git git-all git-subtree
glibc-langpack-en jq kubernetes-client libmodulemd libxcrypt-devel mcstrans
nano nmap ntp ntpstat pam_ssh pass perl-MailTools python2-dnf
python3-smartcols ranger rng-tools rpmconf rsyslog rxvt-unicode-256color
setools setroubleshoot-server systemd-container unzip utf8proc util-linux-user
vim vim-enhanced wget zsh
LocalPackages: sshguard-2.1.0-1.el7.lux.x86_64
ostree://fedora-atomic:fedora/28/x86_64/updates/atomic-host
Version: 28.20180610.0 (2018-06-10 17:24:09)
BaseCommit: c593e1d580788b7cfd11e04d3998f536493922cee30db263ec86ae4bae266b61
└─ repo-0 (2018-06-10 17:15:17)
└─ repo-1 (2018-04-25 04:27:32)
Commit: b7ac2a7c8971945f58e738dcb77bd8ecca0ab0afa8620381a4e66b17ebec58b5
StateRoot: fedora-atomic
GPGSignature: 1 signature
Signature made Sun 10 Jun 2018 05:24:20 PM UTC using RSA key ID E08E7E629DB62FB1
Good signature from "Fedora 28 <
fedora-28 fedoraproject org>"
LayeredPackages: ansible bind-utils byacc dnf flex gcc gdisk git git-all git-subtree
glibc-langpack-en jq kubernetes-client libmodulemd libxcrypt-devel mcstrans
nano nmap ntp ntpstat pam_ssh pass perl-MailTools python2-dnf
python3-smartcols ranger rng-tools rpmconf rsyslog rxvt-unicode-256color
setools setroubleshoot-server unzip utf8proc util-linux-user vim vim-enhanced
wget zsh
LocalPackages: sshguard-2.1.0-1.el7.lux.x86_64
--------------------------------------------------
Non updated one (f28 - 1)
-----------------------------------------------------------
root etcd2➤➤ ~ # rpm-ostree status -v
State: idle; auto updates disabled
Deployments:
● ostree://fedora-atomic:fedora/28/x86_64/atomic-host
Version: 28.20180527.0 (2018-05-27 19:05:29)
BaseCommit: 291ea90da29bc5abe757b5a50813b3de1396b08412939a89b3b671aba9856093
└─ repo-0 (2018-05-27 18:56:18)
└─ repo-1 (2018-04-26 11:12:28)
Commit: 14f591292c208fbc9e58f93c138774f26c73f4a95d7a7c584965459ad4e935d7
Staged: no
StateRoot: fedora-atomic
GPGSignature: 1 signature
Signature made Sun 27 May 2018 07:05:35 PM UTC using RSA key ID E08E7E629DB62FB1
Good signature from "Fedora 28 <
fedora-28 fedoraproject org>"
LayeredPackages: ansible bind-utils byacc dnf flex gcc gdisk git git-all git-subtree
glibc-langpack-en jq kubernetes-client libmodulemd libxcrypt-devel mcstrans
nano nmap ntp ntpstat pam_ssh pass perl-MailTools python2-dnf
python3-smartcols ranger rng-tools rpmconf rsyslog rxvt-unicode-256color
setools setroubleshoot-server unzip utf8proc util-linux-user vim vim-enhanced
wget zsh
LocalPackages: sshguard-2.1.0-1.el7.lux.x86_64
ostree://fedora-atomic:fedora/28/x86_64/atomic-host
Version: 28.20180527.0 (2018-05-27 19:05:29)
BaseCommit: 291ea90da29bc5abe757b5a50813b3de1396b08412939a89b3b671aba9856093
└─ repo-0 (2018-05-27 18:56:18)
└─ repo-1 (2018-04-26 11:12:28)
Commit: 95d8932808143b8e0ed6f467299b6d58c14aa2d309515e73891e80879ddf50f2
└─ updates (2018-06-10 18:49:20)
└─ fedora (2018-04-25 04:27:32)
StateRoot: fedora-atomic
GPGSignature: 1 signature
Signature made Sun 27 May 2018 07:05:35 PM UTC using RSA key ID E08E7E629DB62FB1
Good signature from "Fedora 28 <
fedora-28 fedoraproject org>"
InactiveRequests: systemd-container
LayeredPackages: ansible bind-utils byacc dnf flex gcc gdisk git git-all git-subtree
glibc-langpack-en jq kubernetes-client libmodulemd libxcrypt-devel mcstrans
nano nmap ntp ntpstat pam_ssh pass perl-MailTools python2-dnf
python3-smartcols ranger rng-tools rpmconf rsyslog rxvt-unicode-256color
setools setroubleshoot-server unzip utf8proc util-linux-user vim vim-enhanced
wget zsh
LocalPackages: sshguard-2.1.0-1.el7.lux.x86_64
--------------------------------------------------------------------------------------------------------