DNF (Dandified Yum)[edit]
Repository[edit]
- dnf config-manager --set-enabled crb
- crb リポジトリの有効にしておかないと,devel の一部が dnf でインストールできない.
dnf check-update
dnf -y update
dnf search <name>
dnf -y install <name>
clean up (キャッシュのクリア)[edit]
dnf clean all
dnf update
途中で中断などして壊れた場合†[edit]
エラーメッセージ例†[edit]
system-config-securitylevel-1.6.29.1-5.el5.i386 system-config-securitylevel-tui-1.6.29.1-2.1.el5.i386 Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
* addons: rsync.atworks.co.jp
* base: rsync.atworks.co.jp
* extras: rsync.atworks.co.jp
* updates: rsync.atworks.co.jp
Setting up Update Process
Resolving Dependencies
There are unfinished transactions remaining. You might consider running yum-complete-transaction first to finish them.
The program yum-complete-transaction is found in the yum-utils package.
--> Running transaction check
---> Package NetworkManager.i386 1:0.7.0-10.el5 set to be updated
---> Package NetworkManager-glib.i386 1:0.7.0-10.el5 set to be updated
---> Package NetworkManager-gnome.i386 1:0.7.0-10.el5 set to be updated
---> Package avahi.i386 0:0.6.16-7.el5 set to be updated
# yum -y install yum-utils
# yum-complete-transaction
Trouble Shooting†[edit]
repomd.xml GPG signature verification error: Bad GPG signature†[edit]
# rpm -e gpg-pubkey
# dnf clean all
# rm -rf /var/cache/dnf/*
# rm /var/cache/dnf/.gpgkeyschecked.yum
# dnf update