Page 1 of 1

[Solved] Install interrupted - Unable to clean and reinstall

Posted: Wed May 13, 2015 4:07 pm
by Fuser77
Good morning!

I was trying to install Apache Open Office using GDebi Package Installer.
Somehow the install got aborted and I can not get Ubuntu to restart the whole installation process.

I tried opening Synaptic but it sends an error message:

E: The package openoffice-debian-menus needs to be reinstalled, but I can't find an archive for it.
E: Internal error opening cache (1). Please report.

Synaptic does seem to be willing to start up until we solve this issue.

I tried some procedures to purge files but I don't know if I used the right ones; so far nothing worked.

Your help is much appreciated!

Thank you.

Re: Install got interrupted - Unable to clean and reinstall

Posted: Wed May 13, 2015 6:20 pm
by RoryOF
Try a terminal and enter

Code: Select all

sudo apt-get purge openoffice*
sudo apt-get purge libreoffice*
Then try a reinstall. I normally download the file direct from
http://www.openoffice.org/download
expand it into its default directory - in my case /Downloads/en-GB
and install from there using the command line.

Because you are using Ubuntu, you may need the libreoffice line to remove traces of LibreOffice, which can stop OO installing.

Re: Install got interrupted - Unable to clean and reinstall

Posted: Wed May 13, 2015 7:23 pm
by Fuser77
Hi RoryOf, thanks for answering.

This is the message I get after trying the purge:

E: The package openoffice-debian-menus needs to be reinstalled, but I can't find an archive for it.

My understanding is that Linux is not able top do anything else as long as this issue is not solved.
Any suggestions?

Thank you so much!

Re: Install got interrupted - Unable to clean and reinstall

Posted: Wed May 13, 2015 7:35 pm
by RoryOF
I'd try downloading the package direct from
http://www.openoffice.org/download
expand it into its default directory - in my case /Downloads/en-GB
and install from there using the command line. In my case the commands are

Code: Select all

cd Downloads/en-GB/DEBS
sudo dpkg -i *.deb
cd desktop-integration
sudo dpkg -i *.deb
Note that here are two instances of the sudo command - before and after the change of directory to desktop-interation.

Re: Install got interrupted - Unable to clean and reinstall

Posted: Wed May 13, 2015 8:46 pm
by Fuser77
Here is something strange:

trying to overwrite '/usr/bin/soffice', which is also in package libreoffice-common 1:4.2.8-0ubuntu2

Re: Install got interrupted - Unable to clean and reinstall

Posted: Wed May 13, 2015 8:48 pm
by RoryOF
Run the

Code: Select all

 sudo apt-get purge libreoffice* 
Don't forget the trailing asterisk.

Re: Install got interrupted - Unable to clean and reinstall

Posted: Wed May 13, 2015 8:51 pm
by Fuser77
That is exactly what I am doing now.
It seems that it's working
I'll keep you posted.

Re: Install got interrupted - Unable to clean and reinstall

Posted: Wed May 13, 2015 9:21 pm
by Fuser77
Ok then.

I followed what you suggested in this post:
viewtopic.php?f=16&t=65586
(did not change the laguage pack though...)

Then proceeded with the re-install.

This is what it gives:

abo@alf-Latitude-D610:~/Downloads/en-US/DEBS/desktop-integration$ sudo dpkg -i *.deb
(Reading database ... 706489 files and directories currently installed.)
Preparing to unpack openoffice4.1-debian-menus_4.1.1-9775_all.deb ...
Unpacking openoffice-debian-menus (4.1.1-9775) ...
Setting up openoffice-debian-menus (4.1.1-9775) ...
/usr/bin/gtk-update-icon-cache
gtk-update-icon-cache: Cache file created successfully.
/usr/bin/gtk-update-icon-cache
gtk-update-icon-cache: Cache file created successfully.
Processing triggers for shared-mime-info (1.2-0ubuntu3) ...
Unknown media type in type 'all/all'
Unknown media type in type 'all/allfiles'
Unknown media type in type 'uri/mms'
Unknown media type in type 'uri/mmst'
Unknown media type in type 'uri/mmsu'
Unknown media type in type 'uri/pnm'
Unknown media type in type 'uri/rtspt'
Unknown media type in type 'uri/rtspu'
Processing triggers for mime-support (3.54ubuntu1.1) ...
Processing triggers for bamfdaemon (0.5.1+14.04.20140409-0ubuntu1) ...
Rebuilding /usr/share/applications/bamf-2.index...
Processing triggers for desktop-file-utils (0.22-1ubuntu1) ...
Processing triggers for gnome-menus (3.10.1-0ubuntu2) ...
Processing triggers for hicolor-icon-theme (0.13-1) ...
Processing triggers for gnome-icon-theme (3.10.0-0ubuntu2) ...
labo@alf-Latitude-D610:~/Downloads/en-US/DEBS/desktop-integration$

Seems successful.
Still I don't see OpenOffice in the dashboard.
Am I forgetting to do something?

Re: Install got interrupted - Unable to clean and reinstall

Posted: Wed May 13, 2015 9:59 pm
by RoryOF
I'm not au fait with Ubuntu dashboard as I use Xubuntu. It should show up in the Office group. You can also start it by running openoffice4 in a terminal. You may have to make some form of Launcher for it.

Re: Install got interrupted - Unable to clean and reinstall

Posted: Wed May 13, 2015 10:00 pm
by Fuser77
Hello!

It's fine, I rebooted Ubuntu and Open Office is there!

Thank you so much for all your help!!!

Re: Install got interrupted - Unable to clean and reinstall

Posted: Wed May 13, 2015 10:03 pm
by Fuser77
One more question: how can I install the laguage packs?

Once again, thank you so much, RoryOf!

Re: [Solved] Install interrupted - Unable to clean and reins

Posted: Thu May 14, 2015 7:40 am
by RoryOF
Download the language pack, expand it to its own directory, in a terminal change into the DEBS directory then run

Code: Select all

sudo dpkg -i *.deb
as you did for the main program.

Note: this is installation method for linux (?ubuntu/Debian)

You may then need to make selections in /Tools /Options /OpenOffice.

Re: [Solved] Install interrupted - Unable to clean and reins

Posted: Fri May 15, 2015 2:18 am
by Fuser77
Thank you!

Re: [Solved] Install interrupted - Unable to clean and reins

Posted: Sun Sep 20, 2015 8:07 am
by PatF
THANK YOU :bravo: :bravo: Both of you have saved me from :crazy: