Libre Office writer自动关闭

sha*_*sha 5 libreoffice

$ libreoffice --writer 
/usr/bin/libreoffice: 175: exec: /usr/lib/libreoffice/program/oosplash: not found  
Run Code Online (Sandbox Code Playgroud)

LibreOffice Writer 在我的 Ubuntu 16.04 上无法打开。

我该如何修复它?

Eli*_*gan 4

重新安装libreoffice-core

libreoffice --writer当您在终端中运行时,错误消息显示该信息/usr/lib/libreoffice/program/oosplash丢失。该oosplash可执行文件libreoffice-core提供。重新安装此软件包应该替换丢失的文件以及可能的其他丢失或损坏的文件。

sudo apt update
sudo apt --reinstall install libreoffice-core
Run Code Online (Sandbox Code Playgroud)

如果这就是全部损坏的地方,那么这应该可以完全修复它。

(如果没有,libreoffice --writer再次运行可能会出现另一个错误,这应该可以帮助您进一步排除故障。)


小智 0

最后一条命令有错误,应该是:

sudo apt update

sudo apt install --reinstall libreoffice-core