postinstall scriptlet (through /bin/sh): for n in lmtp smtp smtpd; do ln -s -nf "$n"-tls /usr/lib/postfix/"$n" done /usr/bin/subst -p 's/^#\(.*tlsmgr\)/\1' /etc/postfix/postfix-files /etc/postfix/post-install upgrade-package Пропущен символ в строке /usr/bin/subst... Должно быть: /usr/bin/subst -p 's/^#\(.*tlsmgr\)/\1/' /etc/postfix/postfix-files Из-за ошибки не правится файл /etc/postfix/postfix-files preuninstall scriptlet (through /bin/sh): if [ $1 = 0 ]; then for n in lmtp smtp smtpd; do ln -s -nf "$n"-std /usr/lib/postfix/"$n" done Отсутсвует завершение условия. Должно быть: if [ $1 = 0 ]; then for n in lmtp smtp smtpd; do ln -s -nf "$n"-std /usr/lib/postfix/"$n" done fi Из-за ошибки не удаляется пакет postfix-tls. Steps to Reproduce: 1.Сборка postfix с tls 2.Установка postfix-tls 3.Удаление postfix-tls Actual Results: Ошибки при установке и удалении пакета Expected Results: Нормальная установка и удаление пакета.
Спасибо, исправлено в 2.1.5-alt2