Bugzilla – Bug 947835
Misleading/Wrong rpm error message
Last modified: 2017-08-12 20:05:17 UTC
When installing an rpm package without the necessary free space on /, rpm prints the following message: "installing package <package> needs <amount> on the / fileystem" This is wrong and misleading, it should be "installing package <package> needs <amount> more free space on the / fileystem" As the amount changes based on the current disk usage.
Directly from transaction.c of the rpm source: > rpmteAddProblem(te, RPMPROB_DISKSPACE, NULL, dsi->mntPoint, (adj_fs_blocks(dsi->bneeded) - dsi->bavail) * dsi->bsize);
Maybe, but I'm not going to fix all of the translations. This is something for upstream to change... (I once had a patch that changed the code to not subtract bavail, but dropped it as it's really the message wording that needs to be changed.)
(In reply to Michael Schröder from comment #2) > Maybe, but I'm not going to fix all of the translations. This is something > for upstream to change... I understand that you don't want to carry this as patch, but - can you please submit this upstream (as patch or bugreport)? If you really don't want to do it yourself - where can I find the upstream bugtracker? > (I once had a patch that changed the code to not subtract bavail, but > dropped it as it's really the message wording that needs to be changed.) Both ways would be ok IMHO ;-)
*** Bug 819639 has been marked as a duplicate of this bug. ***
Ping, before the report has its second anniversary ;-)