http://qa.mandrakesoft.com/show_bug.cgi?id=3691


[EMAIL PROTECTED] changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |bugzilla-
                   |                            |[EMAIL PROTECTED]
         AssignedTo|[EMAIL PROTECTED]    |[EMAIL PROTECTED]
             Status|UNCONFIRMED                 |NEW
          Component|packaging                   |program
     Ever Confirmed|                            |1
            Product|dirmngr                     |rpm
            Summary|error msg installing the    |Install-info error prevents
                   |program                     |installation of dirmngr rpm
            Version|0.4.4-1mdk                  |4.2-8mdk




------- Additional Comments From [EMAIL PROTECTED]  2003-25-06 16:37 -------
(scripts slightly adjusted to be more readable in Bugzilla)

# rpm -qp dirmngr-0.4.4-2mdk.i586.rpm --scripts
postinstall scriptlet (using /bin/sh):
/sbin/ldconfig
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):
/sbin/ldconfig
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

This would still cause the problem if install-info fails; confirming + changing
summary.

Spec file uses:
%post 
/sbin/ldconfig
%_install_info %name.info

%postun 
/sbin/ldconfig
%_remove_install_info %name.info

It either be moved to install-info (change this error to a warning) or rpm
(always allow install-info to fail). Guessing rpm.

-- 
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.

Reply via email to