yum update failed today with....
jik at kamens.us
Wed Apr 25 16:51:49 UTC 2012
On 4/25/2012 12:47 PM, Kamil Paral wrote:
> Isn't it common to also include the directories you want to place files into?
> $ rpm -ql google-chrome-stable | grep /bin
No. This is not correct packaging.
It is reasonable for an RPM to /require /the presence of the system
directories it uses as prerequisites before it can be installed, so that
if the filesystem layout changes in a way that the RPM doesn't expect,
it will refuse to install (which is correct behavior).
It is /not/ reasonable for an RPM to /include/ shared directories that
it does not own. Files and directories should only be owned by a single RPM.
On my system, there are only four RPMs (out of 3616) that provide
/usr/bin: VirtualBox, filesystem, google-earth-stable, and
google-chrome-stable. It is telling that three of these four RPMs are
third-party RPMs. Their maintainers are shipping buggy RPMs and they
should fix them.
This is generally a sign that they were lazy when writing their spec
files... Instead of constructing the %files section of the spec file
carefully to include only the files they actually own, they just put "*"
in the spec file to include the entire contents of the install
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the test