rpm reports an insufficient space error when installing a package somewhere that's mounted read only (and there is enough space there). # rpm -q rpm rpm-4.8.1-2.fc13.x86_64 # df -h /boot Filesystem Size Used Avail Use% Mounted on /dev/sda1 243M 20M 223M 8% /boot # grep boot /proc/mounts /dev/sda1 /boot ext4 ro,noatime,nouser_xattr,noacl,barrier=1,data=writeback 0 0 # rpm -ivh kernel-2.6.34.7-61.fc13.x86_64.rpm Preparing... ########################################### [100%] installing package kernel-2.6.34.7-61.fc13.x86_64 needs 27MB on the /boot filesystem After "mount -o remount,rw /boot" the install works just as it should. In the example above, in addition to being mounted read only, the ext4 filesystem on /boot is one without a journal in case it makes a difference.
I know, it's that way pretty much on purpose. Correctly handling read-only mounts would require adding a new problem type for the occasion so it's somewhat more involved than "just fix the error message", and at the time I wanted something minimal suitable for backporting: an imprecise error message is better than happily trying to install on read-only fs (see bug 464750). So currently rpm simply maps read-only mounts to appear as full: while a read-only fs might technically have free space on it, none of it is /usable/ from rpm's POV so reporting not enough space is not that far from reality. Sure it wants a proper fix someday, but that's unlikely to happen in rpm 4.8.x.
This message is a reminder that Fedora 13 is nearing its end of life. Approximately 30 (thirty) days from now Fedora will stop maintaining and issuing updates for Fedora 13. It is Fedora's policy to close all bug reports from releases that are no longer maintained. At that time this bug will be closed as WONTFIX if it remains open with a Fedora 'version' of '13'. Package Maintainer: If you wish for this bug to remain open because you plan to fix it in a currently maintained version, simply change the 'version' to a later Fedora version prior to Fedora 13's end of life. Bug Reporter: Thank you for reporting this issue and we are sorry that we may not be able to fix it before Fedora 13 is end of life. If you would still like to see this bug fixed and are able to reproduce it against a later version of Fedora please change the 'version' of this bug to the applicable version. If you are unable to change the version, please add a comment here and someone will do it for you. Although we aim to fix as many bugs as possible during every release's lifetime, sometimes those efforts are overtaken by events. Often a more recent Fedora release includes newer upstream software that fixes bugs or makes them obsolete. The process we are following is described here: http://fedoraproject.org/wiki/BugZappers/HouseKeeping
This message is a notice that Fedora 15 is now at end of life. Fedora has stopped maintaining and issuing updates for Fedora 15. It is Fedora's policy to close all bug reports from releases that are no longer maintained. At this time, all open bugs with a Fedora 'version' of '15' have been closed as WONTFIX. (Please note: Our normal process is to give advanced warning of this occurring, but we forgot to do that. A thousand apologies.) Package Maintainer: If you wish for this bug to remain open because you plan to fix it in a currently maintained version, feel free to reopen this bug and simply change the 'version' to a later Fedora version. Bug Reporter: Thank you for reporting this issue and we are sorry that we were unable to fix it before Fedora 15 reached end of life. If you would still like to see this bug fixed and are able to reproduce it against a later version of Fedora, you are encouraged to click on "Clone This Bug" (top right of this page) and open it against that version of Fedora. Although we aim to fix as many bugs as possible during every release's lifetime, sometimes those efforts are overtaken by events. Often a more recent Fedora release includes newer upstream software that fixes bugs or makes them obsolete. The process we are following is described here: http://fedoraproject.org/wiki/BugZappers/HouseKeeping