yum repolist
yum-config-manager --disable <repo-name>
yum-config-manager --enable <repo-name>
/var/log/fedup.log
. You can open this file in your favorite editor, or by executing the command less /var/log/fedup.log
from a terminal. The file is large, but any problems will usually be towards the end.
/dev/sda
. Install the GRUB binary to the drive's Master Boot Record with the following command:
grub2-install /dev/sda
grub2-mkconfig -o /boot/grub2/grub.cfg
grub2-mkconfig -o /boot/efi/EFI/fedora/grub.cfg
yum distro-sync
leaves
.
leaves
, use this command:
package-cleanup --leaves
orphans
.
orphans
, use this command:
package-cleanup --orphans
package-cleanup
can also be used for duplicate packages and old kernels, and offers more options. Refer to man package-cleanup
for more information.
Be careful when cleaning packages!
package-cleanup
that you might use. For example, you might use a Python
library in scripts you have written, but it may not have any packaged software that depends on it. Be sure that you do not need a package before you remove it. In most cases, it will do no harm to leave the package installed.
package-cleanup
, but yum distro-sync
should be used first.
SELinux
policy changes are applied during package updates, the filesystem can be relabeled if required. If you experience more SELinux denials after an upgrade, or otherwise need to relabel the system, use the following command, then reboot the system. The relabel will take some time, so be patient.
touch /.autorelabel
restorecon
utility. For example, this command can correct labels some files used by the squid caching proxy:
restorecon -R /var/cache/squid/