Author Topic: [SOLVED] Installing open office on PClinuxOS - new user  (Read 6290 times)

Online pinoc

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 2881
    • other projects...
Re: Installing open office on PClinuxOS - new user
« Reply #15 on: January 06, 2010, 01:24:06 AM »
Hi stevewr,
that sounds very weird. Need to do something else now but will post an alternative way to install OO in about an hour from now, so please stay tuned.
later,
-p.

Online pinoc

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 2881
    • other projects...
Re: Installing open office on PClinuxOS - new user
« Reply #16 on: January 06, 2010, 03:42:48 AM »
stevewr,

please try and follow exactly these steps, they assume that your Internet connection is working fine and that you can access the website mentioned before:
1) login into your user account and open a root konsole:
PCmenu -> System -> Terminals -> Terminal - Super User Mode
you will be asked for your root password, provide it and you should then see a red root prompt in the konsole, something like
Code: [Select]
[root@localhost ~]#
2) copy the entire set of commands below:
Code: [Select]
/bin/mv /etc/apt/sources.list /etc/apt/sources.list_old
echo "rpm http://gnustep.ethz.ch/mirror/pclinuxos/apt/ pclinuxos/2007 main extra nonfree kde" > /etc/apt/sources.list
echo "rpm ftp://ftp.nl.freebsd.org/pub/os/Linux/distr/texstar/openoffice/apt/ pclinuxos/2009 openoffice" >> /etc/apt/sources.list
apt-get update |tee /tmp/step1.log
apt-get dist-upgrade --fix-broken |tee /tmp/step2.log
dupeclean |tee /tmp/step3.log
synaptic
paste them into the root konsole after the red root prompt and press the enter key

3) Synaptic should now be open. In Synaptic, click on Search. A new window entitled Find will open. There in the Search field enter: task-openoffice3 and let Synaptic search for it. Synaptic will then show a list of different OO-localizations. Double-click the one you want (for example task-openoffice3-en_US for the default US-English version) and then click on Apply and Synaptic will install OpenOffice for you.

4) To have most features in OO you may also use Synaptic to install the packages java and webcore-fonts. After all is installed choose from the Synaptic menu: File -> Quit in order to exit Synaptic

5) Finally you reset your original repo-configuration by copy/paste the command below into the root konsole after the red root prompt and press the enter key:
Code: [Select]
/bin/mv -f /etc/apt/sources.list_old /etc/apt/sources.list
Please let me know if this worked and in case it didn't the reason for the problem could be found in one of the files /tmp/stepX.log which we then will have to see. But let's first assume it will work  ;)

good luck,
-p.

Online pinoc

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 2881
    • other projects...
Re: Installing open office on PClinuxOS - new user
« Reply #17 on: January 08, 2010, 02:10:24 AM »
stevewr,
thanks for sending me some feedback by PM. However, I will post my comments here in the forum so other people can use this information as well. Maybe we have a language problem, or a generic problem of understanding, or my instructions are not clear enough, so please can I ask you again to follow my instructions exactly as I post them and provide detailed feedback on any step that may go wrong. If you don't do that then I can not help you...
OK, based on your comments here again the detailed steps to install OpenOffice without using getopenoffice:

Step 1:
restart your computer, login into your user account and open a root konsole: PCmenu -> System -> Terminals -> Terminal - Super User Mode
you will be asked for your root password, provide it and you should then see a red root prompt in the konsole, you should get something looking like this:
Code: [Select]
[root@localhost ~]#just in red color.
Your comments suggest this worked, can you confirm this?

Step 2:
copy/paste the entire set of the following commands in this terminal and press the enter key:
Code: [Select]
/bin/mv /etc/apt/sources.list /etc/apt/sources.list_old
echo "rpm http://gnustep.ethz.ch/mirror/pclinuxos/apt/ pclinuxos/2007 main extra nonfree kde" > /etc/apt/sources.list
echo "rpm ftp://ftp.nl.freebsd.org/pub/os/Linux/distr/texstar/openoffice/apt/ pclinuxos/2009 openoffice" >> /etc/apt/sources.list
apt-get update |tee /tmp/step1.log
Your comments suggest that these commands succeeded without error message, can you confirm this?

