man-db without cache update (no cron or systemd *.timer)

Zbigniew Jędrzejewski-Szmek zbyszek at in.waw.pl
Thu Oct 16 13:30:47 UTC 2014


On Thu, Oct 16, 2014 at 10:35:13AM +0200, Jan Chaloupka wrote:
> Forwarding Colin's response
> =================================
> 
> 
> On Wed, Oct 15, 2014 at 09:47:41AM -0500, Chris Adams wrote:
> >Once upon a time, Jan Chaloupka <jchaloup at redhat.com> said:
> >> there has been a discussion about if we need cache for man-db for users
> >> which use man pages or update system only from time to time and thus
> >> don't need to update cache every day. man-db as it is now depends on
> >> systemd which brings another set of packages. The use case is "I just
> >> want to read man page. So I install man which on the other hand download
> >> another set of packages. I want to read man page and it downloads systemd.".
> 
> Have you considered installing the timer file, but without the
> dependency?  If systemd is there, it could use it, otherwise not.  That
> would make a whole lot more sense to me than creating another package,
> and would be my recommendation.

Nope, this is not going to work. If there's no dependency on systemd
then during installation rpm can install man-db before systemd and
and the timer will not get enabled. Currently it is not possible to
install systemd units without a dependency on systemd.

Zbyszek


More information about the devel mailing list