You are not logged in.

#1 2016-03-04 13:06:41

bayou
Member
Registered: 2016-01-28
Posts: 23

[SOLVED] how to upgrade libreoffice?

hi,konnichiwa!(from japan)
i want to upgrade libreoffice,up to ver.5, so i wrote the following commands on terminal,
but i couldn't get it.
sudo add-apt-repository ppa:libreoffice/ppa
sudo apt-get update
sudo apt-get dist-upgrade
someone please show me how to get it.
(sorry for my poor english)

Offline

#2 2016-03-04 13:26:32

nobody
The Great
Registered: 2015-08-10
Posts: 3,655

Re: [SOLVED] how to upgrade libreoffice?

PPAs are only for Ubuntu.

On Debian and BL, which is built on top of Debian, you can get libreoffice 5 from the jessie-backports repository.

There is an easy way on BL to enable the backports repository. First, make sure that your system is up-to-date:

sudo apt-get update && sudo apt-get upgrade

Run

bl-welcome

Navigate the questions until you arrive at a screen titled "Debian Backports". Say yes to enabling the backports repository. Subsequently,

sudo apt-get update && sudo apt-get -t jessie-backports install libreoffice

will install libreoffice 5.0.5 for you.

Offline

#3 2016-03-06 01:54:10

bayou
Member
Registered: 2016-01-28
Posts: 23

Re: [SOLVED] how to upgrade libreoffice?

run bl-welcome, the following messages appeared.

--------
 There were problems during the update.
  
  Press "d" for details (q to quit) d


W: Failed to fetch http://ppa.launchpad.net/libreoffice/ppa/ubuntu/dists/bunsen-hydrogen/main/binary-amd64/Packages 404  Not Found

E: Some index files failed to download. They have been ignored, or old ones used instead.
  
  Would you like to quit now, or continue anyway?
  (Be careful!)
  Press "q" to quit, "c" to continue:

---------

then i pressed"c" to continue, and it looks successfully finished,
libreoffice on BL has not be upgraded to ver.5.

Mod Note: Please use code tags when posting terminal output.
-HoaS

Offline

#4 2016-03-06 01:57:24

bayou
Member
Registered: 2016-01-28
Posts: 23

Re: [SOLVED] how to upgrade libreoffice?

Thank you,Mr.Earl Grey! but I failed,sorry.

Offline

#5 2016-03-06 02:00:37

Head_on_a_Stick
Member
From: London
Registered: 2015-09-29
Posts: 9,093
Website

Re: [SOLVED] how to upgrade libreoffice?

bayou wrote:
W: Failed to fetch http://ppa.launchpad.net/libreoffice/ppa/ubuntu/dists/bunsen-hydrogen/main/binary-amd64/Packages 404  Not Found

You need to remove the PPA file in /etc/apt/sources.list.d/

Then run `sudo apt update` and try `bl-welcome` again.

Offline

#6 2016-03-06 07:45:00

bayou
Member
Registered: 2016-01-28
Posts: 23

Re: [SOLVED] how to upgrade libreoffice?

thank you very much!
i found two PPA-files in  /etc/apt/sources.list.d/.
"libreoffice-ppa-bunsenlabs-hydrogen.list"
"libreoffice-ppa-bunsenlabs-hydrogen.list.save"
so i tried to remove them,but i couldn't.
i tried
"sudo add-apt-repository --remove ppa:bunsenlabs-hydrogen/ppa"
"sudo add-apt-repository --remove ppa:libreoffice-ppa-bunsenlabs-hydrogen"
"sudo ppa-purge ppa:......"and so on,
but i couldn't get it.

would you please show me how to remove them?

Offline

#7 2016-03-06 08:06:23

nobody
The Great
Registered: 2015-08-10
Posts: 3,655

Re: [SOLVED] how to upgrade libreoffice?

Just use rm:

sudo rm -f /etc/apt/sources.list.d/libreoffice*

Offline

#8 2016-03-06 08:54:45

bayou
Member
Registered: 2016-01-28
Posts: 23

Re: [SOLVED] how to upgrade libreoffice?

