mirror of
https://pagure.io/fedora-docs/quick-docs.git
synced 2024-11-28 14:56:35 +00:00
Parameterize hard coded Fedora versions
This commit is contained in:
parent
edb2e7cdee
commit
a2d54f5495
1 changed files with 3 additions and 3 deletions
|
@ -148,7 +148,7 @@ steps down. Fedora no longer distributes these packages; however, they are
|
||||||
still on your system. These packages will not receive upgrades. It is highly
|
still on your system. These packages will not receive upgrades. It is highly
|
||||||
recommended to remove them.
|
recommended to remove them.
|
||||||
|
|
||||||
If you upgrade across one release (e.g. Fedora 36 to 37), run the following commands:
|
If you upgrade across one release (e.g. Fedora {PREVVER} to {MAJOROSVER}), run the following commands:
|
||||||
|
|
||||||
[source,bash]
|
[source,bash]
|
||||||
----
|
----
|
||||||
|
@ -156,12 +156,12 @@ $ sudo dnf install remove-retired-packages
|
||||||
$ remove-retired-packages
|
$ remove-retired-packages
|
||||||
----
|
----
|
||||||
|
|
||||||
If you upgrade across two releases (e.g. Fedora 35 to 37), you must supply the old release version to `remove-retired-packages`:
|
If you upgrade across two releases (e.g. Fedora {PREVPREVVER} to {MAJOROSVER}), you must supply the old release version to `remove-retired-packages`:
|
||||||
|
|
||||||
[source,bash]
|
[source,bash]
|
||||||
----
|
----
|
||||||
$ sudo dnf install remove-retired-packages
|
$ sudo dnf install remove-retired-packages
|
||||||
$ remove-retired-packages 35
|
$ remove-retired-packages {PREVPREVVER}
|
||||||
----
|
----
|
||||||
|
|
||||||
NOTE: Upgrades across *more* than two releases are not supported.
|
NOTE: Upgrades across *more* than two releases are not supported.
|
||||||
|
|
Loading…
Reference in a new issue