DNF (Dandified Yum)[edit]

Repository[edit]

CBR[edit]

EPEL[edit]

操作[edit]

コマンド[edit]

dnf check-update
dnf -y update
dnf search <name>
dnf -y install <name>
clean up (キャッシュのクリア)[edit]
dnf clean all
dnf update

エラー[edit]

途中で中断などして壊れた場合[edit]

エラーメッセージ例[edit]
system-config-securitylevel-1.6.29.1-5.e​l5.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
対策[edit]
# 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

トップ   編集 凍結 差分 履歴 添付 複製 名前変更 リロード   新規 ページ一覧 検索 最終更新   ヘルプ   最終更新のRSS
Last-modified: 2025-04-15 (火) 19:44:36