Fiz downgrade do libreoffice 5.4.x para voltar para 5.1.x nos repositórios agora não consigo executar nenhum programa do libreoffice. Como posso consertar isso?
O que fiz para deletar o libreoffice 5.4.x
sudo apt-get install ppa-purge && sudo ppa-purge ppa:libreoffice/ppa
sudo apt-get remove --purge libreoffice*
sudo apt-get autoremove
sudo apt-get clean
I then rebooted the machine
Em seguida, para reinstalar o 5.1.x, executei o comando.
sudo apt-get install libreoffice-common libreoffice
Quando clico no ícone, a tela do flash é exibida, mas nenhum dos aplicativos do libreoffice é iniciado.
Quando tento iniciar o gravador do terminal usando o comandolibreoffice --writer
Eu recebo esta mensagem de erro
~$ libreoffice --writer
terminate called after throwing an instance of 'std::runtime_error'
what(): IconThemeInfo::FileNameToThemeId() called with invalid filename.
Fatal exception: Signal 6
Stack:
/usr/lib/libreoffice/program/libuno_sal.so.3(+0x394e0)[0x7f996c2004e0]
/usr/lib/libreoffice/program/libuno_sal.so.3(+0x39873)[0x7f996c200873]
/usr/lib/libreoffice/program/libuno_sal.so.3(+0x399a8)[0x7f996c2009a8]
/lib/x86_64-linux-gnu/libc.so.6(+0x354b0)[0x7f996be324b0]
/lib/x86_64-linux-gnu/libc.so.6(gsignal+0x38)[0x7f996be32428]
/lib/x86_64-linux-gnu/libc.so.6(abort+0x16a)[0x7f996be3402a]
/usr/lib/x86_64-linux-gnu/libstdc++.so.6(_ZN9__gnu_cxx27__verbose_terminate_handlerEv+0x16d)[0x7f9964e9484d]
/usr/lib/x86_64-linux-gnu/libstdc++.so.6(+0x8d6b6)[0x7f9964e926b6]
/usr/lib/x86_64-linux-gnu/libstdc++.so.6(+0x8d701)[0x7f9964e92701]
/usr/lib/x86_64-linux-gnu/libstdc++.so.6(+0x8d919)[0x7f9964e92919]
/usr/lib/libreoffice/program/libmergedlo.so(_ZN3vcl13IconThemeInfo17FileNameToThemeIdERKN3rtl8OUStringE+0x13c)[0x7f996ebb340c]
/usr/lib/libreoffice/program/libmergedlo.so(_ZN3vcl13IconThemeInfoC2ERKN3rtl8OUStringE+0x70)[0x7f996ebb3690]
/usr/lib/libreoffice/program/libmergedlo.so(_ZN3vcl16IconThemeScanner18AddIconThemeByPathERKN3rtl8OUStringE+0x5b)[0x7f996ebb427b]
/usr/lib/libreoffice/program/libmergedlo.so(_ZN3vcl16IconThemeScanner26ScanDirectoryForIconThemesERKN3rtl8OUStringE+0x13b)[0x7f996ebb446b]
/usr/lib/libreoffice/program/libmergedlo.so(_ZN3vcl16IconThemeScanner6CreateERKN3rtl8OUStringE+0x63)[0x7f996ebb4553]
/usr/lib/libreoffice/program/libmergedlo.so(+0x2790fdc)[0x7f996ebaefdc]
/usr/lib/libreoffice/program/libmergedlo.so(_ZN13StyleSettingsC1Ev+0x46)[0x7f996ebaf496]
/usr/lib/libreoffice/program/libmergedlo.so(+0x27914f6)[0x7f996ebaf4f6]
/usr/lib/libreoffice/program/libmergedlo.so(_ZN11AllSettingsC1Ev+0x46)[0x7f996ebaf676]
/usr/lib/libreoffice/program/libmergedlo.so(_ZN11Application12InitSettingsEP10ImplSVData+0x1e)[0x7f996ebb5fde]
/usr/lib/libreoffice/program/libmergedlo.so(_ZN11Application11GetSettingsEv+0x2d)[0x7f996ebb608d]
/usr/lib/libreoffice/program/libvclplug_gtklo.so(+0x3b502)[0x7f995807f502]
/usr/lib/libreoffice/program/libmergedlo.so(_Z7InitVCLv+0x292)[0x7f996ebbadc2]
/usr/lib/libreoffice/program/libmergedlo.so(+0x279d9f6)[0x7f996ebbb9f6]
/usr/lib/libreoffice/program/libmergedlo.so(_Z6SVMainv+0x22)[0x7f996ebbbb02]
/usr/lib/libreoffice/program/libmergedlo.so(soffice_main+0xa2)[0x7f996dcb3212]
/usr/lib/libreoffice/program/soffice.bin[0x4006eb]
/lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xf0)[0x7f996be1d830]
/usr/lib/libreoffice/program/soffice.bin[0x400729]
lp@jt-laptop:~$
I'm using:
Distributor ID: Ubuntu
Description: Ubuntu 16.04.3 LTS
Release: 16.04
Codename: xenial
instalou apenas alguns pacotes, mas não os aplicativos (Base, Calc, Writer, ...) do projeto LibreOffice. O que você quer fazer é
Por uma estranha razão, o problema parece ser causado por
openjdk-8-jre-headless
não ter certeza do porquê, mas aqui está tudo o que fiz para fazê-lo funcionar.1) desinstalar arquivos
2) Encontre e desinstale o jdk
3) Instale o libreoffice