PDA

View Full Version : [SOLVED] LibreOffice broken un upgrade



bob brazie
February 22nd, 2018, 08:00 PM
Ubuntu 17.10
Anyone else having this problem after the upgrade today? 2-22-2018
All information at the top is just little squares.
Thanks in advance.

tinylagarto
February 22nd, 2018, 10:10 PM
Which version of LibreOffice is this in your case?


apt cache policy

will give the output from a terminal.

bob brazie
February 22nd, 2018, 11:25 PM
Can't tell without the help menu.
apt cache policy returned : E: Invalid operation cache
It was the newest up grade to Ubuntu 17.10 this morning.

1fallen
February 22nd, 2018, 11:29 PM
You can use either:

apt policy libreoffice
or:

apt-cache policy libreoffice
But not:

apt cache policy libreoffice
Note the absence of "-"
EDIT: BTW have you tried installing:

sudo apt install libreoffice-style-human
I can confirm what yours looks like and this worked for my case.
Fingers crossed. :)

bob brazie
February 22nd, 2018, 11:56 PM
libreoffice:
Installed: (none)
Candidate: 1:5.4.5-0ubuntu0.17.10.1
Version table:
1:5.4.5-0ubuntu0.17.10.1 500
500 http://us.archive.ubuntu.com/ubuntu artful-updates/universe amd64 Packages
500 http://security.ubuntu.com/ubuntu artful-security/universe amd64 Packages
1:5.4.1-0ubuntu1 500
500 http://us.archive.ubuntu.com/ubuntu artful/universe amd64 Packages

What is this sudo apt install libreoffice-style-human

Something is broken or it broke something with this update.

1fallen
February 23rd, 2018, 12:18 AM
Something is broken or it broke something with this update.
Yes I get that! ;)


What is this sudo apt install libreoffice-style-human

For the Screenshot i just uploaded!
Mine looked Identical to yours>>>until I installed what I mentioned in my previous post.
Just my small effort to help.
EDIT: Just found this also: https://askubuntu.com/questions/987792/libreoffice-toolbar-icons-went-blank-after-application-hanged
Both fix's required a change with the themes being used.
Anyway Good Luck

bob brazie
February 23rd, 2018, 01:21 AM
Tried sudo apt install libreoffice-style-human but nothing changed.
I can't do it as the other post mentioned as I cannot open options as all of the file/edit/history etc are just little squares that do nothing. It that post it was the icons that were not showing that is not the case with my problems.

bob brazie
February 23rd, 2018, 01:24 AM
I did open the options and changed the view using the alt f12 keys and nothing changed.

vasa1
February 23rd, 2018, 01:32 AM
Try a clean profile in case that helps.

Close all LibreOffice programs.

Rename ~/.config/libreoffice to something else. Restart LibreOffice and see if your problem goes away.

1fallen
February 23rd, 2018, 01:32 AM
Sorry about that, I guess I'm just lucky.
There seems to be some new changes coming in now Today.
Seeing a few more LibreOffice threads than usual and Bugs also.
vasa1 seems to have a great suggestion in post#9
That might be why I was lucky then...I always use a clean profile when problems arise.
Stay Tuned! ;)

tinylagarto
February 23rd, 2018, 01:27 PM
Can't tell without the help menu.
apt cache policy returned : E: Invalid operation cache
It was the newest up grade to Ubuntu 17.10 this morning.

My bad. I was typing it wrong. My brain was not in sync with my writing.

But the others corrected it.

bob brazie
February 23rd, 2018, 05:00 PM
Gave that a try and it did't help with the commands at the top. Still little squares.

1fallen
February 23rd, 2018, 06:22 PM
Seems we have at least one user reporting better results with adding a PPA source.
https://ubuntuforums.org/showthread.php?t=2385634&page=2
Some folks don't like adding PPAs to the mix.
Important: it is highly recommended to remove libreoffice before upgrading to the PPA's version. (Currently @ 1:6.0.1~rc1)
If you decide to go this route first:

sudo apt remove --purge libreoffice*

sudo add-apt-repository ppa:libreoffice/ppa
sudo apt update
sudo apt upgrade
Poster's issue was slightly different than yours but worth a shot.

To revert: use PPA purge


sudo apt install ppa-purge

Then remove the PPA

sudo ppa-purge ppa:libreoffice/ppa

Then update:


sudo apt update


Note: this will uninstall packages provided by the PPA, but not those provided by the official repositories.
PPA-PURGE: ppa-purge will reset all packages from a PPA to the standard versions released for your distribution. So basically its like a way to restore your system back to the way it was before you installed packages from a PPA.

bob brazie
February 23rd, 2018, 06:30 PM
I will be gone for the weekend but back Monday.
Can we continue this at that time?
Thanks in advance. Bob.

vasa1
February 23rd, 2018, 06:34 PM
Seems we have at least one user reporting better results with adding a PPA source. ...
Add me to the list although I've done so in a VM running 18.04.

1fallen
February 23rd, 2018, 06:45 PM
I will be gone for the weekend but back Monday.

Well have a great time of it then!


Can we continue this at that time?

I'll be around when you return. ;) Hoping to see this [SOLVED]
@vasa1 thanks so much for your added support and suggestions.
Best Regards

bob brazie
February 26th, 2018, 06:27 PM
So I ran:

sudo apt remove --purge libreoffice*
sudo add-apt-repository ppa:libreoffice/ppa
sudo apt update
sudo apt upgrade

Now I need to re-install libreoffice?

1fallen
February 26th, 2018, 10:08 PM
So I ran:

sudo apt remove --purge libreoffice*
sudo add-apt-repository ppa:libreoffice/ppa
sudo apt update
sudo apt upgrade

Now I need to re-install libreoffice?

Yes that's correct!

bob brazie
February 26th, 2018, 10:34 PM
Since I did an update and upgrade earlier what is the terminal input to install libreoffice again?
Hopefully this will solve that problem. <g>
Thanks in advance.

1fallen
February 26th, 2018, 11:04 PM
Just like we uninstalled it. (Except Different ;))

sudo apt install libreoffice
And Yes Hopefully it will Solve It. :)
If not we have one more trick to try.

bob brazie
February 27th, 2018, 12:27 AM
Thanks lots! That seems to have worked. Re-booted and it is still working!!
Out of curiosity what is the one final trick we could have tried>

1fallen
February 27th, 2018, 12:38 AM
Thanks lots! That seems to have worked. Re-booted and it is still working!!
Out of curiosity what is the one final trick we could have tried>
It seems that apparmor was causing the mess in the first place and the upgrade to LibreOffice 6 has the new working apparmor profiles.
But Congrats on being a libreoffice user again...WOOT! :D
The other workaround which I don't like to mention now is telling apparmor to ignore the profiles, and that's not good. ;) (Safety above All)
If your still curious just PM me, as I don't want the code to be executed with no good reason to... by future visitors. (Hope that makes sense)
Best Regards

bob brazie
February 27th, 2018, 01:13 AM
Thanks again. I think we will leave at that as you suggest.
Have a great week!
Bob.