将系统从 14.10 升级到 15.04 后,LibreOffice (calc / writer) 无法启动。我收到:LibreOffice 4.4 - 严重错误,应用程序无法启动。用户安装无法完成。
答案1
尝试删除~/.config/libreoffice
rm ~/.config/libreoffice
并重新启动 LibreOffice
答案2
测试一下:
Ctrl通过点击+ Alt+打开终端T。
运行以下命令:
sudo -i
apt-get update
apt-get --purge remove libreoffice*
apt-get autoremove
apt-get clean
apt-get install --reinstall deborphan
deborphan
apt-get --purge remove `deborphan`
deborphan –-libdevel
apt-get --purge remove `deborphan --libdevel`
dpkg --purge `COLUMNS=300 dpkg -l | egrep "^rc" | cut -d' ' -f3`
OLDCONF=$(dpkg -l|grep "^rc"|awk '{print $2}')
CURKERNEL=$(uname -r|sed 's/-*[a-z]//g'|sed 's/-386//g')
LINUXPKG="linux-(image|headers|ubuntu-modules|restricted-modules)"
METALINUXPKG="linux-(image|headers|restricted-modules)-(generic|i386|server|common|rt|xen)"
OLDKERNELS=$(dpkg -l|awk '{print $2}'|grep -E $LINUXPKG |grep -vE $METALINUXPKG|grep -v $CURKERNEL)
apt-get purge $OLDCONF
apt-get purge $OLDKERNELS
apt-get install --reinstall libreoffice libreoffice-base-drivers libreoffice-pdfimport libreoffice-help-en-us libreoffice-templates mythes-en-us libreoffice-java-common myspell-en-us libreoffice-common