mirror of
https://pagure.io/fedora-docs/quick-docs.git
synced 2024-11-24 21:35:17 +00:00
Move a note box in DNF System Upgrade to a better location
This commit is contained in:
parent
57ed63d5af
commit
328a73b5ba
1 changed files with 8 additions and 8 deletions
|
@ -46,7 +46,7 @@ sudo dnf install dnf-plugin-system-upgrade
|
|||
+
|
||||
[source,bash,subs="attributes"]
|
||||
----
|
||||
sudo dnf system-upgrade download --refresh --releasever={MAJOROSVER}
|
||||
sudo dnf system-upgrade download --refresh --releasever={MAJOROSVER}
|
||||
----
|
||||
+
|
||||
Change the `--releasever=` number if you want to upgrade to a different release.
|
||||
|
@ -135,6 +135,13 @@ You can see duplicate packages (packages with multiple versions installed) with:
|
|||
sudo dnf repoquery --duplicated
|
||||
----
|
||||
|
||||
[NOTE]
|
||||
====
|
||||
Run `sudo dnf update` first, as this list is only valid if you have a fully updated system.
|
||||
Otherwise, you will see a list of installed packages that are no longer in the repositories because an update is available.
|
||||
This list may also contain packages installed from third-party repositories who may not have updated their repositories.
|
||||
====
|
||||
|
||||
For packages from the official repositories, the latest version should be installed.
|
||||
However, some packages that are still on your system may no longer be in the repositories.
|
||||
To see a list of these packages do:
|
||||
|
@ -151,13 +158,6 @@ If you see a package you do not need, or use, you can remove it with:
|
|||
sudo dnf remove $(dnf repoquery --extras --exclude=kernel,kernel-\*)
|
||||
----
|
||||
|
||||
[NOTE]
|
||||
====
|
||||
Run `sudo dnf update` first, as this list is only valid if you have a fully updated system.
|
||||
Otherwise, you will see a list of installed packages that are no longer in the repositories because an update is available.
|
||||
This list may also contain packages installed from third-party repositories who may not have updated their repositories.
|
||||
====
|
||||
|
||||
You can safely remove packages no longer in use with:
|
||||
|
||||
[source,bash]
|
||||
|
|
Loading…
Reference in a new issue