LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu
User Name
Password
Ubuntu This forum is for the discussion of Ubuntu Linux.

Notices


Reply
  Search this Thread
Old 11-22-2017, 02:42 PM   #1
Stev8
Member
 
Registered: Mar 2012
Location: Hamilton, Ontario
Distribution: Ubuntu 17.10 64 bit
Posts: 113

Rep: Reputation: Disabled
Exclamation 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.

Any help would be greatly appreciated.
 
Old 11-23-2017, 01:25 AM   #2
ondoho
LQ Addict
 
Registered: Dec 2013
Posts: 19,872
Blog Entries: 12

Rep: Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053
the output you posted does not look like it comes from a network cut, so how exactly did you try to install LO in the first place? please show us.

but it's possible i'm wrong and the network cut is indeed to blame; you could also try
Code:
dpkg --configure -a
 
Old 11-23-2017, 07:12 AM   #3
Stev8
Member
 
Registered: Mar 2012
Location: Hamilton, Ontario
Distribution: Ubuntu 17.10 64 bit
Posts: 113

Original Poster
Rep: Reputation: Disabled
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

-
 
Old 11-23-2017, 07:35 AM   #4
Stev8
Member
 
Registered: Mar 2012
Location: Hamilton, Ontario
Distribution: Ubuntu 17.10 64 bit
Posts: 113

Original Poster
Rep: Reputation: Disabled
Hi,

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.
 
Old 11-24-2017, 12:02 AM   #5
ondoho
LQ Addict
 
Registered: Dec 2013
Posts: 19,872
Blog Entries: 12

Rep: Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053
Quote:
Originally Posted by Stev8 View Post
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 View Post
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.
 
Old 11-24-2017, 08:17 AM   #6
Stev8
Member
 
Registered: Mar 2012
Location: Hamilton, Ontario
Distribution: Ubuntu 17.10 64 bit
Posts: 113

Original Poster
Rep: Reputation: Disabled
Hi,

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.

Thanks for your help.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
broken links for Libreoffice relic70 Linux - Newbie 2 01-25-2016 07:03 PM
how to fix broken package nickole Linux - Newbie 4 11-07-2014 03:27 PM
How to install only Writer from Libreoffice package"libreoffice-4.0.3-i486-1alien.txz just.srad Slackware 10 05-30-2013 02:37 PM
How to fix broken partition table after re-assigning old install Logical Volumes JapaneseAstronomy Linux - Software 1 03-26-2013 12:36 AM
LXer: PDF import for LibreOffice in Debian Backports is broken -- here's how to fix it LXer Syndicated Linux News 0 12-16-2011 07:20 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu

All times are GMT -5. The time now is 01:59 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration