The closest thing I've found for a guide on this is: https://fedoraproject.org/wiki/Releases/Rawhide#Upgrade_from_existing_stable...
Specifically "Q: How do I get out of Rawhide again? I want to switch to the Branched release or a stable release."
The problem is the suggested commands depending on 'su -c' don't work by default on at least Workstation because the root user is disabled; and is not required to be enabled even on Server. And modifying the command to work with sudo, it gets tripped up on the parentheses: -bash: syntax error near unexpected token `('
I've tested the following, and propose it as a change to the wiki:
--
sudo dnf config-manager --set-enabled fedora,fedora-modular,updates,updates-modular,updates-testing,updates-testing-modular sudo dnf config-manager --set-disabled rawhide,rawhide-modular sudo dnf update sudo dnf distro-sync sudo reboot
This should work for systems updated before or after branch. The more confusion with mixed Rawhide and current release packages, the more distro-sync will have to clean up.
--
On Thu, Feb 11, 2021 at 01:44:42PM -0700, Chris Murphy wrote:
The closest thing I've found for a guide on this is: https://fedoraproject.org/wiki/Releases/Rawhide#Upgrade_from_existing_stable...
Specifically "Q: How do I get out of Rawhide again? I want to switch to the Branched release or a stable release."
The problem is the suggested commands depending on 'su -c' don't work by default on at least Workstation because the root user is disabled; and is not required to be enabled even on Server. And modifying the command to work with sudo, it gets tripped up on the parentheses: -bash: syntax error near unexpected token `('
I've tested the following, and propose it as a change to the wiki:
--
sudo dnf config-manager --set-enabled fedora,fedora-modular,updates,updates-modular,updates-testing,updates-testing-modular sudo dnf config-manager --set-disabled rawhide,rawhide-modular sudo dnf update sudo dnf distro-sync sudo reboot
This should work for systems updated before or after branch. The more confusion with mixed Rawhide and current release packages, the more distro-sync will have to clean up.
+1, its a wiki, be bold and change it. :)
We could I suppose also advocate now offline upgrades with dnf, but that would be more steps, so probibly not worth it.
kevin
On Thu, Feb 11, 2021 at 01:44:42PM -0700, Chris Murphy wrote:
sudo dnf config-manager --set-enabled fedora,fedora-modular,updates,updates-modular,updates-testing,updates-testing-modular sudo dnf config-manager --set-disabled rawhide,rawhide-modular sudo dnf update sudo dnf distro-sync sudo reboot
distro-sync includes upgrade / update (I prefer "update" as the term for non-release updates to just the newest package set, but according to the DNF docs that's deprecated...), so that step can be consolidated
And for a big change like this, and since reboot is indicated anyway, how about
sudo dnf offline-distrosync download sudo dnf offline-distrosync reboot
instead of doing it online?
On Thu, Feb 11, 2021 at 6:24 PM Matthew Miller mattdm@fedoraproject.org wrote:
On Thu, Feb 11, 2021 at 01:44:42PM -0700, Chris Murphy wrote:
sudo dnf config-manager --set-enabled fedora,fedora-modular,updates,updates-modular,updates-testing,updates-testing-modular sudo dnf config-manager --set-disabled rawhide,rawhide-modular sudo dnf update sudo dnf distro-sync sudo reboot
distro-sync includes upgrade / update (I prefer "update" as the term for non-release updates to just the newest package set, but according to the DNF docs that's deprecated...), so that step can be consolidated
And for a big change like this, and since reboot is indicated anyway, how about
sudo dnf offline-distrosync download sudo dnf offline-distrosync reboot
instead of doing it online?
You can also do dnf system-upgrade --releasever=rawhide, that's usually worked for me. :)
On Thu, Feb 11, 2021 at 4:29 PM Neal Gompa ngompa13@gmail.com wrote:
On Thu, Feb 11, 2021 at 6:24 PM Matthew Miller mattdm@fedoraproject.org wrote:
On Thu, Feb 11, 2021 at 01:44:42PM -0700, Chris Murphy wrote:
sudo dnf config-manager --set-enabled fedora,fedora-modular,updates,updates-modular,updates-testing,updates-testing-modular sudo dnf config-manager --set-disabled rawhide,rawhide-modular sudo dnf update sudo dnf distro-sync sudo reboot
distro-sync includes upgrade / update (I prefer "update" as the term for non-release updates to just the newest package set, but according to the DNF docs that's deprecated...), so that step can be consolidated
And for a big change like this, and since reboot is indicated anyway, how about
sudo dnf offline-distrosync download sudo dnf offline-distrosync reboot
instead of doing it online?
You can also do dnf system-upgrade --releasever=rawhide, that's usually worked for me. :)
Well the idea is to stay on current, so I guess that would be --releasever=fedora34
?
On Thu, Feb 11, 2021 at 01:44:42PM -0700, Chris Murphy wrote:
The closest thing I've found for a guide on this is: https://fedoraproject.org/wiki/Releases/Rawhide#Upgrade_from_existing_stable...
Also, we should probably migrate that to the docs site. Thread: https://lists.fedoraproject.org/archives/list/docs@lists.fedoraproject.org/m...
OK it's updated. https://fedoraproject.org/wiki/Releases/Rawhide#Questions_and_Answers
I couldn't figure out the offline distrosync method, dnf complained about it maybe being a plugin but couldn't help me find it.
-- Chris Murphy
On Thu, Feb 11, 2021 at 06:50:05PM -0700, Chris Murphy wrote:
OK it's updated. https://fedoraproject.org/wiki/Releases/Rawhide#Questions_and_Answers
I couldn't figure out the offline distrosync method, dnf complained about it maybe being a plugin but couldn't help me find it.
Known bug -- it's part of the python3-dnf-plugin-system-upgrade package but the virtual provides isn't there. Should be fixed soon. The package is 51k and probably should be installed by default.
On Thu, Feb 11, 2021 at 9:29 PM Matthew Miller mattdm@fedoraproject.org wrote:
On Thu, Feb 11, 2021 at 06:50:05PM -0700, Chris Murphy wrote:
OK it's updated. https://fedoraproject.org/wiki/Releases/Rawhide#Questions_and_Answers
I couldn't figure out the offline distrosync method, dnf complained about it maybe being a plugin but couldn't help me find it.
Known bug -- it's part of the python3-dnf-plugin-system-upgrade package but the virtual provides isn't there. Should be fixed soon. The package is 51k and probably should be installed by default.
Tested that and it works also.
sudo dnf config-manager --set-disabled rawhide,rawhide-modular
sudo dnf config-manager --set-enabled fedora,fedora-modular,updates,updates-modular,updates-testing,updates-testing-modular
sudo dnf install python3-dnf-plugin-system-upgrade
sudo dnf offline-distrosync download
sudo dnf offline-distrosync reboot