(Forward) Re: Error:: While installing openoffice debian menus

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view

(Forward) Re: Error:: While installing openoffice debian menus

Jose R R
(In case it was not acknowledged when sent from my alternate email)
-------- Original Message --------
Subject: Re: Error:: While installing openoffice debian menus
Date: 2019-01-26 21:58
From: [hidden email]
To: [hidden email]
Cc: Nikhil Gupta <[hidden email]>

Niltze [Hello]-

On 2019-01-26 16:22, Nikhil Gupta wrote:
> Hi
> I built openoffice on my Ubuntu(14.04)
> The build successfully run with no error message.
> But when i tried to install openoffice debian menus
> Following error shows:
> dpkg: error processing archive
> (--install):
>  trying to overwrite '/usr/bin/soffice', which is also in package
> libreoffice-common 1:4.2.8-0ubuntu5.3
> /usr/bin/gtk-update-icon-cache
> Please help

As root and/or with sudo privilege make a backup of /usr/bin/soffice and
force the installation of the DEB package as:
dpkg --force-all -i oo-package.deb

After OO package successfully installs, analyze: ls -l /usr/bin/soffice
You will find that it is a symbolic link to /opt/openoffice4/program/soffice

Accordingly, you can make a proper sym link more relevant to OO, i.e., as
root [or sudo]:
cd /usr/bin
ln -s /opt/openoffice4/program/soffice apacheoo

*proceed* to make another relevant link:
cd /opt/openoffice4/program/
ln -s soffice.bin apacheoo.bin

That's it! Go back and delete (if necessary) and restore from backup the
original /usr/bin/soffice.

Now as a normal user, you can start OO from any shell by simply typing:
apacheoo &
at any command prompt.

**For hard core Apache OO users**

Now, assuming you are not using GNOME as your Desktop GUI, if I were you
and LibreOffice had no *nasty* dependency on GNOME, I would just purge
LibreOffice altogether ;-)

apt-get purge $(dpkg-query -l "*libreoffice*" | grep ^ii | cut -d' ' -f3)

< https://metztli.it/readOnlyEphemeral/libreoffice-gnome-dependency.png >

which is what I do in every Metztli Reiser4 Debian -based installation for
AMD64, since, if the user still decides to purge LibreOffice *but* keep
GNOME, I do install my non-LibreOffice-dependency gnome Debian packages
over originals *but* version(s) may be different in Ubuntu.



Good luck!

Jose R R
Download Metztli Reiser4: Debian Stretch w/ Linux 4.20 AMD64
feats ZSTD compression https://sf.net/projects/metztli-reiser4/
Official current Reiser4 resources: https://reiser4.wiki.kernel.org/