Upgrading to LibreOffice 4.2.2 on Ubuntu 10.4

Hi All, I'm trying to upgrade my LibreOffice from 4.0.2.2 to 4.2.2, on my Ubuntu 10.4 Desktop. (Yes, yes, I'll upgrade to Ubuntu 14.4 as soon as I get more powerful hardware and it comes out stable in April.) I followed the instructions here, which seems the most authoritative (it said nothing about upgrading, just installing):
https://wiki.ubuntu.com/LibreOffice#Installing_a_newer_version_of_LibreOffic...
(I followed the steps in the above-cited section, as normal Synaptic updates stopped a long time ago on my system.) But when I executed this command... sudo apt-get update ...I got (among others) this message: W: Failed to fetch http://ppa.launchpad.net/libreoffice/libreoffice-4-2/ubuntu/dists/lucid/main... 404 Not Found So am I correct in assuming that I can't upgrade LibreOffice to 4.2.2 on my Ubuntu Lucid? Thanks very much, Carl Turney Bayswater

Carl Turney <carl@boms.com.au> writes:
So am I correct in assuming that I can't upgrade LibreOffice to 4.2.2 on my Ubuntu Lucid?
The short answer is: you're correct. You can provided you're prepared to go through an unreasonable amount of pain. I can't be bothered describing the steps one takes, but LO4 is big and hairy enough that you probably can't do it before going insane.

Hi All, Trent, you're right. About an hour later I saw a web page where a developer mentioned that too. Too late, my question to LUV was already out there. So now playing around with Ubuntu 12.04 on a spare drive, waiting for 14.04.0 to come out in a few weeks. Would prefer to wait until 14.04.1 to come out in August, but just can't hold on that long. Cheers, Carl On 28/03/14 17:18, Trent W. Buck wrote:
Carl Turney <carl@boms.com.au> writes:
So am I correct in assuming that I can't upgrade LibreOffice to 4.2.2 on my Ubuntu Lucid?
The short answer is: you're correct.
You can provided you're prepared to go through an unreasonable amount of pain. I can't be bothered describing the steps one takes, but LO4 is big and hairy enough that you probably can't do it before going insane.
_______________________________________________ luv-main mailing list luv-main@luv.asn.au http://lists.luv.asn.au/listinfo/luv-main

