mirror of
https://pagure.io/fedora-docs/quick-docs.git
synced 2024-11-24 21:35:17 +00:00
Add information on cleaning old symlinks in /usr in dnf-system-upgrade.adoc
Add information on cleaning old symlinks in /usr in dnf-system-upgrade.adoc. Fedora includes the symlinks utility, so it is easy to clean the old cruft.
This commit is contained in:
parent
675fec1b7c
commit
9faf30dc15
1 changed files with 17 additions and 0 deletions
|
@ -172,6 +172,23 @@ However, that doesn't mean that the package is not useful or that you don't use
|
|||
*Only remove what you are sure you don't need*.
|
||||
====
|
||||
|
||||
[[sect-clean-up-old-symlinks]]
|
||||
=== Clean-Up Old Symlinks
|
||||
|
||||
There may be some dangling symlinks after an upgrade. You can clean the danling links by installing the symlinks utility and deleteing the old links.
|
||||
|
||||
[source,bash]
|
||||
----
|
||||
sudo dnf install symlinks
|
||||
----
|
||||
|
||||
Once the utility is installed you can run it like shown below. `-r` means recursive, and `-d` means delete.
|
||||
|
||||
[source,bash]
|
||||
----
|
||||
sudo symlinks -r -d /usr
|
||||
----
|
||||
|
||||
[[sect-resolving-post-upgrade-issues]]
|
||||
== Resolving Post-Upgrade Issues
|
||||
|
||||
|
|
Loading…
Reference in a new issue