thank you, mr.nobody!
i just removed ppa files---
"libreoffice-ppa-bunsenlabs-hydrogen.list"
"libreoffice-ppa-bunsenlabs-hydrogen.list.save"
---
then i runned `sudo apt update` and try `bl-welcome` again,
and 'sudo apt-get update && sudo apt-get -t jessie-backports install libreoffice'.
but libreoffice on BL is not upgraded even now.

i guess i had some mistakes.
i am verry sorry for that.

Offline

#9 2016-03-06 09:03:59

damo
....moderator....
Registered: 2015-08-20
Posts: 6,734

Re: [SOLVED] how to upgrade libreoffice?

Did you add the backports repository first? There is an option in `bl-welcome` to do this.

You should have `/etc/apt/sources.list.d/debian-jessie-backports.list`, which has the lines

deb http://ftp.uk.debian.org/debian jessie-backports main

Create this file if you don't have it, then do

sudo apt-get update && sudo apt-get upgrade && sudo apt-get -t jessie-backports install libreoffice

Be Excellent to Each Other...
The Bunsenlabs Lithium Desktop » Here
FORUM RULES and posting guidelines «» Help page for forum post formatting
Artwork on DeviantArt  «» BunsenLabs on DeviantArt

Offline

#10 2016-03-06 09:40:28

dhalgren
Member
Registered: 2015-10-01
Posts: 152

Re: [SOLVED] how to upgrade libreoffice?

The suggested method didn't work for me either. But, after updating and upgrading, the following worked

sudo apt-get -t jessie-backports install libreoffice

Which is the way I would have thought was the way to do it.
So, @bayou, try it this way.

Offline

#11 2016-03-06 09:55:01

damo
....moderator....
Registered: 2015-08-20
Posts: 6,734

Re: [SOLVED] how to upgrade libreoffice?

^ But without the backports repository enabled, that command won't work


Be Excellent to Each Other...
The Bunsenlabs Lithium Desktop » Here
FORUM RULES and posting guidelines «» Help page for forum post formatting
Artwork on DeviantArt  «» BunsenLabs on DeviantArt

Offline

#12 2016-03-06 10:01:50

Martin
Member
From: Stockholm, Sweden
Registered: 2015-10-01
Posts: 800
Website

Re: [SOLVED] how to upgrade libreoffice?

Or simply uninstall the Debian version of LO and download the latest version from LO's web and install it instead.

/Martin


"Problems worthy of attack
prove their worth by hitting back."
Piet Hein

Offline

#13 2016-03-06 10:26:23

bayou
Member
Registered: 2016-01-28
Posts: 23

Re: [SOLVED] how to upgrade libreoffice?

thank you,@dhalgren.
i tried,but i couldn't get it.

thank you,@martin.
i tried,but i couldn't get it.

thank you,@damo.
i don't know how to add the backports repository.
sorry for my poor computer-skill.

thank you everyone.
thank you very much.

Offline

#14 2016-03-06 10:32:18

Head_on_a_Stick
Member
From: London
Registered: 2015-09-29
Posts: 9,093
Website

Re: [SOLVED] how to upgrade libreoffice?

bayou wrote:

i don't know how to add the backports repository

Open a terminal and use these commands:

sudo -i
echo "deb http://httpredir.debian.org/debian jessie-backports main contrib non-free" >> /etc/apt/sources.list
apt update
apt install libreoffice/jessie-backports
exit

If it still doesn't work, please post the output of:

grep -v '^#\|^$' /etc/apt/sources.list{,.d/*};apt-cache policy libreoffice

Offline

#15 2016-03-06 11:02:11

bayou
Member
Registered: 2016-01-28
Posts: 23

Re: [SOLVED] how to upgrade libreoffice?

thank you,@Head_on_a_Stick.
i tried,butit doesn't work.

root@*****:~# grep -v '^#\|^$' /etc/apt/sources.list{,.d/*};apt-cache policy libreoffice
/etc/apt/sources.list:deb [url]http://ftp.jp.debian.org/debian/[/url] jessie main contrib non-free
/etc/apt/sources.list:deb [url]http://security.debian.org/[/url] jessie/updates main contrib non-free
/etc/apt/sources.list:deb [url]http://ftp.jp.debian.org/debian/[/url] jessie-updates main contrib non-free
/etc/apt/sources.list:deb [url]http://httpredir.debian.org/debian[/url] jessie-backports main contrib non-free
/etc/apt/sources.list.d/bunsen-jessie-backports.list:deb [url]http://pkg.bunsenlabs.org/debian[/url] jessie-backports main
/etc/apt/sources.list.d/bunsen-jessie-backports.list.save:deb [url]http://pkg.bunsenlabs.org/debian[/url] jessie-backports main
/etc/apt/sources.list.d/bunsen.list:deb [url]http://pkg.bunsenlabs.org/debian[/url] bunsen-hydrogen main
/etc/apt/sources.list.d/bunsen.list.save:deb [url]http://pkg.bunsenlabs.org/debian[/url] bunsen-hydrogen main
/etc/apt/sources.list.d/google-chrome.list:deb [url]http://dl.google.com/linux/chrome/deb/[/url] stable main
/etc/apt/sources.list.d/google-chrome.list.save:deb [url]http://dl.google.com/linux/chrome/deb/[/url] stable main
libreoffice:
  インストールされているバージョン: 1:4.3.3-2+deb8u3
  候補:               1:4.3.3-2+deb8u3
  バージョンテーブル:
     1:5.0.5~rc2-1~bpo8+2 0
        100 [url]http://httpredir.debian.org/debian/[/url] jessie-backports/main amd64 Packages
 *** 1:4.3.3-2+deb8u3 0
        500 [url]http://security.debian.org/[/url] jessie/updates/main amd64 Packages
        100 /var/lib/dpkg/status
     1:4.3.3-2+deb8u2 0
        500 [url]http://ftp.jp.debian.org/debian/[/url] jessie/main amd64 Packages
root@*****:~#

Last edited by Head_on_a_Stick (2016-03-06 11:59:33)

Offline

#16 2016-03-06 11:14:33

Head_on_a_Stick
Member
From: London
Registered: 2015-09-29
Posts: 9,093
Website

Re: [SOLVED] how to upgrade libreoffice?

Please post the full output of:

sudo apt-get install -t jessie-backports libreoffice

Offline

#17 2016-03-06 11:26:55

bayou
Member
Registered: 2016-01-28
Posts: 23

Re: [SOLVED] how to upgrade libreoffice?

after that, i runned "bl-welcome","update", "upgrade" three times,
and "sudo apt-get -t jessie-backports install libreoffice",
finally libreoffice on BL has upgraded to ver.5!

thank you,everyone.
thank you so much!

but,icon style is only "Galaxy".
i can not find "Breeze"icon.

Offline

#18 2016-03-06 12:13:27

dhalgren
Member
Registered: 2015-10-01
Posts: 152

Re: [SOLVED] how to upgrade libreoffice?

@damo
yes, so true. But I had assumed that he had added backports by following your previous advice. But apparently he had not. None the less, I should have added that also.

I remember how confusing it all was for me, back almost twenty years ago, and I still forget to mention the obvious sometimes.

Offline

#19 2016-03-06 12:25:22

nobody
The Great
Registered: 2015-08-10
Posts: 3,655

Re: [SOLVED] how to upgrade libreoffice?

bayou wrote:

after that, i runned "bl-welcome","update", "upgrade" three times,
and "sudo apt-get -t jessie-backports install libreoffice",
finally libreoffice on BL has upgraded to ver.5!

thank you,everyone.
thank you so much!

but,icon style is only "Galaxy".
i can not find "Breeze"icon.

If you mean the LO theme, you can install it with:

sudo apt-get  -t jessie-backports install libreoffice-style-breeze

Offline

#20 2016-03-06 12:36:34

bayou
Member
Registered: 2016-01-28
Posts: 23

Re: [SOLVED] how to upgrade libreoffice?

thank you  @nobody!
(nobody san, doumo arigatou gozaimasu!)
i got "breeze"
thank you so much!

Offline

Board footer

Powered by FluxBB