Step 3:
copy/paste the following command in this terminal and press the enter key:
Code: [Select]
apt-get install dupecleanPlease let me know if this command succeeded or if you got any error messages here.

Step 4:
copy/paste the following command in this terminal and press the enter key:
Code: [Select]
apt-get dist-upgrade --fix-broken |tee /tmp/step4.logYour comments suggest that this command succeeded without error message, can you confirm this?

Step 5:
copy/paste the following command in this terminal and press the enter key:
Code: [Select]
dupecleanPlease let me know if this command succeeded or if you got any error messages here.

Step 6:
copy/paste the following command in this terminal and press the enter key:
Code: [Select]
apt-get install task-openoffice3-en_USThis command will automatically add all packages needed for the default US-English installation of OpenOffice.  Please let me know if this command succeeded or if you got any error messages here.

Step 7:
only if all previous 6 steps were successful then copy/paste the following command in this terminal and press the enter key:
Code: [Select]
/bin/mv -f /etc/apt/sources.list_old /etc/apt/sources.list
May I ask you again to exactly follow the steps above in the sequence they are listed. If you get an error message for any of these steps then do not proceed to the next step but post the last step and its error message here.

regards,
-pinoc

stevewr

  • Guest
Re: Installing open office on PClinuxOS - new user
« Reply #18 on: January 08, 2010, 08:23:11 AM »
Pinoc,

Step 1,2,3,4 and 5 appear to work and no error messages.  Step 6 appears to fail as follows

 apt-get install task-openoffice3-en_US
Reading Package Lists... Done
Building Dependency Tree... Done
E: Couldn't find package task-openoffice3-en_US

Hope this helps.  I have captured the full screen output of KONSOL if needed.

Many thanks Steve

Online pinoc

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 2881
    • other projects...
Re: Installing open office on PClinuxOS - new user
« Reply #19 on: January 08, 2010, 08:41:20 AM »
stevewr,
you are almost there, my mistake, sorry, the command in Step 6 should have been:
Code: [Select]
apt-get install task-openoffice3-en-US
after that you should have OO installed in US-English. If you need another OpenOffice version then you can add it via Synaptic.

let me know how things proceed.
regards,
-p.

stevewr

  • Guest
Re: Installing open office on PClinuxOS - new user
« Reply #20 on: January 08, 2010, 12:43:08 PM »
Hi Pinoc,

Step 6 generates the same type of error as using getopenoffice -  thats what I tried to say last time. see the last few lines.
0 upgraded, 51 newly installed, 0 removed and 0 not upgraded.

Need to get 145MB/177MB of archives.
After unpacking 447MB of additional disk space will be used.
Do you want to continue? [Y/n] Y
Get:1 ftp://ftp.nl.freebsd.org pclinuxos/2009/openoffice openoffice.org-ure 1.5.1-9420 [3130kB]
Err ftp://ftp.nl.freebsd.org pclinuxos/2009/openoffice openoffice.org-ure 1.5.1-9420
  Protocol corruption [IP: 192.87.102.42 21]

Thanks Steve

Online pinoc

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 2881
    • other projects...
Re: Installing open office on PClinuxOS - new user
« Reply #21 on: January 08, 2010, 03:02:21 PM »
stevewr,

holy crap, there must be some very bad magic going on.  Your network connection seems to have problems with ftp-servers. If you still get the same error with these commands then getopenoffice was in fact working fine.

Let's try to modify getopenoffice to not use a ftp- but a http-server:

a) Please open a root terminal (konsole) as explained in Step 1 before

b) copy/paste the entire set of the following commands into this root terminal and press the enter key:
Code: [Select]
echo "rpm http://gnustep.ethz.ch/mirror/pclinuxos/apt/ pclinuxos/2007 main extra nonfree kde" > /etc/apt/sources.list
cd /usr/bin
/bin/cp getopenoffice getopenoffice14
/bin/mv getopenoffice getopenofficeX
sed '431a OO_SERVER="0"' getopenofficeX > getopenoffice
chmod 755 getopenoffice
getopenoffice

c) you should now see the getopenoffice window and be able to install OpenOffice from a different server

