Re: RPM + packaging bug: many documentation files clobbered

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

 



Michel Salim wrote:
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?


This is fixed in rpm-4.4.2.1, which is in rawhide now, and I believe it will be released as an F-7 update too.

Regards,

Hans

--
fedora-devel-list mailing list
fedora-devel-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/fedora-devel-list

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]
  Powered by Linux