http://qa.mandrakesoft.com/show_bug.cgi?id=3691
[EMAIL PROTECTED] changed:
What |Removed |Added
----------------------------------------------------------------------------
AssignedTo|[EMAIL PROTECTED] |[EMAIL PROTECTED]
Component|packaging |program
Product|dirmngr |info-install
Version|0.4.4-3mdk |4.6-1mdk
------- Additional Comments From [EMAIL PROTECTED] 2003-06-09 00:40 -------
It is apparently not a dirmngr packaging bug, but either a corrupted info file
, or an info-install bug, as forcing this commande manually still doesn't
work:
[EMAIL PROTECTED] guillaume]# /sbin/install-info /usr/share/info/dirmngr.info.bz2
--dir=/usr/share/info/dir
install-info: menu item `dirmngr' already exists, for file `gnupg'
[EMAIL PROTECTED] guillaume]# /sbin/install-info /usr/share/info/dirmngr.info.bz2
--dir=/usr/share/info/dir --remove
install-info: warning: no entries found for
`/usr/share/info/dirmngr.info.bz2'; nothing deleted
So the package is able to install the info page, but not to remove it.
BTW, carefully looking at how info related rpm macros are expanded, some
things seems curious:
postinstall scriptlet (using /bin/sh):
if [[ -f /usr/share/info/dirmngr.info.bz2 ]];then /sbin/install-info
/usr/share/info/dirmngr.info.bz2 --dir=/usr/share/info/dir;fi
postuninstall scriptlet (using /bin/sh):
if [ "$1" = "0" ]; then if [[ -f /usr/share/info/dirmngr.info.bz2 ]];then
/sbin/install-info /usr/share/info/dirmngr.info.bz2 --dir=/usr/share/info/dir
--remove ;fi; fi
1) the uninstall macro takes care if the package is getting really removed or
just upgraded, while the install macro doesn't
2) the test on file presence seems to be redundant with the previous test
3) as the uninstall macro relies on finding the info file, it won't be much
useful as a %postun macro, it should rather be a %preun, as stated in mdk rm
howto http://www.linux-mandrake.com/en/howtos/mdk-rpm/more-macros.html
If true, i guess this is a good candidate for a new rpmlint check
--
Configure bugmail: http://qa.mandrakesoft.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.
------- Reminder: -------
assigned_to: [EMAIL PROTECTED]
status: NEW
creation_date:
description:
During installation, we have the following error message :
install-info: menu item `dirmngr' already exists, for file `gnupg'
error: execution of %post scriptlet from dirmngr-0.4.4-1mdk failed, exit status 1
please do not flag this as an error but only a warning, %post should be allowed
to continue.