[ppa][packaging]libreoffice-base post-rm script syntax fail
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
libreoffice (Ubuntu) |
Fix Released
|
High
|
Björn Michaelsen |
Bug Description
I tried to use LibreOffice test builds and backports PPA and follow it's instructions to purge libreoffice-core then encountered this bug.
Bug will be triggered when this package is been removed. Since it seems to be trivial please fix it ASAP.
## Console output
...
/var/lib/
dpkg: error processing package libreoffice-base (--purge):
子程序 已安裝的 post-removal script 傳回了錯誤退出狀態 2
translation: sub-process installed post-removal script returned error return status 2
...
## Debugging info
As far as I can see the problem is at the second 'if ' statement:
if [ "$1" = abort-upgrade ] && dpkg --compare-versions "$2" lt dpkg --compare-versions "$2" lt 1:4.3.0~beta1-1; then
dpkg-divert --package $DPKG_MAINTSCRI
--divert /usr/lib/
dpkg-divert --package $DPKG_MAINTSCRI
--divert /usr/lib/
fi
description: | updated |
description: | updated |
tags: | added: ppa |
tags: | added: packaging |
I'm previously using 4.3.X PPA and wanna switch to LibreOffice test builds and backports PPA, FYI.