Hello Carl, On Fri, 2014-03-28 at 13:28 +1100, Carl Turney wrote:
Hi All,
I'm trying to upgrade my LibreOffice from 4.0.2.2 to 4.2.2, on my Ubuntu 10.4 Desktop.
(Yes, yes, I'll upgrade to Ubuntu 14.4 as soon as I get more powerful hardware and it comes out stable in April.)
Been there, done that, not exactly, but similar. This is an even older Ubuntu (8.04 Hardy Heron) when I did some major upgrading. It was necessary to hand edit the repositories as they do archive the older ones, but not where they were. I managed to update what I had, then dist-upgrade, then repeat. I did about four or five releases that way in a short time period, with significant amounts by dial up access, repeated ten hour connection sessions. This IBM A20m Thinkpad still works, but effectively EOL for software upgrades and a few other issues.
I followed the instructions here, which seems the most authoritative (it said nothing about upgrading, just installing):
https://wiki.ubuntu.com/LibreOffice#Installing_a_newer_version_of_LibreOffic...
(I followed the steps in the above-cited section, as normal Synaptic updates stopped a long time ago on my system.)
But when I executed this command... sudo apt-get update ...I got (among others) this message:
W: Failed to fetch http://ppa.launchpad.net/libreoffice/libreoffice-4-2/ubuntu/dists/lucid/main... 404 Not Found
The repository will be around, but at a different URI. They move the obsolete stuff to a different site. I do not have the details to hand at the moment, not certain whether I retained from my previously mentioned efforts. A lot of this is why I am migrating to Debian, but need to put together my next good desktop PC, but income is an issue.
So am I correct in assuming that I can't upgrade LibreOffice to 4.2.2 on my Ubuntu Lucid?
Not impossible, not necessarily all that difficult, but quite a trail to get there, and if the HW specs of the PC prevent a later release, then I would strongly suggest wait till newer PC.
Thanks very much,
Carl Turney Bayswater
Regards, Mark Trickett

On 28/03/14 13:28, Carl Turney wrote:
Hi All,
I'm trying to upgrade my LibreOffice from 4.0.2.2 to 4.2.2, on my Ubuntu 10.4 Desktop. ...
Umm, I come from the world of rpms but the principle is the same: Download the .debs from LibreOffice (in tar'd and zip'd form) unpack them and use whatever command it is to do the install. Not synaptic - it might be possible to point it at local stuff but I have no idea how. Use the command line utility - apt-install or something like that.

Hello Alan, On Sat, 2014-03-29 at 22:30 +1100, Allan Duncan wrote:
On 28/03/14 13:28, Carl Turney wrote:
Hi All,
I'm trying to upgrade my LibreOffice from 4.0.2.2 to 4.2.2, on my Ubuntu 10.4 Desktop. ...
Umm, I come from the world of rpms but the principle is the same:
Download the .debs from LibreOffice (in tar'd and zip'd form) unpack them and use whatever command it is to do the install. Not synaptic - it might be possible to point it at local stuff but I have no idea how. Use the command line utility - apt-install or something like that.
No need to unpack, and putting in the right directory, apt-get will just find and unpack, although I think that there are also ways to tell it to just look locally. The .deb is an archive anyway. Much the same is also true of an .rpm, one archive file, compressed I seem to remember, with everything included. The .deb will also include preinstall and postinstall scripts, along with similar for the uninstall if required. The inclusion and effectiveness is almost fascist in the way they are required, and required to actually work, to the benefit of the user. Regards, Mark Trickett

On 29/03/14 23:18, Mark Trickett wrote:
Hello Alan,
On Sat, 2014-03-29 at 22:30 +1100, Allan Duncan wrote:
On 28/03/14 13:28, Carl Turney wrote:
Hi All,
I'm trying to upgrade my LibreOffice from 4.0.2.2 to 4.2.2, on my Ubuntu 10.4 Desktop. ...
Umm, I come from the world of rpms but the principle is the same:
Download the .debs from LibreOffice (in tar'd and zip'd form) unpack them and use whatever command it is to do the install. Not synaptic - it might be possible to point it at local stuff but I have no idea how. Use the command line utility - apt-install or something like that.
No need to unpack, and putting in the right directory, apt-get will just find and unpack, although I think that there are also ways to tell it to just look locally. The .deb is an archive anyway. Much the same is also true of an .rpm, one archive file, compressed I seem to remember, with everything included. The .deb will also include preinstall and postinstall scripts, along with similar for the uninstall if required. The inclusion and effectiveness is almost fascist in the way they are required, and required to actually work, to the benefit of the user.
No, the files from LibreOffice are tars of a stack of .deb's or .rpm's. I don't know if there is a front end for apt-* to handle that. With the rpm version I spend a little time to unpack the three tars (main, help and language) into a single directory, delete three rpms that don't apply to me, then point rpm at them and it does all its magic and I have the latest edition long before Redhat has gone through its tweaking and validation process. I _ought to_ make a script to do it, but...

Allan Duncan <amd2345@fastmail.com.au> writes:
On 28/03/14 13:28, Carl Turney wrote:
Hi All,
I'm trying to upgrade my LibreOffice from 4.0.2.2 to 4.2.2, on my Ubuntu 10.4 Desktop. ...
Umm, I come from the world of rpms but the principle is the same:
Download the .debs from LibreOffice (in tar'd and zip'd form) unpack them and use whatever command it is to do the install. Not synaptic - it might be possible to point it at local stuff but I have no idea how. Use the command line utility - apt-install or something like that.
Except that current binary packages (.deb) will be built against current library soversions. On an old release the versions will probably be too old, or not present at all. It's possible to finesse such things, but the difficulty is proportional to the size/complexity of the package, and how far you need to backport it. For the OP's goal, both are significant. There may also be backport & ppa repos; can't see any of the former for LO4 on lucid: bash4$ rmadison -udebian,ubuntu -asource libreoffice debian: libreoffice | 1:3.3.2-2~bpo60+1 | squeeze-backports | source libreoffice | 1:3.3.3-4~bpo60+1 | squeeze-backports | source libreoffice | 1:3.4.3-3~bpo60+1 | squeeze-backports | source libreoffice | 1:3.5.4-7~bpo60+1 | squeeze-backports | source libreoffice | 1:3.5.4+dfsg-3~bpo60+2 | squeeze-backports | source libreoffice | 1:3.5.4+dfsg2-0+deb7u2 | wheezy | source libreoffice | 1:4.0.3-2~bpo70+1 | wheezy-backports | source libreoffice | 1:4.1.2-2~bpo70+1 | wheezy-backports | source libreoffice | 1:4.1.4-2~bpo70+1 | wheezy-backports | source libreoffice | 1:4.1.5-2 | jessie | source libreoffice | 1:4.1.5-2 | sid | source libreoffice | 1:4.2.2~rc1-1 | experimental | source ubuntu: libreoffice | 1:3.5.2-2ubuntu1 | precise | source libreoffice | 1:3.5.4-0ubuntu1.1 | precise-security | source libreoffice | 1:3.5.7-0ubuntu5 | precise-updates | source libreoffice | 1:3.6.2~rc2-0ubuntu3 | quantal | source libreoffice | 1:3.6.2~rc2-0ubuntu4 | quantal-updates | source libreoffice | 1:4.1.2~rc3-0ubuntu1 | saucy | source libreoffice | 1:4.1.3-0ubuntu1 | saucy-updates | source libreoffice | 1:4.2.3~rc2-0ubuntu1 | trusty | source

On 31/03/14 14:16, Trent W. Buck wrote:
Allan Duncan <amd2345@fastmail.com.au> writes:
On 28/03/14 13:28, Carl Turney wrote:
Hi All,
I'm trying to upgrade my LibreOffice from 4.0.2.2 to 4.2.2, on my Ubuntu 10.4 Desktop. ...
Umm, I come from the world of rpms but the principle is the same:
Download the .debs from LibreOffice (in tar'd and zip'd form) unpack them and use whatever command it is to do the install. Not synaptic - it might be possible to point it at local stuff but I have no idea how. Use the command line utility - apt-install or something like that.
Except that current binary packages (.deb) will be built against current library soversions. On an old release the versions will probably be too old, or not present at all.
This is not the case if the package is statically linked, as it is in this case. Note that this only applies to the files on the LibreOffice site, not for a Debian sourced distro. The various distros recompile the sources to fit their particlular want, and usually use dynamic linking to cut the size of the binary. The same thing applies to firefox etc.. Btw, ".so" means Shared Object.

Allan Duncan <amd2345@fastmail.com.au> writes:
Download the .debs from LibreOffice [...] Except that current binary packages (.deb) will be built against current library soversions. [...]
This is not the case if the package is statically linked, as it is in this case. Note that this only applies to the files on the LibreOffice site, not for a Debian sourced distro.
Hm, OK. I was (foolishly) assuming that upstream's debs would follow Debian conventions, where static linking is frowned upon (except in areas like ocaml & haskell, sigh.) IME glibc doesn't like static linking if your build and runtime hosts are more than a couple of years different in age. IIRC I built darcs (w/o libcurl) on Debian testing (ca. 2009/2010) to run on CentOS4 (2005-), and glibc just said "built against too new a glibc, piss off." Nearer stuff Just Worked on the very rare occasions I've done it. YMMV, good luck &c.

libreoffice is a shell script, although ldd reports it is a static binary. soffice.bin (the mainline) is a regular dynamically linked ELF program. There is a Slackbuild for 4.2.1 which I'm about to try upgrading to 4.2.2. It downloads the rpms and repackages them as tgz. The rpms are conveniently tarred up together: http://download.documentfoundation.org/libreoffice/stable/4.2.2/rpm/x86/Libr... http://download.documentfoundation.org/libreoffice/stable/4.2.2/rpm/x86/Libr... http://download.documentfoundation.org/libreoffice/stable/4.2.2/rpm/x86/Libr... There may be debs - you would have to try Cheers ... Duncan. On Tue, Apr 01, 2014 at 07:20:24PM +1100, Trent W. Buck wrote:
Allan Duncan <amd2345@fastmail.com.au> writes:
Download the .debs from LibreOffice [...] Except that current binary packages (.deb) will be built against current library soversions. [...]
This is not the case if the package is statically linked, as it is in this case. Note that this only applies to the files on the LibreOffice site, not for a Debian sourced distro.
Hm, OK. I was (foolishly) assuming that upstream's debs would follow Debian conventions, where static linking is frowned upon (except in areas like ocaml & haskell, sigh.)
IME glibc doesn't like static linking if your build and runtime hosts are more than a couple of years different in age. IIRC I built darcs (w/o libcurl) on Debian testing (ca. 2009/2010) to run on CentOS4 (2005-), and glibc just said "built against too new a glibc, piss off." Nearer stuff Just Worked on the very rare occasions I've done it.
YMMV, good luck &c.
_______________________________________________ luv-main mailing list luv-main@luv.asn.au http://lists.luv.asn.au/listinfo/luv-main
-- Please avoid sending me Word or PowerPoint attachments. See http://www.gnu.org/philosophy/no-word-attachments.html
participants (5)
-
Allan Duncan
-
Carl Turney
-
Duncan Roe
-
Mark Trickett
-
trentbuck@gmail.com