Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.

Bug 1350485

Summary: updmap from texlive-tetex-bin cannot be executed, missing dependencies
Product: Red Hat Enterprise Linux 7 Reporter: Jan Stodola <jstodola>
Component: texliveAssignee: Than Ngo <than>
Status: CLOSED ERRATA QA Contact: Maryna Nalbandian <mnalband>
Severity: high Docs Contact:
Priority: high    
Version: 7.2CC: jstodola, ksrot, pnemade
Target Milestone: rc   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: 2:2012-39.20130427_r30134 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2018-10-30 10:12:36 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 1337925, 1549619    

Description Jan Stodola 2016-06-27 14:55:28 UTC
Description of problem:
updmap cannot be executed due to missing dependencies:

[root@localhost ~]# yum install texlive-tetex-bin
...
[root@localhost ~]# updmap
/usr/bin/env: perl: No such file or directory
[root@localhost ~]#

After installing perl manually, updmap is still failing:

[root@localhost ~]# yum install perl
...
[root@localhost ~]# updmap
Can't locate TeXLive/TLUtils.pm in @INC (@INC contains: /usr/share/texlive/tlpkg /usr/local/lib64/perl5 /usr/local/share/perl5 /usr/lib64/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib64/perl5 /usr/share/perl5 .) at /bin/updmap line 41.
BEGIN failed--compilation aborted at /bin/updmap line 41.
[root@localhost ~]#


Version-Release number of selected component (if applicable):
RHEL-7.2 GA
texlive-tetex-bin-svn27344.0-38.20130427_r30134.el7

How reproducible:
always

Steps to Reproduce:
1. install RHEL-7.2/Server with minimal (default) package set
2. yum install texlive-tetex-bin
3. updmap

Actual results:
updmap fails to execute

Expected results:
updmap can be executed

Comment 2 Jan Stodola 2016-06-28 08:25:37 UTC
texlive-texlive.infra doesn't require perl, so this problem is not resolved by just installing texlive-texlive.infra.

Even when texlive-texlive.infra and perl are installed, updmap doesn't work:

[root@localhost ~]# rpm -q texlive-tetex-bin texlive-texlive.infra
texlive-tetex-bin-svn27344.0-38.20130427_r30134.el7.noarch
texlive-texlive.infra-svn28217.0-38.el7.noarch
[root@localhost ~]# updmap
Can't locate Digest/MD5.pm in @INC (@INC contains: /usr/share/texlive/tlpkg /usr/local/lib64/perl5 /usr/local/share/perl5 /usr/lib64/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib64/perl5 /usr/share/perl5 .) at /usr/share/texlive/tlpkg/TeXLive/TLUtils.pm line 199.
BEGIN failed--compilation aborted at /usr/share/texlive/tlpkg/TeXLive/TLUtils.pm line 199.
Compilation failed in require at /usr/bin/updmap line 41.
BEGIN failed--compilation aborted at /usr/bin/updmap line 41.
[root@localhost ~]#

Comment 3 Than Ngo 2016-06-28 09:13:13 UTC
texlive-texlive.infra needs the perl-Digest-MD5. Could you please install the package perl-Digest-MD5 and check again if it works?

I tested it and it works for me.

Thanks

Comment 4 Jan Stodola 2016-06-28 09:59:41 UTC
I can confirm it works fine with perl-Digest-MD5 installed, so a new dependency needs to be added.

Comment 18 errata-xmlrpc 2018-10-30 10:12:36 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHBA-2018:3122