Wilders Security Forums  

Go Back   Wilders Security Forums > Software, Hardware and General Services > all things UNIX
User Name
Password
Register FAQ Members List Calendar Search Today's Posts Mark Forums Read

 
 
Thread Tools Search this Thread
  #1  
Old May 19th, 2009, 06:29 AM
Arup
 
Posts: n/a
Thumbs up Upgrade to Open Office 3.1 the easy way in Ubuntu

Thanks to dougfractal's post on softpedia copy the script below in a terminal, enter your password, type yes to all the prompts and you are all set to get OO 3.1

echo -e 'echo "#PPA openoffice-pkgs
deb http://ppa.launchpad.net/openoffice-pkgs/ppa/ubuntu $(lsb_release -sc) main" | sudo tee -a /etc/apt/sources.list.d/ppa.list

gpg --keyserver keyserver.ubuntu.com --recv 247d1cff
gpg --export --armor 247d1cff | sudo apt-key add -

sudo apt-get update

sudo aptitude -y safe-upgrade
sudo aptitude -y dist-upgrade
' > ./oooupgrade.sh
sudo sh ./oooupgrade.sh && rm ./oooupgrade.sh
  #2  
Old May 19th, 2009, 06:50 AM
Eice's Avatar
Eice Eice is offline
Frequent Poster
 
Join Date: Jan 2009
Posts: 740
Default Re: Upgrade to Open Office 3.1 the easy way in Ubuntu

Since we're on the subject...

Does anyone know how to upgrade to OOo 3.1 using the DEB packages provided for download at the OOo website? I prefer to be able to save the installers to disk for later reinstall, if possible.

Thanks.
__________________
Google Chrome: "We didn't bundle a browser with our OS, we bundled an OS with our browser!"
  #3  
Old May 19th, 2009, 07:45 AM
Arup
 
Posts: n/a
Default Re: Upgrade to Open Office 3.1 the easy way in Ubuntu

Quote:
Originally Posted by Eice
Since we're on the subject...

Does anyone know how to upgrade to OOo 3.1 using the DEB packages provided for download at the OOo website? I prefer to be able to save the installers to disk for later reinstall, if possible.

Thanks.


Deb packages are not compiled for Ubuntu specifically so you need to remove existing OO and then go into the extracted OO 3.1 folder and do a sudo dpkg -i* You also need to go into the desktop-integration sub folder and do a sudo dpkg -i to get the OO icons on your applications>office list.
  #4  
Old May 19th, 2009, 07:55 AM
Eice's Avatar
Eice Eice is offline
Frequent Poster
 
Join Date: Jan 2009
Posts: 740
Default Re: Upgrade to Open Office 3.1 the easy way in Ubuntu

Quote:
Originally Posted by Arup
You also need to go into the desktop-integration sub folder and do a sudo dpkg -i to get the OO icons on your applications>office list.
Aha. That was what I didn't do.

Will try this later tonight. Thanks.
__________________
Google Chrome: "We didn't bundle a browser with our OS, we bundled an OS with our browser!"
  #5  
Old May 19th, 2009, 09:12 AM
Nick Rhodes's Avatar
Nick Rhodes Nick Rhodes is offline
Very Frequent Poster
 
Join Date: Jun 2003
Location: West Yorkshire, UK
Posts: 1,127
Default Re: Upgrade to Open Office 3.1 the easy way in Ubuntu

I read somewhere, that it can be less hassle to do a full uninstall the existing OOO, then install from the PPA, not needing to run the upgrade scripts then.

Not knowing where this info is from, why the need for a dist-upgrade ?, if needed suggests updating libraries and/or adding and removing package, which may cause breakages (as with any dist-upgrade), in otherwords beware when running the above !
  #6  
Old May 19th, 2009, 09:54 AM
Arup
 
Posts: n/a
Default Re: Upgrade to Open Office 3.1 the easy way in Ubuntu

Done on two machines, no breakages here and ubuntu-desktop remains, in case of removing OO, ubuntu-desktop gets removed. The dist upgrade is because OO3 needs new libraries.
  #7  
Old May 19th, 2009, 10:03 AM
Nick Rhodes's Avatar
Nick Rhodes Nick Rhodes is offline
Very Frequent Poster
 
Join Date: Jun 2003
Location: West Yorkshire, UK
Posts: 1,127
Default Re: Upgrade to Open Office 3.1 the easy way in Ubuntu

Quote:
Originally Posted by Arup
Done on two machines, no breakages here and ubuntu-desktop remains, in case of removing OO, ubuntu-desktop gets removed. The dist upgrade is because OO3 needs new libraries.

Cheers, I will installing it later
  #8  
Old May 19th, 2009, 10:12 AM
Arup
 
Posts: n/a
Default Re: Upgrade to Open Office 3.1 the easy way in Ubuntu

Quote:
Originally Posted by N1ckR
Cheers, I will installing it later


After that just install oo package for evolution in case you use evolution with OO.
  #9  
Old May 19th, 2009, 11:21 AM
Eice's Avatar
Eice Eice is offline
Frequent Poster
 
Join Date: Jan 2009
Posts: 740
Default Re: Upgrade to Open Office 3.1 the easy way in Ubuntu

It just occurred to me that before I go ahead with zapping OOo 3.0 using Synaptic and installing 3.1 from the .deb packages, I probably should make a post asking if anyone's done this successfully.

From personal experience, the number of breakages that happen when updating software in Linux can be ridiculously high...
__________________
Google Chrome: "We didn't bundle a browser with our OS, we bundled an OS with our browser!"
  #10  
Old May 19th, 2009, 11:52 AM
Arup
 
Posts: n/a
Default Re: Upgrade to Open Office 3.1 the easy way in Ubuntu

You won't break anything that way either, just that you won't get any OO related updates as Ubuntu makes their updates available to their version of OO.
  #11  
Old May 19th, 2009, 12:01 PM
lewmur lewmur is offline
Frequent Poster
 
Join Date: Dec 2008
Posts: 332
Default Re: Upgrade to Open Office 3.1 the easy way in Ubuntu

Quote:
Originally Posted by Eice
It just occurred to me that before I go ahead with zapping OOo 3.0 using Synaptic and installing 3.1 from the .deb packages, I probably should make a post asking if anyone's done this successfully.

From personal experience, the number of breakages that happen when updating software in Linux can be ridiculously high...
Here we go again. Another dig at Linux disguised as plea for help. If you don't want to deal with breakage, don't attempt "bleeding edge" upgrades. If you wait for Ubuntu to release 3.1, you won't have any breakage.
  #12  
Old May 19th, 2009, 12:04 PM
Eice's Avatar
Eice Eice is offline
Frequent Poster
 
Join Date: Jan 2009
Posts: 740
Default Re: Upgrade to Open Office 3.1 the easy way in Ubuntu

Quote:
Originally Posted by Arup
You won't break anything that way either, just that you won't get any OO related updates as Ubuntu makes their updates available to their version of OO.
Thanks. I intend to keep up with updates via .debs instead of the repos anyway, so this shouldn't be a problem.
__________________
Google Chrome: "We didn't bundle a browser with our OS, we bundled an OS with our browser!"
  #13  
Old May 19th, 2009, 12:24 PM
Nick Rhodes's Avatar
Nick Rhodes Nick Rhodes is offline
Very Frequent Poster
 
Join Date: Jun 2003
Location: West Yorkshire, UK
Posts: 1,127
Default Re: Upgrade to Open Office 3.1 the easy way in Ubuntu

I got this error :

gpg --keyserver keyserver.ubuntu.com --recv 247d1cff
gpg: requesting key 247D1CFF from hkp server keyserver.ubuntu.com
gpg: can't open `/home/nick/.gnupg/pubring.gpg'
gpg: keydb_get_keyblock failed: eof
gpg: no writable keyring found: eof
gpg: error reading `[stream]': general error
gpg: Total number processed: 0

Correct way to import the key (from https://help.launchpad.net/Packaging...20repositories) is

sudo apt-key adv --recv-keys --keyserver keyserver.ubuntu.com 0xd2bb86e0ebd0f0a43d4db3a760d11217247d1cff

Last edited by Nick Rhodes : May 19th, 2009 at 12:29 PM.
  #14  
Old May 19th, 2009, 12:29 PM
Eice's Avatar
Eice Eice is offline
Frequent Poster
 
Join Date: Jan 2009
Posts: 740
Default Re: Upgrade to Open Office 3.1 the easy way in Ubuntu

Quote:
Originally Posted by N1ckR
I got this error :

gpg --keyserver keyserver.ubuntu.com --recv 247d1cff
gpg: requesting key 247D1CFF from hkp server keyserver.ubuntu.com
gpg: can't open `/home/nick/.gnupg/pubring.gpg'
gpg: keydb_get_keyblock failed: eof
gpg: no writable keyring found: eof
gpg: error reading `[stream]': general error
gpg: Total number processed: 0
I grabbed the PGP key off the PPA site itself (https://launchpad.net/~openoffice-pkgs/+archive/ppa). You might want to see if this works for you.
__________________
Google Chrome: "We didn't bundle a browser with our OS, we bundled an OS with our browser!"
  #15  
Old May 19th, 2009, 01:10 PM
tlu's Avatar
tlu tlu is offline
Very Frequent Poster
 
Join Date: Sep 2004
Posts: 1,053
Default Re: Upgrade to Open Office 3.1 the easy way in Ubuntu

Quote:
Originally Posted by Eice
It just occurred to me that before I go ahead with zapping OOo 3.0 using Synaptic and installing 3.1 from the .deb packages, I probably should make a post asking if anyone's done this successfully.


I upgraded to 3.1 via the ppa without any problems a few days ago.

Quote:
From personal experience, the number of breakages that happen when updating software in Linux can be ridiculously high...

I don't know what you're doing. That doesn't happen to me.
__________________
Greetings, Thomas
  #16  
Old May 19th, 2009, 02:51 PM
Riverrun Riverrun is offline
Frequent Poster
 
Join Date: Feb 2007
Location: ~
Posts: 370
Default Re: Upgrade to Open Office 3.1 the easy way in Ubuntu

Doesn't happen to me either. Once in two years of heavy usage I've had a package break.

Just updated OO in seven minutes.

N1ckR's key worked a treat.

Nice work
  #17  
Old May 19th, 2009, 09:01 PM
Arup
 
Posts: n/a
Default Re: Upgrade to Open Office 3.1 the easy way in Ubuntu

Quote:
Originally Posted by lewmur
Here we go again. Another dig at Linux disguised as plea for help. If you don't want to deal with breakage, don't attempt "bleeding edge" upgrades. If you wait for Ubuntu to release 3.1, you won't have any breakage.


True, OO3.1 isn't an quintessential upgrade apart from few added features like anti aliasing and better drag n drop for images. For 3.1 to make it to the repos you have to wait for Karmic as Jaunty has a feautre freeze.

The ppa accounts are from Cannonical and therfore its not that some shady guy adding patches on the fly. Therefore they are pretty safe to use as is files from getdeb.net
 

Wilders Security Forums > Software, Hardware and General Services > all things UNIX « Previous Thread | Next Thread »

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Settings
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -5. The time now is 01:13 PM.


Powered by vBulletin® Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
Copyright ©2002 - 2010, Wilders Security Forums