[Novalug] solution to problem with OpenOffice 2 after upgrade of Debian

Nino Pereira pereira at speakeasy.net
Tue Apr 10 21:48:58 EDT 2007


Hi,

since there's now a new version of Debian I tried to
upgrade my system the usual way, with apt-get. This
downloaded a whole bunch of packages, installed them,
no problem.

But, after the upgrade I could no longer use OpenOffice 
the way I had gotten accustomed, namely by typing on
the command line:

soffice

This command finally worked, after a move from the standard 
OpenOffice 1., and solving some problems with a new version 
of OpenOffice some time ago. How this works I don't remember,
but it did. Somehow, I installed the program in
/opt/openoffice.org2.0/program/soffice.

After the upgrade, typing 'soffice' gave an error, something
about a missing file.

I solved the problem like this: I changed the name of the program,

sudo mv /usr/bin/soffice /usr/bin/soffice-inactive
 
Even though there's something called 'soffice' in 
/opt/../etc, it isn't seen because on typing soffice, I get

bash: /usr/bin/soffice: No such file or directory

I could possibly copy the 'soffice' program from /opt/... into
/usr/bin, but instead I made a link: 

sudo ln -s /opt/openoffice.org2.0/program/soffice /usr/bin/soffice

Then I get OpenOffice on typing soffice, as it used to be.

My question: is this a really dumb way to do it? What are some
of the pitfalls that might bite eventually?

Thank you,

Nino







More information about the Novalug mailing list