[SOLVED] broken install of libreoffice that will not fix.--- ubuntu 17.10 64 bit latest updates
UbuntuThis forum is for the discussion of Ubuntu Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
broken install of libreoffice that will not fix.--- ubuntu 17.10 64 bit latest updates
Hello,
I have tried installing libreoffice via cmd line properly and my internet connection cut out for some reason while installing. My install was broken. I tried running
sudo apt --fix-broken install
and it gave me the output that I have several unmet dependancies. Therefore I am unable to reinstall and /or fix the broken install. Everything I try is leading me around in loops and i need to solve this conundrum.
I tried
sudo apt-get remove --purge libreoffice
I get the below output
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package 'libreoffice' is not installed, so not removed
You might want to run 'apt --fix-broken install' to correct these.
The following packages have unmet dependencies:
libreoffice-core : Depends: libreoffice-common (> 1:5.4.2~rc2) but it is not going to be installed
libreoffice-style-elementary : Depends: libreoffice-common (= 1:5.4.2~rc2-0ubuntu0.17.10.1~lo1) but it is not going to be installed
libreoffice-style-galaxy : Depends: libreoffice-common (= 1:5.4.2~rc2-0ubuntu0.17.10.1~lo1) but it is not going to be installed
E: Unmet dependencies. Try 'apt --fix-broken install' with no packages (or specify a solution).
If I do
sudo apt-get autoremove
I get the below output
Reading package lists... Done
Building dependency tree
Reading state information... Done
You might want to run 'apt --fix-broken install' to correct these.
The following packages have unmet dependencies:
libreoffice-core : Depends: libreoffice-common (> 1:5.4.2~rc2) but it is not installed
libreoffice-style-elementary : Depends: libreoffice-common (= 1:5.4.2~rc2-0ubuntu0.17.10.1~lo1) but it is not installed
libreoffice-style-galaxy : Depends: libreoffice-common (= 1:5.4.2~rc2-0ubuntu0.17.10.1~lo1) but it is not installed
E: Unmet dependencies. Try 'apt --fix-broken install' with no packages (or specify a solution).
Seems the only thing I need to try is uninstalling and purging those unmet dependancies then doing a clean install.
After I spent a day troubleshooting this, I cannot find a way to delete all unmet dependancies, then simply do one clean install again.
Hi,
I originally installed Libreoffice by adding a repository off a how to and typing
sudo at-get update
sudo apt-get install libreoffice
my output of
dpkg --configure -a
sudo dpkg --configure -a
dpkg: dependency problems prevent configuration of libreoffice-style-galaxy:
libreoffice-style-galaxy depends on libreoffice-common (= 1:5.4.2~rc2-0ubuntu0.17.10.1~lo1); however:
Package libreoffice-common is not installed.
dpkg: error processing package libreoffice-style-galaxy (--configure):
dependency problems - leaving unconfigured
Processing triggers for mime-support (3.60ubuntu1) ...
Processing triggers for desktop-file-utils (0.23-1ubuntu3) ...
Setting up librarian0 (0.8.1-6) ...
Processing triggers for sgml-base (1.29) ...
dpkg: dependency problems prevent configuration of libreoffice-core:
libreoffice-core depends on libreoffice-common (>> 1:5.4.2~rc2); however:
Package libreoffice-common is not installed.
dpkg: error processing package libreoffice-core (--configure):
dependency problems - leaving unconfigured
Processing triggers for gnome-icon-theme (3.12.0-2) ...
Setting up libept1.5.0:amd64 (1.1+nmu3build1) ...
Processing triggers for bamfdaemon (0.5.3+17.10.20170810-0ubuntu1) ...
Rebuilding /usr/share/applications/bamf-2.index...
dpkg: dependency problems prevent configuration of libreoffice-style-elementary:
libreoffice-style-elementary depends on libreoffice-style-galaxy; however:
Package libreoffice-style-galaxy is not configured yet.
libreoffice-style-elementary depends on libreoffice-common (= 1:5.4.2~rc2-0ubuntu0.17.10.1~lo1); however:
Package libreoffice-common is not installed.
dpkg: error processing package libreoffice-style-elementary (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of python3-uno:
python3-uno depends on libreoffice-core (= 1:5.4.2~rc2-0ubuntu0.17.10.1~lo1); however:
Package libreoffice-core is not configured yet.
dpkg: error processing package python3-uno (--configure):
dependency problems - leaving unconfigured
Processing triggers for libc-bin (2.26-0ubuntu2) ...
Processing triggers for doc-base (0.10.7) ...
Scrollkeeper was installed, forcing re-registration of all documents.
Unregistering 31 doc-base files, re-registering 31 doc-base files...
Registering documents with scrollkeeper...
Processing triggers for man-db (2.7.6.1-2) ...
Processing triggers for shared-mime-info (1.8-1) ...
Processing triggers for gnome-menus (3.13.3-6ubuntu5) ...
Setting up xml-core (0.17) ...
Processing triggers for hicolor-icon-theme (0.17-1) ...
dpkg: dependency problems prevent configuration of libreoffice-writer:
libreoffice-writer depends on libreoffice-core (= 1:5.4.2~rc2-0ubuntu0.17.10.1~lo1); however:
Package libreoffice-core is not configured yet.
dpkg: error processing package libreoffice-writer (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of libreoffice-math:
libreoffice-math depends on libreoffice-core (= 1:5.4.2~rc2-0ubuntu0.17.10.1~lo1); however:
Package libreoffice-core is not configured yet.
dpkg: error processing package libreoffice-math (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of libreoffice-base-core:
libreoffice-base-core depends on libreoffice-core (= 1:5.4.2~rc2-0ubuntu0.17.10.1~lo1); however:
Package libreoffice-core is not configured yet.
dpkg: error processing package libreoffice-base-core (--configure):
dependency problems - leaving unconfigured
Setting up synaptic (0.84.2) ...
Processing triggers for sgml-base (1.29) ...
Setting up sgml-data (2.0.10) ...
Processing triggers for sgml-base (1.29) ...
Setting up docbook-xml (4.5-8) ...
Processing triggers for sgml-base (1.29) ...
Setting up rarian-compat (0.8.1-6) ...
Errors were encountered while processing:
libreoffice-style-galaxy
libreoffice-core
libreoffice-style-elementary
python3-uno
libreoffice-writer
libreoffice-math
libreoffice-base-core
Its ok. I am going to do a backup and a fresh install of ubuntu 17.10. The part that a broken install causes is software updater will not work as i understand it uses apt. Therefore, my sources.list file becomes unreadable - the permissions keep changing. So I may have more than 1 issue on my pc. No need to give your brain a dendrite twister.... no biggie im just an average desktop user, striving to learn more about ubuntu and sick of windows.
So I will just do my backups and re install everything.
From what i read you can use synaptic package manager to remove all unmet dependancies, but bc apt isnt working right on my system, I cannot install it.
Its one big conundrum, so I will just do a fresh install.
I originally installed Libreoffice by adding a repository off a how
my guess is that that repository might be the culprit.
Quote:
Originally Posted by Stev8
Therefore, my sources.list file becomes unreadable - the permissions keep changing.
what?
either you are misunderstanding something there, or your machine is infected with malicious/broken software.
no offense, but the former is more likely.
it is also possible that this is not the first time you added repositories from "some random howto".
PS:
imho, one should always use LTS versions, i.e. 14.04 or 16.04.
the xx.10 versions are likely to have some minor bugs.
I ended up figuring out that something was messing around with the permissions on a lot of my files. I wasnt able to reinstall overtop of ubuntu. I used gparted on the live cd. My bootloader was not able to write to the disk. It took me a lot of troubleshooting but I got a fresh install.
Yes I know at some point I missed something that either caused this, and/or I have some sort of malware, or it is a bug in ubuntu 17.10 theres no telling. Either way I have a fresh install.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.