Bug 32953 - %postun scriptlet failed when removing sa-content-filter
Summary: %postun scriptlet failed when removing sa-content-filter
Status: CLOSED FIXED
Alias: None
Product: Sisyphus
Classification: Development
Component: sa-content-filter (show other bugs)
Version: unstable
Hardware: all Linux
: P3 normal
Assignee: Nobody's working on this, feel free to take it
QA Contact: qa-sisyphus
URL:
Keywords:
: 42990 (view as bug list)
Depends on:
Blocks:
 
Reported: 2016-12-28 19:39 MSK by Vladimir D. Seleznev
Modified: 2023-12-03 14:52 MSK (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Vladimir D. Seleznev 2016-12-28 19:39:27 MSK
Вывод:

subst: sed: -e expression #1, char 143: unterminated `s' command
warning: %postun(sa-content-filter-0.1-alt3.noarch) scriptlet failed, exit status 1

rpm -q --qf '%{postun}\n' sa-content-filter:
if [ "$1" -eq 0 ]; then
        subst 's,SPAMDOPTIONS="--socketpath=/var/run/spamd/socket -x -P -L --username=spamd --virtual-config-dir=/var/lib/spamd/.spamassassin",SPAMDOPTIONS=""' /etc/sysconfig/spamd
fi

Как видно, отсутствует заключительная "запятая" в команде.
Comment 1 Ivan A. Melnikov 2023-12-03 14:50:20 MSK
*** Bug 42990 has been marked as a duplicate of this bug. ***
Comment 2 Ivan A. Melnikov 2023-12-03 14:51:59 MSK
Запятая на место водружена.