Momonga Linux 6 Plus (6.1) の yum リポジトリは壊れているわけではなく、updates が存在しなかった

もうすでに 6.1 の updates が出ているので、以下のような HTTP エラーは起こらない。

% sudo yum update
Loaded plugins: dellsysidplugin, dellsysidplugin2, installonlyn, refresh-packagekit
http://dist.momonga-linux.org/pub/momonga/updates/6/i686/repodata/repomd.xml: [Errno 14] HTTP Error 404: Not Found
Trying other mirror.
http://ftp.iij.ad.jp/pub/linux/momonga/updates/6/i686/repodata/repomd.xml: [Errno 14] HTTP Error 404: Not Found
Trying other mirror.
http://ftp.kddilabs.jp/Linux/packages/momonga/updates/6/i686/repodata/repomd.xml: [Errno 14] HTTP Error 404: Not Found
Trying other mirror.
http://ftp.nara.wide.ad.jp/pub/Linux/momonga/updates/6/i686/repodata/repomd.xml: [Errno 14] HTTP Error 404: Not Found
Trying other mirror.
http://ftp.jaist.ac.jp/pub/Linux/Momonga/updates/6/i686/repodata/repomd.xml: [Errno 14] HTTP Error 404: Not Found
Trying other mirror.
http://ftp.yz.yamagata-u.ac.jp/pub/linux/momonga/updates/6/i686/repodata/repomd.xml: [Errno 14] HTTP Error 404: Not Found
Trying other mirror.
Excluding Packages in global exclude list
Finished
Setting up Update Process
No Packages marked for Update

このエラーは HTTP のエラー (404) であり、また yum のエラー (14) でもある。/etc/yum.repos.d/momonga-updates.repo で示したリポジトリが読めないという意味だ。

担当者によると updates の yum リポジトリが存在しなかっただけで壊れてないはいないということだが、ダウト。というのは、確かに /var/cache/yum 以下に当該リポジトリメタデータ (updates-released) が存在していれば上記のエラーは出るものの yum の実行はうまくいく。しかし、yum clean all などを実行してそのメタデータがない状態だと yum の実行は以下のエラーで止まるため。

Error: Cannot retrieve repository metadata (repomd.xml) for repository: updates-released. Please verify its path and try again

というわけで、うまくいった人といかなかった人の両方がいると思うね。僕は yum clean all を小まめに実行する派。