Atomic 29: ostree upgrade failed because of libdnf

now upgrading:

# rpm-ostree upgrade
1 metadata, 0 content objects fetched; 569 B transferred in 1 seconds
Checking out tree 33b20cd... done
Enabled rpm-md repositories: updates fedora yarn rpm-fusion
rpm-md repo 'updates' (cached); generated: 2018-12-04T02:37:23Z
rpm-md repo 'fedora' (cached); generated: 2018-10-24T22:20:15Z
rpm-md repo 'yarn' (cached); generated: 2018-11-07T20:05:15Z
rpm-md repo 'rpm-fusion' (cached); generated: 2018-10-23T11:05:19Z
Importing metadata [=============] 100%
Resolving dependencies... Forbidden base package replacements:
libdnf 0.22.3-1.fc29 -> 0.22.0-8.fc29 (updates)
error: Some base packages would be replaced

I can't upgrade neither install any new package. How can I solve this
libdnf dependency?

TY for help


Re: Atomic 29: ostree upgrade failed because of libdnf

By Dusty Mabe at 12/04/2018 - 12:40

On 12/4/18 5:11 AM, arnaud gaboury wrote:

I saw this over the weekend but didn't have a lot of extra time to investigate. My theory
here is that one of your layered packages (can you give the output of `rpm-ostree status`?)
contains a package that depends on the newer libdnf. This should not happen but I suspect
an rpm that depends on the newer libdnf made it into the updates repo before the newer libdnf
made it into the updates repo.

On a side note I also found that my local installation of silverblue contains
podman-0.11.1-1.gita4adfe5.fc29.x86_64, which, according to bodhi, isn't in updates:
<a href="" title=""></a>

So it's possible either there are some issues with our repos or our silverblue composes
might be pulling wrong content somehow.

And... After a little investigation I can see there is some different content between
the atomic host updates compose and the silverblue compose:

[dustymabe@media fedora-ostree-repo-mirror]$ ostree log onerepo:fedora/29/x86_64/silverblue | head -n 5
commit 33b20cd7f31286861c7f7cdd78fe6211d76f2a1683141ed78290bc990ce64a52
ContentChecksum: cd3e6a7624f4638a8627032e3c9e7cb21cfb898456e1e7efad698eb194b2db8d
Version: 29.20181204.0
(no subject)
[dustymabe@media fedora-ostree-repo-mirror]$ ostree log onerepo:fedora/29/x86_64/updates/atomic-host | head -n 5
commit f6086b9fff20af1f4b1a9c172191026a56dd36342933da9344b38004fe4dd758
ContentChecksum: db363011cbbe8a5e3796cdaecb0ff47f64f5ac931fca7d4fcf92027c25a262a6
Version: 29.20181204.0
(no subject)
[dustymabe@media fedora-ostree-repo-mirror]$
[dustymabe@media fedora-ostree-repo-mirror]$ rpm-ostree --repo=./ db diff f6086b9fff20af1f4b1a9c172191026a56dd36342933da9344b38004fe4dd758 33b20cd7f31286861c7f7cdd78fe6211d76f2a1683141ed78290bc990ce64a52
ostree diff commit old: f6086b9fff20af1f4b1a9c172191026a56dd36342933da9344b38004fe4dd758
ostree diff commit new: 33b20cd7f31286861c7f7cdd78fe6211d76f2a1683141ed78290bc990ce64a52
NetworkManager 1:1.12.4-2.fc29 -> 1:1.12.6-1.fc29
NetworkManager-libnm 1:1.12.4-2.fc29 -> 1:1.12.6-1.fc29
cryptsetup 2.0.5-1.fc29 -> 2.0.6-1.fc29
cryptsetup-libs 2.0.5-1.fc29 -> 2.0.6-1.fc29
fedora-release 29-4 -> 29-5
fuse-overlayfs ->
kernel 4.19.5-300.fc29 -> 4.19.6-300.fc29
kernel-core 4.19.5-300.fc29 -> 4.19.6-300.fc29
kernel-modules 4.19.5-300.fc29 -> 4.19.6-300.fc29
pam 1.3.1-8.fc29 -> 1.3.1-13.fc29
podman 1: -> 1:0.11.1-1.gita4adfe5.fc29
runc ->

Looking at the commit timestamps from above and the timestamps from the compose logs
it looks like the silverblue ref was written by the updates-testing compose [1]
rather than the updates compose [2].

I will look at the configs and see if I can figure out where things are going wrong.


[1] <a href="" title=""></a>
[2] <a href="" title=""></a>

Re: Atomic 29: ostree upgrade failed because of libdnf

By Dusty Mabe at 12/04/2018 - 13:56

I think this a a regression is some of the new yaml parsing in pungi. I opened a bug
to see <a href="" title=""></a>

The updates-testing runs are running right after the updates runs and overwriting the ref.
For now we can disable updates-testing composes for silverblue so that it won't overwrite
the updates run.

Here is a PR for that:
<a href=" ... at lists dot" title=" ... at lists dot"> ... at lists dot fedor...</a>


Re: Atomic 29: ostree upgrade failed because of libdnf

By arnaud gaboury at 12/05/2018 - 06:14

My issue has been solved and could upgrade

Version: 29.20181205.0 (2018-12-05T01:01:39Z)
GPGSignature: Valid signature by
LayeredPackages: byacc compat-ffmpeg28 dnf
fedora-workstation-repositories ffmpeg ffmpeg-libs flex gcc git
gstreamer1-libav gstreamer1-plugins-ugly httpie
hugo kubernetes-client nano nodejs perl-AnyEvent-I3
python2-kobo-rpmlib python3-kobo-rpmlib snapd
vim wmctrl zsh

Re: Atomic 29: ostree upgrade failed because of libdnf

By Dusty Mabe at 12/05/2018 - 11:13

On 12/5/18 5:14 AM, arnaud gaboury wrote:
Yep. We put in a workaround yesterday. We should be good now. Sorry about that.


Re: Atomic 29: ostree upgrade failed because of libdnf

By arnaud gaboury at 12/06/2018 - 07:20

Don't be sorry and be proud for your very quick action and for the good
work you do with this wonderful distro.

Re: Atomic 29: ostree upgrade failed because of libdnf

By Dusty Mabe at 12/06/2018 - 13:58

On 12/6/18 6:20 AM, arnaud gaboury wrote:
Thanks! It's an incredible team of people that help pull it off. I'm thankful for everyone who contributes!