Red Hat Bugzilla – Bug 50162
missing requirement in rpm package
Last modified: 2007-04-18 12:35:14 EDT
From Bugzilla Helper:
User-Agent: Mozilla/4.72 [en] (X11; U; Linux 2.2.18 i686)
Description of problem:
the krb5-libs rpm uses grep in its postinstall script, but has
no dependancy on grep, which provides grep.
When installing a custom system with anaconda, chances are that krb5-libs
gets installed _before_ grep does, so the postinstall script will fail.
In this case, /usr/kerberos/lib is not added to /etc/ld.so.conf
Steps to Reproduce:
1. install a custom system with anaconda
2. see output from /tmp/install.log below
Actual Results:Installing krb5-libs.
/var/tmp/rpm-tmp.15040: grep: command not found
Expected Results: anaconda should have installed grep before krb5-libs
Chances are that in other systems grep does get installed before krb5-libs
due to some other requirement.
pts/6 mharris@zod:~$ rpm -q --requires krb5-libs |grep grep
RHL 7.1 has this fixed.