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♲📦.


#16

I’ve run into this again installing some headers required to build some R packages. Since I’m beta-testing here, I tried rebasing to fedora-workstation:fedora/29/x86_64/testing/silverblue and the installs now run. Am I going to run into trouble doing this?


#17

You should be fine. Wait about a week and rebase back to the fedora/29/x86_64/silverblue ref and you should be good.


#18

It’ll probably be more like a month - I’ve got a few projects I need to bang out that don’t involve containers.


#19

I have been running into this issue from time to time as well, this time I am getting

Resolving dependencies... Forbidden base package replacements:
  libgomp 8.2.1-5.fc29 -> 8.2.1-4.fc29 (updates)

Can this be affected by the number/type of layered packages I install. Maybe related to the rpm sources of my layered packages and the silverblue upstream not in sync?

The last time the problem just disappeared (so I am thinking of some sort of “not on sync” issue) but I would love to get some pointers to investigate or better avoid this issue.

This is the list of layered packages I have:

chromium docker gcc git i3 i3lock jq keychain mysql neovim npm pavucontrol postgresql pv python3-neovim redis the_silver_searcher tmux xautolock xclip yubioath-desktop zsh and I also have one local package (rofi-1.5.1-2.x86_64).


#20

I recall using rpm -q --whatrequires package, though it wasn’t always perfect.