| |
@@ -106,9 +106,15 @@
|
| |
|
| |
[source,bash]
|
| |
----
|
| |
- sudo rpmconf -a
|
| |
+ sudo rpmconf -a
|
| |
----
|
| |
|
| |
+ [NOTE]
|
| |
+ ====
|
| |
+ Some third party software drop edited configuration files in `/etc/yum.repos.d/` and reverting these files to their original versions may disable updates for the software.
|
| |
+ Please remember to review configuration files in this directory carefully.
|
| |
+ ====
|
| |
+
|
| |
For more information you can refer to the man pages (`man rpmconf`).
|
| |
|
| |
[[sect-upgraded-package-configurations]]
|
| |
@@ -123,7 +129,7 @@
|
| |
|
| |
[source,bash]
|
| |
----
|
| |
- sudo dnf repoquery --unsatisfied
|
| |
+ sudo dnf repoquery --unsatisfied
|
| |
----
|
| |
|
| |
The list should be empty, but if this is not the case consider removing them as they are not likely to work.
|
| |
@@ -132,7 +138,7 @@
|
| |
|
| |
[source,bash]
|
| |
----
|
| |
- sudo dnf repoquery --duplicates
|
| |
+ sudo dnf repoquery --duplicates
|
| |
----
|
| |
|
| |
[NOTE]
|
| |
@@ -148,7 +154,7 @@
|
| |
|
| |
[source,bash]
|
| |
----
|
| |
- sudo dnf list extras
|
| |
+ sudo dnf list extras
|
| |
----
|
| |
|
| |
If you see a package you do not need, or use, you can remove it with:
|
| |
@@ -162,7 +168,7 @@
|
| |
|
| |
[source,bash]
|
| |
----
|
| |
- sudo dnf autoremove
|
| |
+ sudo dnf autoremove
|
| |
----
|
| |
|
| |
[WARNING]
|
| |
@@ -212,7 +218,7 @@
|
| |
|
| |
[source,bash]
|
| |
----
|
| |
- sudo rpm --rebuilddb
|
| |
+ sudo rpm --rebuilddb
|
| |
----
|
| |
|
| |
[[sect-using-distro-sync-to-resolve-dependency-issues]]
|
| |
@@ -224,7 +230,7 @@
|
| |
|
| |
[source,bash]
|
| |
----
|
| |
- sudo dnf distro-sync
|
| |
+ sudo dnf distro-sync
|
| |
----
|
| |
|
| |
You can also use the `--allowerasing` option will remove packages with dependencies that can not be satisfied.
|
| |
@@ -232,7 +238,7 @@
|
| |
|
| |
[source,bash]
|
| |
----
|
| |
- sudo dnf distro-sync --allowerasing
|
| |
+ sudo dnf distro-sync --allowerasing
|
| |
----
|
| |
|
| |
[[sect-relabel-files-with-the-latest-selinux-policy]]
|
| |
@@ -244,7 +250,7 @@
|
| |
|
| |
[source,bash]
|
| |
----
|
| |
- sudo fixfiles -B onboot
|
| |
+ sudo fixfiles -B onboot
|
| |
----
|
| |
|
| |
The boot process will likely take a long time, as it checks and fixes SELinux permission labels on all files in your system.
|
| |
#245 continued