What | Removed | Added |
---|---|---|
CC | dimstar@opensuse.org |
(In reply to Atri Bhattacharya from comment #1) > * Jan 21 13:53:12 linux-b3rv [RPM][16099]: scriptlet > %postun(PackageKit-1.0.11-1.1.x86_64) failure: 2 grmbl... postun does not have ANY command that could potentially fail: postuninstall scriptlet (using /bin/sh): if [ $1 -eq 0 ]; then if test -x /usr/bin/update-mime-database; then /usr/bin/update-mime-database "/usr/share/mime" || true fi fi # Do not restart PackageKit on upgrade - it kills the transaction export DISABLE_RESTART_ON_UPDATE=yes test -n "$FIRST_ARG" || FIRST_ARG="$1" if [ "$FIRST_ARG" -ge 1 ]; then # Package upgrade, not uninstall if [ -x /usr/bin/systemctl ]; then /usr/bin/systemctl daemon-reload || : ( test -f /etc/sysconfig/services && . /etc/sysconfig/services test "$YAST_IS_RUNNING" = instsys && exit 0 test "$DISABLE_RESTART_ON_UPDATE" = yes && exit 0 ^^^ Latest here, the script will be ended in an upgrade case anyway... so everything below won't ever run /usr/bin/systemctl try-restart packagekit.service || : ) fi else # package uninstall for service in packagekit.service ; do sysv_service="${service%.*}" rm -f "/var/lib/systemd/migrated/$sysv_service" || : done if [ -x /usr/bin/systemctl ]; then /usr/bin/systemctl daemon-reload || : fi fi test -n "$FIRST_ARG" || FIRST_ARG="$1" if [ "$FIRST_ARG" -ge 1 ]; then # Package upgrade, not uninstall if [ -x /usr/bin/systemctl ]; then /usr/bin/systemctl daemon-reload || : ( test -f /etc/sysconfig/services && . /etc/sysconfig/services test "$YAST_IS_RUNNING" = instsys && exit 0 test "$DISABLE_RESTART_ON_UPDATE" = yes && exit 0 /usr/bin/systemctl try-restart packagekit-offline-update.service || : ) fi else # package uninstall for service in packagekit-offline-update.service ; do sysv_service="${service%.*}" rm -f "/var/lib/systemd/migrated/$sysv_service" || : done if [ -x /usr/bin/systemctl ]; then /usr/bin/systemctl daemon-reload || : fi fi