Untuk menghindari paket konflik antara OpenOffice.org 3 dengan versi sebelumnya, buang terlebih dahulu semua paket OpenOffice dengan perintah;
sudo apt-get remove openoffice*
Ketika melakukan proses uninstall mungkin anda mengalami error pada bagian openoffice.org-hyphenation-en-us dan service system-tools-backends
Pesan error yang kadang terjadi;
Removing openoffice.org-hyphenation-en-us &
/var/lib/dpkg/info/openoffice.org-hyphenation-en-us.postrm: 6: update-openoffice-dicts: not found
dpkg: error processing openoffice.org-hyphenation-en-us ( remove):
subprocess post-removal script returned error exit status 127
Errors were encountered while processing:
openoffice.org-hyphenation-en-us
E: Sub-process /usr/bin/dpkg returned an error code (1)
Untuk solusi error pada openoffice.org-hyphenation-en-us, pada folder /var/lib/dpkg/info buka file openoffice.org-hyphenation-en-us.postrm, kemudian berikan comment (#) seperti dibawah ini;
#!/bin/sh
set -e
# Automatically added by installdeb-myspell
#if [ "$1" = "remove" ]; then
# update-openoffice-dicts
#fi
# End automatically added section
Pesan error yang terjadi pada system-tools-backends adalah;
Setting up system-tools-backends (2.6.0-1ubuntu1.1) &
* Starting System Tools Backends system-tools-backends invoke-rc.d: initscript system-tools-backends, action start failed.
dpkg: error processing system-tools-backends ( configure):
subprocess post-installation script returned error exit status 1
Error ini terjadi karena daemon system-tools-backends dalam keadaan hidup. matikan daemon tersebut dengan perintah;
sudo /etc/init.d/system-tools-backends stop
Tidak ada komentar:
Posting Komentar