Bug 134746 - gcc-gnat does not update correctly /usr/share/info/dir
Summary: gcc-gnat does not update correctly /usr/share/info/dir
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Fedora
Classification: Fedora
Component: gcc
Version: 3
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Jakub Jelinek
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2004-10-05 23:04 UTC by Michal Jaegermann
Modified: 2007-11-30 22:10 UTC (History)
0 users

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2004-10-06 18:53:38 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Michal Jaegermann 2004-10-05 23:04:40 UTC
Description of problem:

While running an update the following shows up:

install-info: menu item `GNAT User's Guide' already exists, for file
`gnat_ug'

Apparently 'gnat_ug.info.gz' was there before and got replaced
with 'gnat_ugn_unw.info.gz'.  Unfortunately preuninstall and
postinstall scriptlets do not mention anything about 'gnat_ug'
and the net effect is that a corresponding menu entry ends up
pointing to a non-existent file.

How about adding to scriplets something in that style

grep -q 'gnat_ug)' && /sbin/install-info --delete \
  --info-dir=/usr/share/info /usr/share/info/gnat_ug.info.gz

or making this conditional on an existence of 
/usr/share/info/gnat_ug.info.gz ?

Version-Release number of selected component (if applicable):
gcc-gnat-3.4.2-4

Comment 1 Jakub Jelinek 2004-10-06 18:53:38 UTC
If the buggy rpm was released as part of a stable distribution, then
I guess something like that would be needed.  But the buggy rpms
were solely in FC3test*.


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