You are not logged in.
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
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
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
Thank you,Mr.Earl Grey! but I failed,sorry.
Offline
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
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
Just use rm:
sudo rm -f /etc/apt/sources.list.d/libreoffice*
Offline
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
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
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
^ 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
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
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
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
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
Please post the full output of:
sudo apt-get install -t jessie-backports libreoffice
Offline
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
@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
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
thank you @nobody!
(nobody san, doumo arigatou gozaimasu!)
i got "breeze"
thank you so much!
Offline