Understanding your situation by summarizing the posts and stating any key assumptions, and providing my preferred "Approach"-Stick with Supported Version of LO from Ubuntu Software Centre
The response has three parts- Disclaimer of limitations; Defining the problem, defining an approach and lastly a note on Ubuntu software centre with respect to LO packages.
I hope that the length of my response is justified by its completeness.
My Limitation: I posses not technical qualification in Computer or Software. While using Ubuntu, my approach is to gather just enough knowledge to enable me to use Ubuntu in all ways that I can use Windows. Therefore I focus on approaches to problem rather than the technical aspects involved in its implementation. Fortunately there are many users who provide help on technical aspects. Accordingly I am attempting to suggest an approach and also offer some justifications.
I use Ubuntu 12.10 along with default LO 3.6. version as updated by Ubuntu. I will stick with 12.10 till LTS 14.04 around April/May 2014..A conservative approach which will also reflect in the solution below.
From your post and its replies, I understand that LO installed with 13.04 did not work. Your solutions was to install it from LO website. This process was not successful. To fix this, the solutions given in the posts involve:
- Cleaning up the earlier LO related files (using purge)
- Then attempt re-installation using either the dep package downloaded from LO website OR use of PPA.
My solution involves cleaning up the OS of LO related files (including Binaries) and then use Ubuntu Software centre to Re-Download LO and install it.
Further I am assuming that the OS upgrade process is not contributing to this problem. Although auto upgrading option is available, I did come across suggestions to avoid this and instead do a clean install--i.e. delete earlier version and install the new version a fresh.
Also note that if you have upgraded from earlier version of Ubuntu, then you may need to purge the previous version of LO (version 3). I am assuming that there was no such need or that you purged the earlier LO version (or the purge libreoffice4.0 command that you have used, also cleans earlier LO version).
(As this effect involve technical understanding about usage of purge option, Kindly confirm it from your end. I believe that the usage of "libreoffice*" in answer 2 ,should remove any and all versions of LO)
*Some background material to enable understanding *
Three sources for LO:
- Ubuntu software centre (officially supported version for a given distribution version). More stable..
- LO website with the appropriate program (say deb file)..advantages are we get latest version and from a trusted source.
- PPA (Ubuntu does not support this,One gets updated versions and often tweaked for Ubuntu)
Right now the version from Ubuntu is current enough.So going for latest update is not an adequate incentive (at least for me).Therefore I prefer the Software Centre Approach.
How to prevent Ubuntu from using potentially corrupted LO binaries while we re-install LO using Software centre
Ubuntu stores the binaries of LO so that any re-installation can be done using it, thus avoiding re-downloads from Ubuntu servers.(the stored Binary can be from the installation DVD or from Ubuntu server)
Assuming that the original LO binaries were corrupt (hence LO installed is not working), We need to un-install LO as well as remove the stored Binaries. Using purge option, does this two tasks.
So after purge, the OS has no LO installed and no Binaries of LO.
Now that the system has no traces of LO or its binary, we can download it afresh from the Ubuntu Software Centre.(this is simple enough so I an not elaborating the steps)
Note on packages Selection from Software Centre:
- Out of the LO packages "Base" (database) needs Java. By default "Base" and "Java" are not installed. To avoid Base (and Java) it seems that we have to download individual packages separately say Libreoffice Writer/Calc/impress etc.
- There is a package named "libreoffice" which will install all packages including base and related programs.
End of my Reply