[Solved] Install interrupted - Unable to clean and reinstall

Issues with installing under all Linux Distributions

[Solved] Install interrupted - Unable to clean and reinstall

Postby Fuser77 » Wed May 13, 2015 4:07 pm

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.
Last edited by RoryOF on Wed May 13, 2015 10:02 pm, edited 1 time in total.
Reason: Added [Solved] and green tick [RoryOF, Moderator]
Apache Open Office 4.1,1
Ubuntu 14.04 32 Bits
Fuser77
 
Posts: 8
Joined: Wed May 13, 2015 4:01 pm

Re: Install got interrupted - Unable to clean and reinstall

Postby RoryOF » Wed May 13, 2015 6:20 pm

Try a terminal and enter

Code: Select all   Expand viewCollapse view
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.
Apache OpenOffice 4.1.6 on Xubuntu 18.04.3 (mostly 64 bit version) and very infrequently on Win2K/XP
User avatar
RoryOF
Moderator
 
Posts: 29448
Joined: Sat Jan 31, 2009 9:30 pm
Location: Ireland

Re: Install got interrupted - Unable to clean and reinstall

Postby Fuser77 » Wed May 13, 2015 7:23 pm

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!
Apache Open Office 4.1,1
Ubuntu 14.04 32 Bits
Fuser77
 
Posts: 8
Joined: Wed May 13, 2015 4:01 pm

Re: Install got interrupted - Unable to clean and reinstall

Postby RoryOF » Wed May 13, 2015 7:35 pm

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   Expand viewCollapse view
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.
Apache OpenOffice 4.1.6 on Xubuntu 18.04.3 (mostly 64 bit version) and very infrequently on Win2K/XP
User avatar
RoryOF
Moderator
 
Posts: 29448
Joined: Sat Jan 31, 2009 9:30 pm
Location: Ireland

Re: Install got interrupted - Unable to clean and reinstall

Postby Fuser77 » Wed May 13, 2015 8:46 pm

Here is something strange:

trying to overwrite '/usr/bin/soffice', which is also in package libreoffice-common 1:4.2.8-0ubuntu2
Apache Open Office 4.1,1
Ubuntu 14.04 32 Bits
Fuser77
 
Posts: 8
Joined: Wed May 13, 2015 4:01 pm

Re: Install got interrupted - Unable to clean and reinstall

Postby RoryOF » Wed May 13, 2015 8:48 pm

Run the
Code: Select all   Expand viewCollapse view
sudo apt-get purge libreoffice*


Don't forget the trailing asterisk.
Apache OpenOffice 4.1.6 on Xubuntu 18.04.3 (mostly 64 bit version) and very infrequently on Win2K/XP
User avatar
RoryOF
Moderator
 
Posts: 29448
Joined: Sat Jan 31, 2009 9:30 pm
Location: Ireland

Re: Install got interrupted - Unable to clean and reinstall

Postby Fuser77 » Wed May 13, 2015 8:51 pm

That is exactly what I am doing now.
It seems that it's working
I'll keep you posted.
Apache Open Office 4.1,1
Ubuntu 14.04 32 Bits
Fuser77
 
Posts: 8
Joined: Wed May 13, 2015 4:01 pm

Re: Install got interrupted - Unable to clean and reinstall

Postby Fuser77 » Wed May 13, 2015 9:21 pm

Ok then.

I followed what you suggested in this post:
https://forum.openoffice.org/en/forum/v ... 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?
Apache Open Office 4.1,1
Ubuntu 14.04 32 Bits
Fuser77
 
Posts: 8
Joined: Wed May 13, 2015 4:01 pm

Re: Install got interrupted - Unable to clean and reinstall

Postby RoryOF » Wed May 13, 2015 9:59 pm

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.
Apache OpenOffice 4.1.6 on Xubuntu 18.04.3 (mostly 64 bit version) and very infrequently on Win2K/XP
User avatar
RoryOF
Moderator
 
Posts: 29448
Joined: Sat Jan 31, 2009 9:30 pm
Location: Ireland

Re: Install got interrupted - Unable to clean and reinstall

Postby Fuser77 » Wed May 13, 2015 10:00 pm

Hello!

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

Thank you so much for all your help!!!
Apache Open Office 4.1,1
Ubuntu 14.04 32 Bits
Fuser77
 
Posts: 8
Joined: Wed May 13, 2015 4:01 pm

Re: Install got interrupted - Unable to clean and reinstall

Postby Fuser77 » Wed May 13, 2015 10:03 pm

One more question: how can I install the laguage packs?

Once again, thank you so much, RoryOf!
Apache Open Office 4.1,1
Ubuntu 14.04 32 Bits
Fuser77
 
Posts: 8
Joined: Wed May 13, 2015 4:01 pm

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

Postby RoryOF » Thu May 14, 2015 7:40 am

Download the language pack, expand it to its own directory, in a terminal change into the DEBS directory then run
Code: Select all   Expand viewCollapse view
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.
Apache OpenOffice 4.1.6 on Xubuntu 18.04.3 (mostly 64 bit version) and very infrequently on Win2K/XP
User avatar
RoryOF
Moderator
 
Posts: 29448
Joined: Sat Jan 31, 2009 9:30 pm
Location: Ireland

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

Postby Fuser77 » Fri May 15, 2015 2:18 am

Thank you!
Apache Open Office 4.1,1
Ubuntu 14.04 32 Bits
Fuser77
 
Posts: 8
Joined: Wed May 13, 2015 4:01 pm

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

Postby PatF » Sun Sep 20, 2015 8:07 am

THANK YOU :bravo: :bravo: Both of you have saved me from :crazy:
AOO 4.1.2 | Linux Mint 17.1 Cinnamon 2.4.8 64-bit
PatF
 
Posts: 2
Joined: Sun Feb 08, 2015 1:45 am


Return to Linux

Who is online

Users browsing this forum: No registered users and 2 guests