For whatever reason (only on AIX) I have to uninstall Postfix before upgrading, otherwise my build ends like this:

Executing(%install): env -i /openpkg/lib/openpkg/bash --norc --noprofile --posix -e /openpkg/RPM/TMP/rpm-tmp.114
+ cd /openpkg/RPM/TMP
+ cd postfix-2.4.5
+ rm -rf /openpkg/RPM/TMP/postfix-2.4.5-root
+ /openpkg/lib/openpkg/shtool subst -e 's;chown;true;' postfix-install
+ sh postfix-install -non-interactive install_root=/openpkg/RPM/TMP/postfix-2.4.5-root config_directory=/openpkg/etc/postfix daemon_directory=/openpkg/libexec/postfix command_directory=/openpkg/sbin queue_directory=/openpkg/var/postfix sendmail_path=/openpkg/sbin/sendmail newaliases_path=/openpkg/sbin/newaliases mailq_path=/openpkg/sbin/mailq manpage_directory=/openpkg/man mail_user=opkg setgid_group=opkg-r
postfix-install: Error: Usage: postfix-install [name=value] command
    create-missing          Create missing queue directories.
    upgrade-source          When installing or upgrading from source code.
upgrade-package When installing or upgrading from pre-built package. first-install-reminder Remind of mandatory first-time configuration steps.
    name=value              Specify an installation parameter.
error: Bad exit status from /openpkg/RPM/TMP/rpm-tmp.114 (%install)

Doesn't happen on Linux or Solaris...
______________________________________________________________________
OpenPKG                                             http://openpkg.org
User Communication List                      openpkg-users@openpkg.org

Reply via email to