Fedora25へアップグレードした時のコマンドをまとめました。
Fedora25をFedora28へアップグレード
[root@localhost ~]# dnf upgrade –refresh
[root@localhost ~]# dnf upgrade
[root@localhost ~]# dnf install dnf-plugin-system-upgrade
[root@localhost ~]# dnf system-upgrade download –refresh –releasever=28
下記のエラーが出たのでパラメーターを追加して実行
エラー: package python3-logilab-common-0.63.2-5.fc24.noarch requires python(abi) = 3.5, but none of the providers can be installed(try to add ‘–allowerasing’ to command line to replace conflicting packages)
[root@localhost ~]# dnf system-upgrade download –allowerasing –refresh –releasever=28
[root@localhost ~]# dnf system-upgrade reboot
Fedora24をFedora25へアップグレード
[root@localhost ~]# dnf update
[root@localhost ~]# dnf install dnf-plugin-system-upgrade
[root@localhost ~]# dnf system-upgrade download –releasever=25
失敗した場合は↓
[root@localhost ~]# dnf system-upgrade download –releasever=25 –allowerasing
[root@localhost ~]# dnf system-upgrade reboot
キャッシュの削除
[root@localhost ~]# dnf clean packages