Issue #503 Refine remove-retired-packages section

This commit is contained in:
Anthony McGlone 2022-11-26 11:51:56 +00:00
parent 07729f9436
commit bb94296e6e

View file

@ -118,20 +118,32 @@ For more information you can refer to the man pages (`man rpmconf`).
If you use `rpmconf` to upgrade the system configuration files supplied with the upgraded packages then some configuration files may change. After the upgrade you should verify `/etc/ssh/sshd_config`, `/etc/nsswitch.conf`, `/etc/ntp.conf` and others are expected. For example, if OpenSSH is upgraded then `sshd_config` reverts to the default package configuration. The default package configuration *does not* enable public key authentication, and allows password authentication. If you use `rpmconf` to upgrade the system configuration files supplied with the upgraded packages then some configuration files may change. After the upgrade you should verify `/etc/ssh/sshd_config`, `/etc/nsswitch.conf`, `/etc/ntp.conf` and others are expected. For example, if OpenSSH is upgraded then `sshd_config` reverts to the default package configuration. The default package configuration *does not* enable public key authentication, and allows password authentication.
[[sect-clean-up-retired-packages]] [[sect-clean-up-retired-packages]]
=== Clean-up retired package === Clean-up retired packages
Every release Fedora retires a few packages. There are various reasons: With every release, Fedora retires a few packages. There are various reasons;
the package become obsoleted, dead upstream or maintainer stepped down. the packages become obsolete, they have a dead upstream, or the maintainer
Fedora no longer distribute these packages, but they are still present steps down. Fedora no longer distributes these packages; however, they are
at your systems. You will never receive upgrades. Not even security ones. still on your system. These packages will not receive upgrades. It is highly
It is highly recommend to remove these packages. recommended to remove them.
If you upgrade across one release (e.g. Fedora 36 to 37), run the following commands:
[source,bash] [source,bash]
---- ----
sudo dnf install remove-retired-packages $ 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`:
[source,bash]
----
$ sudo dnf install remove-retired-packages
$ remove-retired-packages 35
----
NOTE: Upgrades across *more* than two releases are not supported.
[[sect-clean-up-old-packages]] [[sect-clean-up-old-packages]]
=== Clean-up old packages === Clean-up old packages