d) once OO is installed please enter the following to reset your original Synaptic setup
Code: [Select]
/bin/mv -f /etc/apt/sources.list_old /etc/apt/sources.list
In case this hack still does not work I will download all required OO-rpms (which OO-localizaion do you need? Is US-English ok?) and put them in a single package on my ftp-server for you to download and install.

we will get it installed!
regards,
-pinoc

stevewr

  • Guest
Re: Installing open office on PClinuxOS - new user
« Reply #22 on: January 09, 2010, 04:44:46 AM »
 ;D Hi Pinoc,  It worked this time.  Thanks for your patience.  I just want to check that the system is now returned correctly.  Not convinced the last step worked.  In the repos I now have two checks with the lines starting
Http://gnustep.ethzz.ch/mirror/.......etc
ftp://ftp.nl.freebsd.org/pub.........etc
Just want to check these are right as different from before.

Secondly you say that the cause of the problem is that my network cannot deal with ftp. Should I go to my internet service provider about this? 

Thirdly learning points for other new users.  For me these were to have one repo mirror checked and not to use belnet.  The rest of the problems appear to be due to my network not handling ftp.  Do you agree?
Steve

Online pinoc

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 2881
    • other projects...
Re: Installing open office on PClinuxOS - new user
« Reply #23 on: January 09, 2010, 05:19:48 AM »
Hi stevewr,

well, thanks for your patience with this issue and very glad to hear it worked! To your questions
1) to return to your original Synaptic repo setting configuration do the following:
- exit Synaptic if it is open,
- open a root-terminal and enter
Code: [Select]
/bin/mv -f /etc/apt/sources.list_old /etc/apt/sources.list- start Synaptic and verify to have your old repo settings again
alternatively you edit your current configuration and just disable (uncheck) the freebsd repo which specifies the separate OO configuration since you don't need it anymore and it doesn't work for you anyway.
Please keep in mind that in your specific situation it may be a good idea to not choose a repo starting with "ftp://" as you seem to have issues with ftp-servers.

2) No idea, and still wondering what kind of ftp-problem you might have, this is the first time ever I hear about such a strange problem. Could you see the rpm listing in Firefox on the freebsd URL I specified in an initial post of this thread? Are you behind some firewall which maybe blocks ftp-sites?

3) Yes, you should always have only one (1) repo checked as all other repos are only mirrors, so there is no benefit of having multiple repos checked. In the contrary, they will get updated at different times and intervals and because of this can then cause inconsistent information for your system.
Finally, since OO works now for you, could you please go back to your original post, click on Modify, and add (Solved) to the subject line of your post so that others will see that this issue has been solved. Thanks.

regards and have fun with OO, finally!
-pinoc
« Last Edit: January 09, 2010, 05:33:20 AM by pinoc »

Offline ethoms

  • Jr. Member
  • **
  • Posts: 34
Re: Installing open office on PClinuxOS - new user SOLVED
« Reply #24 on: September 05, 2010, 10:36:09 AM »
I know this is an old thread but I thought it would be relevant to post here because I have the same problem using getopenoffice.

I have been trying for the last 2 days to get open office installed.  I have tried numerous mirrors. No matter what my selected mirror is in synaptic it tries to download from ftp.nl.freebsd.org. I get the same/similar error messages as stevewr. I don't have network issues with other sites or applications. Only network related thing I can think of is MTU size, but I don't know enough about MTU to diagnose the situation. The getopenoffice script seems to download some rpms but fail on others. Even after running it several times, it keeps failing.

What I'm doing at the moment is downloading manually to /var/cache/apt/archives, then I will try to run the getopenoffice again, hopefully it should find the already cached packages. The /var/cache/apt/archives/partial folder has a lot files in it, so it seems that they are getting downloaded in part, then failing. I guess that because I'm using wget sucessfully (so far) that it's a http worrking but not ftp thing. Pinoc, you seem to have already come to same conclussion.

I wonder, is it just stevewr and myself, or are others getting these problems. I got OpenOffice using getopenoffice previously, last time I tried PCLinuxOS. It's quite frustrating, I've found my ideal distro, but now I have problems with downloading from repositories. Aside from getopenoffice, I'm finding others repository issues, for me it's PCLinuxOS's weakness. Here in Singapore there's not many good mirrors, my fastest is Japan (ftp.jaist.ac.jp). But not as good as any of the repos from other distros I've tried.

