http://ubuntuforums.org/showthread.php?t=2239841
The link above helped me to solve the problem "somehow". At least I could remove LibroOffice and go on with work.
With adding this line:
/usr/lib/libreoffice/share/basic/script.xlc
To this file:
/var/lib/dpkg/info/libreoffice-base.postrm
There: (I marked the position with three leading stars ***)
----- File begins ------------------ #!/bin/sh
set -e
if [ "$1" = remove -o "$1" = abort-install -o "$1" = disappear ]; then dpkg-divert --package $DPKG_MAINTSCRIPT_PACKAGE --remove --rename \ --divert /usr/lib/libreoffice/share/basic/dialog.xlc.noaccess \ /usr/lib/libreoffice/share/basic/dialog.xlc dpkg-divert --package $DPKG_MAINTSCRIPT_PACKAGE --remove --rename \ --divert /usr/lib/libreoffice/share/basic/script.xlc.noaccess \ /usr/lib/libreoffice/share/basic/script.xlc fi 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_MAINTSCRIPT_PACKAGE --remove --rename \ --divert /usr/lib/libreoffice/share/basic/dialog.xlc.noaccess \ /usr/lib/libreoffice/share/basic/dialog.xlc dpkg-divert --package $DPKG_MAINTSCRIPT_PACKAGE --remove --rename \ --divert /usr/lib/libreoffice/share/basic/script.xlc.noaccess \ ***/usr/lib/libreoffice/share/basic/script.xlc fi
# Automatically added by dh_installmenu if [ -x "`which update-menus 2>/dev/null`" ]; then update-menus ; fi # End automatically added section
exit 0
---------- file ends ----------------
That should do the trick. From here:
Thanks to nadrach
Grüße
http:// ubuntuforums. org/showthread. php?t=2239841
The link above helped me to solve the problem "somehow". At least I could remove LibroOffice and go on with work.
With adding this line:
/usr/lib/ libreoffice/ share/basic/ script. xlc
To this file:
/var/lib/ dpkg/info/ libreoffice- base.postrm
There: (I marked the position with three leading stars ***)
----- File begins ------------------
#!/bin/sh
set -e
if [ "$1" = remove -o "$1" = abort-install -o "$1" = disappear ]; then PT_PACKAGE --remove --rename \ libreoffice/ share/basic/ dialog. xlc.noaccess \ libreoffice/ share/basic/ dialog. xlc PT_PACKAGE --remove --rename \ libreoffice/ share/basic/ script. xlc.noaccess \ libreoffice/ share/basic/ script. xlc PT_PACKAGE --remove --rename \ libreoffice/ share/basic/ dialog. xlc.noaccess \ libreoffice/ share/basic/ dialog. xlc PT_PACKAGE --remove --rename \ libreoffice/ share/basic/ script. xlc.noaccess \ lib/libreoffice /share/ basic/script. xlc
dpkg-divert --package $DPKG_MAINTSCRI
--divert /usr/lib/
/usr/lib/
dpkg-divert --package $DPKG_MAINTSCRI
--divert /usr/lib/
/usr/lib/
fi
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/
/usr/lib/
dpkg-divert --package $DPKG_MAINTSCRI
--divert /usr/lib/
***/usr/
fi
# Automatically added by dh_installmenu
if [ -x "`which update-menus 2>/dev/null`" ]; then update-menus ; fi
# End automatically added section
exit 0
---------- file ends ----------------
That should do the trick. From here:
http:// ubuntuforums. org/showthread. php?t=2239841
Thanks to nadrach
Grüße