Bug 235581 - Require(post)
Require(post)
Status: CLOSED CURRENTRELEASE
Product: Fedora
Classification: Fedora
Component: t1lib (Show other bugs)
rawhide
All Linux
medium Severity medium
: ---
: ---
Assigned To: José Matos
Fedora Extras Quality Assurance
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2007-04-07 11:57 EDT by Florian La Roche
Modified: 2007-11-30 17:12 EST (History)
1 user (show)

See Also:
Fixed In Version: 5.1.0-9
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2007-04-22 15:38:33 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description Florian La Roche 2007-04-07 11:57:14 EDT
Description of problem:

ERROR: Output running post install script for package t1lib-0:5.1.0-8.fc6.i386
/usr/sbin/t1libconfig: line 47: find: command not found
/usr/sbin/t1libconfig: line 93: mkdir: command not found
/usr/sbin/t1libconfig: line 118: cat: command not found



Version-Release number of selected component (if applicable):


How reproducible:


Steps to Reproduce:
1.
2.
3.
  
Actual results:


Expected results:


Additional info:
Comment 1 José Matos 2007-04-21 19:09:31 EDT
OK, I tried to find its origin in my FC6 system:

$ rpm -qf `which find` `which mkdir` `which cat`
findutils-4.2.27-4.1
coreutils-5.97-12.5.fc6
coreutils-5.97-12.5.fc6

So I can understand the requirement for findutils, but coreutils. Is not there 
a minimum assumed system? I would expect coreutils to be in that requirement.

I will investigate further.
Comment 2 Florian La Roche 2007-04-22 06:03:26 EDT
While the comps file mentions these to be in all installed systems,
rpm itself does not add this dependency automatically. So installing
a fresh system with this rpm included, might not give the right
ordering results.

Btw: All rpms in Fedora Core right now do have the right dependencies
in their packages. (Except java rpms AFAIK.)

regards,

Florian La Roche
Comment 3 José Matos 2007-04-22 15:38:33 EDT
(In reply to comment #2)
> While the comps file mentions these to be in all installed systems,
> rpm itself does not add this dependency automatically. So installing
> a fresh system with this rpm included, might not give the right
> ordering results.

  That is a fair reason. :-)
  I think, after examining /usr/sbin/t1libconfig, that the only real 
dependency I have left is bash itself, but I expect that rpm requires it, so I 
should be safe here. :-)

  I have triggered the building of t1lib-5.1.0-9 where the requirement is 
added. I have update the package for F7, 6 and 5.

> regards,
> 
> Florian La Roche

The import line in patch is listed bellow:
+Requires(post): coreutils, findutils

Note You need to log in before you can comment on or make changes to this bug.