Bug 161194 - updmap-sys needs to run only in installation
updmap-sys needs to run only in installation
Product: Fedora
Classification: Fedora
Component: tetex-font-kerkis (Show other bugs)
All Linux
medium Severity medium
: ---
: ---
Assigned To: Orphan Owner
Fedora Extras Quality Assurance
Depends On:
  Show dependency treegraph
Reported: 2005-06-21 05:47 EDT by Sarantis Paskalis
Modified: 2007-11-30 17:11 EST (History)
0 users

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2005-06-24 08:19:01 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)
patch to enable updmap-sys only when installing (not updating) (969 bytes, patch)
2005-06-21 05:47 EDT, Sarantis Paskalis
no flags Details | Diff

  None (edit)
Description Sarantis Paskalis 2005-06-21 05:47:22 EDT
Description of problem:
During the update of tetex-font-kerkis, the %post scriptlet apears to fail and
the procedure does not remove the old entry from the rpm database.
The %post procedure is an invocation of updmap-sys, which checks the existing
map file updmap.cfg and if kerkis.map is not present (or disabled), the script
adds it (or enables it).

If no changes are necessary (i.e. the map is already present and enabled), the
script exits with a status of 1, stating that no changes are needed.  Its
execution was essentially a noop.  However, rpm receives the exit status of 1
and considers it as a failure notice, aborting any further action.

To remedy this, we just need to invoke updmap-sys only when installing and not
when updating the package.  Patch attached.

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

How reproducible:

Steps to Reproduce:
Actual results:

Expected results:

Additional info:
Comment 1 Sarantis Paskalis 2005-06-21 05:47:22 EDT
Created attachment 115739 [details]
patch to enable updmap-sys only when installing (not updating)
Comment 2 Michael Schwendt 2005-06-24 08:19:01 EDT
applied in tetex-font-kerkis-2.0-6.fc4

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