On Tue, 27 Aug 2019, Adam Williamson wrote:
On Tue, 2019-08-27 at 16:54 -0400, Robert P. J. Day wrote:
> followup to earlier post but different enough that i'll start a new
> thread: using f30 and f31 as examples, what are the valid
> version-to-version upgrades using "dnf system-upgrade" that will
> both:
>
> 1) do the appropriate upgrade, and
> 2) allow normal, subsequent "dnf update" operations?
>
> i'm perusing this page:
>
>
https://fedoraproject.org/wiki/DNF_system_upgrade
>
> so here's how i interpret that.
>
> first, it's trivially obvious that one can upgrade from an official
> (possibly updated) f30 to an official f31 (once it is released), so
> that one's easy. (that scenario involves strictly official releases,
> no pre-release or branching.)
>
> next (what i asked about earlier), if i install from scratch a
> current, branched f31 iso image -- say, from here:
>
>
https://kojipkgs.fedoraproject.org/compose/branched/latest-Fedora-31/comp...
>
> that will definitely give me a branched version -- will it allow me to
> subsequently update to keep up with changes on the way to f31, and
> will that allow me to finally system-upgrade officially to f31?
Yes. In fact, you don't really need to do a 'system-upgrade' at any
point - if you just install any Branched pre-release and keep
updating it regularly, at the time the official release comes out
(in fact, a few days before) it will be equivalent to that official
release and you can then just keep dnf update'ing after that just as
you would if you had started from the initial release.
i suspected as much, thanks for confirming.
The only problem you might run into here is the 'updates-testing
disablement trap'. When you install from a Branched pre-release, the
'updates-testing' repository is enabled by default. A short time
before release, we send out an update that disables it. At that
point you can have dependency issues because you have packages
installed from updates-testing but it is now disabled. You have two
choices at that point - you can do a 'dnf distro-sync', which should
downgrade anything from updates-testing to the version in the stable
repos, or you can just turn 'updates-testing' back on again.
ah, that part i did *not* know.
> finally, if i have a (fully-updated) f30 system right now,
> before f31 comes out, can i "dnf system-upgrade" to move up to the
> current "branch", and eventually upgrade to the official f31 when
> it comes out?
Yes.
it might be worth summarizing this on a single page somewhere. i'm
sure all this info is on fedora pages somewhere, just not all
together.
rday