間違いだらけの備忘録

このページの内容は無保証でありこのページの内容によって直接、または間接に損害を受けられたとしても私は責任を取りません。

filesystemパッケージ update失敗

# yum update
(中略)
Failed:
  filesystem.x86_64 0:2.4.30-3.AXS4                                                                                                                   
Complete!

#LANG=C rpm -Uvh --force /mnt/Packages/filesystem-2.4.30-3.AXS4.x86_64.rpm 
warning: /mnt/Packages/filesystem-2.4.30-3.AXS4.x86_64.rpm: Header V4 DSA/SHA1 Signature, key ID b941844d: NOKEY
Preparing...                ########################################### [100%]
   1:filesystem             ########################################### [100%]
error: unpacking of archive failed on file /mnt: cpio: chown failed - Read-only file system

http://www.novell.com/support/kb/doc.php?id=7006556

It's advised to umount active mounts from /mnt before updating the filesystem RPM or performing a system upgrade to avoid this situation. In case it already happened, choosing ignore (i), completing the update and installing the new filesystem RPM by re-running zypper afterwards is safe. Alternatively, umounting /mnt in a different terminal window or console and choosing retry (r) should also work.

上記の通り、/mntを解放した上で、個別にrpmコマンドでupdateして問題なし。

このページにはhatena以外のサービスからのコンテンツが埋め込まれています。 hatenaによりGoogle AdSense 広告が埋め込まれています。