Bug 55446 - postinstall error from textutils-2.0.16-1
Summary: postinstall error from textutils-2.0.16-1
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Red Hat Raw Hide
Classification: Retired
Component: textutils
Version: 1.0
Hardware: i386
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Tim Waugh
QA Contact: Ben Levenson
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2001-10-31 13:20 UTC by Jonathan Kamens
Modified: 2007-04-18 16:37 UTC (History)
2 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2002-10-25 15:08:35 UTC
Embargoed:


Attachments (Terms of Use)

Description Jonathan Kamens 2001-10-31 13:20:31 UTC
install-info: menu item `yes' already exists, for file `sh-utils'
error: execution of %post scriptlet from textutils-2.0.16-1 failed, exit
status 1

Comment 1 Bill Crawford 2001-11-17 21:51:04 UTC
Due to replacement of several info files (textutils, sh-utils, etc) by a single
"coreutils" info file which is part of the fileutils package.

Fix is probably to make sure updated packages have a pre- or post-
script/trigger to remove the info dir entries for the info files which are being
removed.

Manual fix is to delete bad entries from the info dir, then do a force upgrade
of the package to rerun the post script.


Comment 2 Tim Waugh 2002-10-23 10:15:01 UTC
I think this is already fixed in the current release, isn't it?

Comment 3 Jonathan Kamens 2002-10-23 13:57:49 UTC
No, this was never fixed.  There are still no scripts in textutils, sh-utils,
etc. to remove obsolete info dir entries when those packages are uninstalled.

It's only "fixed" in the sense that it's not an issue for new installations. 
It's still a problem for people upgrading from older releases in which
textutils, sh-utils, etc. had info dir entries which are now in the coreutils file.

Comment 4 Tim Waugh 2002-12-12 14:01:32 UTC
The current coreutils package has:

preuninstall scriptlet (through /bin/sh):
if [ $1 = 0 ]; then
    [ -f /usr/share/info/coreutils.info.gz ] && \
      /sbin/install-info --delete /usr/share/info/coreutils.info.gz \
        /usr/share/info/dir || :
fi



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