[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

RPM + packaging bug: many documentation files clobbered



Hi all,

I noticed something disturbing when trying to look up installed OpenSSL documentation
 the other day: a lot of packages have their documentation files missing. Running this script on my system:

for i in `rpm -qa`; do
  rpm -V --nomd5 --nosize $i 1>/dev/null 2>&1 || echo $i
done

generates 283 packages, from acpid and anacron to yp-tools and zip.

The cause is three-fold:
1. Said packages put their documentation in %{doc}/%{name}-%{version}, without %{release}
2. The RPM short-cut, triggered on package deletion, that skips the check if a file in /usr/share/ is owned by another package
3. Yum would install the new package, *then* remove the old package

As such I am not sure where to file this bug. It is quite disturbing as in the past only 64-bit users who want to remove 32-bit RPMs notice this, but now due to the documentation packaging of some packages, the bug is also triggered on minor updates (version unchanged, release number bumped).

Filing a bug against hundreds of packages sure does not look like fun. Suggestions?

--
Michel


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]