No firewall turned on here.  ???

Online pinoc

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 2881
    • other projects...
Re: Installing open office on PClinuxOS - new user SOLVED
« Reply #25 on: September 05, 2010, 01:06:16 PM »
I know this is an old thread but I thought it would be relevant to post here because I have the same problem using getopenoffice.

I have been trying for the last 2 days to get open office installed.  I have tried numerous mirrors. No matter what my selected mirror is in synaptic it tries to download from ftp.nl.freebsd.org. I get the same/similar error messages as stevewr. I don't have network issues with other sites or applications. Only network related thing I can think of is MTU size, but I don't know enough about MTU to diagnose the situation. The getopenoffice script seems to download some rpms but fail on others. Even after running it several times, it keeps failing.

What I'm doing at the moment is downloading manually to /var/cache/apt/archives, then I will try to run the getopenoffice again, hopefully it should find the already cached packages. The /var/cache/apt/archives/partial folder has a lot files in it, so it seems that they are getting downloaded in part, then failing. I guess that because I'm using wget sucessfully (so far) that it's a http worrking but not ftp thing. Pinoc, you seem to have already come to same conclussion.

I wonder, is it just stevewr and myself, or are others getting these problems. I got OpenOffice using getopenoffice previously, last time I tried PCLinuxOS. It's quite frustrating, I've found my ideal distro, but now I have problems with downloading from repositories. Aside from getopenoffice, I'm finding others repository issues, for me it's PCLinuxOS's weakness. Here in Singapore there's not many good mirrors, my fastest is Japan (ftp.jaist.ac.jp). But not as good as any of the repos from other distros I've tried.

No firewall turned on here.  ???

Hi ethoms,

you could try to use a real http-server. Open a konsole and enter:
Code: [Select]
su -c 'kwrite /usr/bin/getopenoffice' Then go to line 469 and insert there:
Code: [Select]
OO_SERVER=2. Save the file and exit kwrite. Then run getopenoffice and see if it works. If you still have problems I will upload a OO3.2.1 set on my dropbox for easy installation for you.
Good luck & let me know how things worked out.
-p.



Offline ethoms

  • Jr. Member
  • **
  • Posts: 34
Re: Installing open office on PClinuxOS - new user SOLVED
« Reply #26 on: September 06, 2010, 09:16:45 AM »
Thanks for the http flag solution. However, I manged to get all the rpms by using wget. Just curious, why doesn't your script use http by default, it's better all-round isn't it? I know some firewalls block ftp, so wouldn't http be a better default? Please don't take offence, it's a great feature of PCLOS, it means users are aware that locale needs to be changed and they can select the correct one, at least for downloading the binaries. But I don't understand why openoffice isn't in the normal repository mirrors. If that had been so, I could have just installed task-openoffice...GB or whatever the meta package is called. I can't see why PCLOS doesn't come with the ftp.nl.freebsd.org openoffice repo added, then the script could just use apt-get, or an advanced user could do it in synaptic.

Actually, in the long run, I'm going to create a mirror on my server at work, I'm going to use PCLOS to replace Windows, wish me luck. If it works out well, I'll ask my boss to donate a nice sum to PCLOS.

Online pinoc

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 2881
    • other projects...
Re: Installing open office on PClinuxOS - new user SOLVED
« Reply #27 on: September 06, 2010, 09:21:09 AM »
OO is not in the normal repo because it takes up a lot of space and there is only a limited monthly bandwidth. We use a reliable mirror which happens to be a ftp-server. I may change that to a reliable http-server some time.
-p.

Offline ethoms

  • Jr. Member
  • **
  • Posts: 34
Re: Installing open office on PClinuxOS - new user SOLVED
« Reply #28 on: September 07, 2010, 11:09:48 AM »
Gosh! I didn't realize exactly how underfunded PCLOS is, shame, because it's such a nice distro. If I had the bandwidth, I would happily share it as a PCLOS mirror. I'm curious, does the premium mirror, accessible upon donating $25, does it have the openoffice packages? I will donate, once I get the time to sort the payment, I don't have a credit card (don't believe in them, or rather believe against them) and Paypal, which I think is excellent, isn't accepted. Google payment account, hmm, must look into it, sounds like it could be a good thing, wonder if my bank supports it?