Bug 156660

Summary: texhash should be run in %post
Product: [Fedora] Fedora Reporter: Patrice Dumas <patpertusus>
Component: latex2htmlAssignee: Jindrich Novy <jnovy>
Status: CLOSED RAWHIDE QA Contact:
Severity: low Docs Contact:
Priority: medium    
Version: 4CC: pknirsch
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2005-05-03 13:54:26 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Patrice Dumas 2005-05-02 23:33:27 UTC
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.7) Gecko/20050416 Fedora/1.0.3-2 Firefox/1.0.3

Description of problem:
After installation, I get an error from latex,
html.sty not found. After I run texhash everything is fine.

I think that texhash should be run in %post.

A workaround is to run 
texhash 
as root just after installing.

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

How reproducible:
Always

Steps to Reproduce:
1.install latex2html rpm (maybe on a system where it wasn't before)
2.use the html package \usepackage{html}
3.
  

Actual Results:  An error, like 
Cannot find file `html.sty'

Expected Results:  No error

Additional info:

Comment 1 Jindrich Novy 2005-05-03 13:54:26 UTC
Patrice, thanks for noticing this. I added the texhash call also to the %postun
phase.