Munin を yum update したら conflicts

Munin を最新版にしようと yum update したら conflicts してるよーって言われた。

# yum --enablerepo=epel update munin
...
Transaction Check Error:
file /var/www/cgi-bin/munin-cgi-graph from install of munin-2.0.12-2.el6.noarch conflicts with file from package munin-cgi-2.0.8-1.el6.noarch
...

以前は munin-cgi によってインストールされていた /var/www/cgi-bin/munin-cgi-graph が、munin 本体によってインストールされるようになったようだ。

というわけで、一度 munin を remove しようと思ったら、munin は remove できたけど、そのまま munin-cgi も remove しようとして munin-fcgi-graph と munin-fcgi-html ファイルがないよと吐きつつ Failed

とりあえずエラーは無視して、munin-cgi を update した。

# yum --enablerepo=epel update munin-cgi
...
Complete!

その後に munin 本体を再びインストールする。

# yum --enablerepo=epel update munin
...
Complete!

できました。めでたしめでたし