Reply to comment

Re: Inconsistent dnf provides result

By Georg Sauthoff at 06/02/2019 - 04:19

On Sun, Jun 02, 2019 at 08:04:25AM +0100, Sérgio Basto wrote:
Good find.

I never questioned that `dnf provides /usr/lib64/dpm-mysql/dpmcopyd.8`
would work. It does. It's just a non-standard location and thus nothing
I would try when searching for the man page of dpmcopyd with `dnf

Note that all the man-pages under Fedora a gzip-compressed, while this
file isn't.

But does this even work?

%{_sbindir}/update-alternatives --install %{_sbindir}/dpmcopyd dpmcopyd \
%{_libdir}/dpm-mysql/dpmcopyd 20 \
--slave %{_mandir}/man8/dpmcopyd.8.gz dpmcopyd.8.gz \

I mean the archive just contains:



$ file o/usr/lib64/dpm-mysql/dpmcopyd.8
o/usr/lib64/dpm-mysql/dpmcopyd.8: ASCII text, with escape sequences

While the update-alternatives commands references:


Best regards