Pages

Sunday, July 24, 2011

Missing cron.d in sysstat rpm install

This note is for RHEL/OEL or other similar distributions.

When rpm install for sysstat package complains of missing /etc/cron.d, while cron.d suggest missing cron package, the actual missing package is vixie-cron.

rpm -Ivh sysstat*.rpm
- dependency fails due to missing /etc/cron.d

rpm -qa|grep cron
- following should be installed, otherwise install these first:
  • crontabs-...
  • vixie-cron-...
  • anacron-...


2 comments:

  1. Hi
    I am also havign the same problem.
    I have uninstalled cron, cronie, postfix,crontab, sysstat when I removed a package for which these were the dependencies.

    Now when I want to install these, I am not able to

    $ rpm -Uvh crontabs-1.10-33.el6.noarch.rpm
    warning: crontabs-1.10-33.el6.noarch.rpm: Header V3 RSA/SHA1 Signature, key ID c105b9de: NOKEY
    error: Failed dependencies:
    /etc/cron.d is needed by crontabs-1.10-33.el6.noarch


    could you please tell me what I have to do

    ReplyDelete
    Replies
    1. Have you tried installing vixie-cron and anacron first? You could install them together as:
      rpm -ivh vixie-cron*.rpm anacron*.rpm crontabs*.rpm

      Delete