Forbidden base package replacements


#1

TL;DR: I’m running rpm-ostree upgrade on my Fedora 29 system and getting this:

1 metadata, 0 content objects fetched; 569 B transferred in 2 seconds
Checking out tree 478cb22... done
Enabled rpm-md repositories: fedora rpmfusion-nonfree-updates-testing rpmfusion-nonfree rpmfusion-free refi64-bluecap rpmfusion-free-updates-testing updates updates-testing-modular updates-modular
rpm-md repo 'fedora' (cached); generated: 2018-09-10 09:51:41
rpm-md repo 'rpmfusion-nonfree-updates-testing' (cached); generated: 2018-09-11 16:12:32
rpm-md repo 'rpmfusion-nonfree' (cached); generated: 2018-09-11 16:18:37
rpm-md repo 'rpmfusion-free' (cached); generated: 2018-09-11 15:55:48
rpm-md repo 'refi64-bluecap' (cached); generated: 2018-09-03 18:58:17
rpm-md repo 'rpmfusion-free-updates-testing' (cached); generated: 2018-09-11 15:43:50
rpm-md repo 'updates' (cached); generated: 2018-02-20 19:18:14
rpm-md repo 'updates-testing-modular' (cached); generated: 2018-02-20 19:18:14
rpm-md repo 'updates-modular' (cached); generated: 2018-02-20 19:18:14
Importing metadata [=============] 100%
Resolving dependencies... Forbidden base package replacements:
  gnome-shell-extension-places-menu 3.30.0-1.fc29 -> 3.29.91-1.fc29 (fedora)
  gnome-classic-session 3.30.0-1.fc29 -> 3.29.91-1.fc29 (fedora)
  gobject-introspection 1.58.0-2.fc29 -> 1.57.2-1.fc29 (fedora)
  glib2 2.58.0-1.fc29 -> 2.57.2-1.fc29 (fedora)
  gnome-shell-extension-alternate-tab 3.30.0-1.fc29 -> 3.29.91-1.fc29 (fedora)
  gnome-shell-extension-launch-new-instance 3.30.0-1.fc29 -> 3.29.91-1.fc29 (fedora)
  gnome-shell-extension-apps-menu 3.30.0-1.fc29 -> 3.29.91-1.fc29 (fedora)
  gnome-shell-extension-common 3.30.0-1.fc29 -> 3.29.91-1.fc29 (fedora)
  gnome-shell-extension-window-list 3.30.0-1.fc29 -> 3.29.91-1.fc29 (fedora)
failed
error: Some base packages would be replaced

This also seems to affect rebasing.

My best guess is that something in testing got downgraded?


#2

what does rpm-ostree status show?


#3
State: idle
AutomaticUpdates: disabled
Deployments:
● ostree://fedora-workstation:fedora/29/x86_64/silverblue
                   Version: 29.20180905.n.0 (2018-09-06 02:15:39)
                BaseCommit: 8781ad5a58f3a7dbedaad23391fa439dbb6bb3bcf9a7b267148e4fa3aad102c0
              GPGSignature: Valid signature by 5A03B4DD8254ECA02FDA1637A20AA56B429476B4
           LayeredPackages: ImageMagick WoeUSB adapta-gtk-theme bluecap chrome-gnome-shell cri-o dnf
                            fedora-packager fedora-review ffmpeg file-roller firewall-config git git-lfs
                            glib2-devel gnome-tweak-tool google-roboto-fonts google-roboto-mono-fonts
                            gparted htop libXScrnSaver mpv powerline-fonts rpm-build rpm-devel rpmlint
                            testdisk thai-scalable-purisa-fonts tilix tlp xdotool zsh
             LocalPackages: rpmfusion-nonfree-release-29-0.5.noarch rpmfusion-free-release-29-0.5.noarch
                            refind-0.11.3-1.x86_64

  ostree://fedora-workstation:fedora/29/x86_64/silverblue
                   Version: 29.20180905.n.0 (2018-09-06 02:15:39)
                BaseCommit: 8781ad5a58f3a7dbedaad23391fa439dbb6bb3bcf9a7b267148e4fa3aad102c0
              GPGSignature: Valid signature by 5A03B4DD8254ECA02FDA1637A20AA56B429476B4
           LayeredPackages: ImageMagick WoeUSB adapta-gtk-theme bluecap chrome-gnome-shell dnf
                            fedora-packager fedora-review ffmpeg file-roller firewall-config git git-lfs
                            glib2-devel gnome-tweak-tool google-roboto-fonts google-roboto-mono-fonts
                            gparted htop libXScrnSaver mpv powerline-fonts rpm-build rpm-devel rpmlint
                            testdisk thai-scalable-purisa-fonts tilix tlp xdotool zsh
             LocalPackages: rpmfusion-nonfree-release-29-0.5.noarch rpmfusion-free-release-29-0.5.noarch
                            refind-0.11.3-1.x86_64


#4

RPM Fusion works on Silverblue 28??


#5

so i think this is a combination of the fedora yum repo being cached (i.e. 'fedora' (cached); generated: 2018-09-10 09:51:41) and the beta composes running at the same time as nightly composes. can you try rpm-ostree cleanup -m and then try again?


#6

Okay, so the problems were with glib2-devel and gnome-tweak-tool. Removed them, and the upgrade worked!


#7

As a side note, it’d be nice if there were some way for rpm-ostree to show where exactly these conflicts are occurring…


#8

Did you mean 29? Yup, it works! You just have to download the branched versions from the rpmfusion site.


#9

I think the cleanup -m would have worked, but glad you found a solution.


#10

I’m trying the cleanup -m - no way I’m uninstalling gnome-tweaks :wink:


#11
sudo rpm-ostree cleanup -m
sudo rpm-ostree rebase fedora/29/x86_64/silverblue 2>&1 | tee rebase-29-log
1 metadata, 0 content objects fetched; 569 B transferred in 1 seconds
Checking out tree 478cb22... done
Enabled rpm-md repositories: fedora updates
Updating metadata for 'fedora': 100%
rpm-md repo 'fedora'; generated: 2018-09-11 16:03:23
Updating metadata for 'updates': 100%
rpm-md repo 'updates'; generated: 2018-02-20 19:18:14
Importing metadata 100%
Resolving dependencies... Forbidden base package replacements:
  gnome-shell-extension-alternate-tab 3.30.0-1.fc29 -> 3.29.91-1.fc29 (fedora)
  gnome-classic-session 3.30.0-1.fc29 -> 3.29.91-1.fc29 (fedora)
  gnome-shell-extension-common 3.30.0-1.fc29 -> 3.29.91-1.fc29 (fedora)
  gnome-shell-extension-window-list 3.30.0-1.fc29 -> 3.29.91-1.fc29 (fedora)
  gnome-shell-extension-apps-menu 3.30.0-1.fc29 -> 3.29.91-1.fc29 (fedora)
  gnome-shell-extension-places-menu 3.30.0-1.fc29 -> 3.29.91-1.fc29 (fedora)
  gnome-shell-extension-launch-new-instance 3.30.0-1.fc29 -> 3.29.91-1.fc29 (fedora)
failed
error: Some base packages would be replaced

#12

I had tried, and it didn’t work…


#13

There’s a GNOME Tweaks Flatpak instead.


#14

I couldn’t find it - I did find Calibre though :wink:


#15

This is https://github.com/projectatomic/rpm-ostree/issues/415
which was one of the (but not the only) major driving issues forming the work on rpm-ostree rojig♲📦.