You are viewing a single comment's thread.

view the rest of the comments →

0
2

[–] ninjai 0 points 2 points (+2|-0) ago  (edited ago)

Check this paste out

I'm not sure what the asterisks mean, or how to make it select that one instead. Do I need to uninstall the old one, then reinstall?

How do I flag it to get 5.0 instead?

0
4

[–] ReverendJ1 [S] 0 points 4 points (+4|-0) ago 

The asterisks just point out which version is installed. The numbers before the repo (500, 700) are the priority. It looks like Mint uses a higher priority (700, 500 is default) for it's repo. This means that it will use it's own repo, instead of the default behavour, which is whatever repo has the newest version. I don't use Mint, I use Ubuntu, but my guess is they do that just so they can be more specific about packages they use for Mint, versus the default Ubuntu repos. To work around this, you just need to set a higher priority for the LibreOffice PPA. Create a file called /etc/apt/preferences.d/libreoffice (i.e. sudo nano /etc/apt/preferences.d/libreoffice) with the following:

Package: *
Pin: release o=LP-PPA-libreoffice
Pin-Priority: 800

Now, that will tell apt to prefer the libreoffice PPA over the Mint one. Run "sudo apt-get update" to update apt, so it will see your changes.

Run "apt-cache policy libreoffice. It should now show that version 5.0 is the install candidate.

Run "sudo apt-get install libreoffice" to enjoy your fresh LibreOffice suite.

Here's some more information on apt pinning.

0
1

[–] ninjai 0 points 1 point (+1|-0) ago 

This was the correct solution, thank you!

So does this mean I'll have 2 versions installed now, or will the old ones simply be upgraded?

0
1

[–] beetusvoater 0 points 1 point (+1|-0) ago  (edited ago)

I had the same problem.

In case you are still struggling: open synaptic->settings->repositories->PPAs->Add a new PPA-> ppa:libreoffice/ppa

Once you update now and execute apt-cache madison libreoffice you will see the new packages.

Cliff: I added multiple ppas until now per cli, but this one didn't want to be added that way.

EDIT: This only solved the problem of not being able to add the repo to the list... For the solution look at OPs and my other replies, i.e.

https://voat.co/v/Linux/comments/378822/1583931

https://voat.co/v/Linux/comments/378822/1584111

0
1

[–] ReverendJ1 [S] 0 points 1 point (+1|-0) ago 

I wonder if Synaptic automagically fixes the pinning, and that's what's going on here.

0
1

[–] ninjai 0 points 1 point (+1|-0) ago 

I see the new packages but I don't know how to install them. I see 4.4 and 5.0 packages.