Silverblue F31 upgrade via Software download fails with "upgrade target revision is chronologically older than current revision. use --allow-downgrade to permit"

It seems to be an old problem:

https://fedoraproject.org/wiki/Test_Day:2018-09-20_Silverblue_Testday

and does not tell you how to specify --allow-downgrade. Any ideas?

rpm-ostree rebase fedora:fedora/31/x86_64/silverblue

`error: Could not depsolve transaction; 2 problems detected:
Problem 1: package rpmfusion-nonfree-release-30-1.noarch requires system-release(30), but none of the providers can be installed

  • package generic-release-30-0.3.noarch requires generic-release-common = 30-0.3, but none of the providers can be installed
  • conflicting requests
  • nothing provides fedora-repos(30) needed by generic-release-common-30-0.3.noarch
    Problem 2: package rpmfusion-free-release-30-1.noarch requires system-release(30), but none of the providers can be installed
  • package generic-release-30-0.3.noarch requires generic-release-common = 30-0.3, but none of the providers can be installed
  • conflicting requests
  • nothing provides fedora-repos(30) needed by generic-release-common-30-0.3.noarch
    `

Ugh.

This is caused by how RPMFusion tells you to add its repositories on Silverblue, because layered RPMs will always override updated packages, they never get updated and you get weird issues.

You need to remove pmfusion-nonfree-release-30-1.noarch and pmfusion-free-release-30-1.noarch

Appreciate! I shall try that then but run the risk of the NVIDIA graphics driver ceasing to work and facing me with a blank screen? Hopefully, I will not have to go back to nouveau.

In addition to that, rpmfusion is “not” requested and cannot be uninstalled. Any advice?

sudo rpm-ostree uninstall https://download1.rpmfusion.org/free/fedora/rpmfusion-free-release-30.noarch.rpm
error: Package/capability ‘https://download1.rpmfusion.org/free/fedora/rpmfusion-free-release-30.noarch.rpm’ is not currently requested

I may not be possible to remove = uninstall rpmfusion at all? Any help is appreciated.

had a few problems with upgrades, i tend to:

  1. capture a list of all the layered and location packages output of rpm-ostree status;
  2. reset all mutations rom-ostree reset;
  3. reboot;
  4. update rpm-ostree update to ensure fully up to date;
  5. reboot;
  6. rebase;
  7. reboot;
  8. reinstall layered and local packages;

Works for me but it will cause problems with the nvidia driver during the process as the reset mutation will remove it.

has worked for me too; great, thanks! Caveat: using dconf-editor trying to change e.g. the “confirm-close” setting in legacy/terminal cannot be done since it does not exist any more after the upgrade. Any ideas_