Find the answer to your Linux question:
Results 1 to 3 of 3
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1

    Unmet Dependencies when trying to install Libre Office

    Hullo. I had OpenOffice installed on my machine (running Ubuntu 12.04), but now i have removed OO, and am trying to install Libre Office. However, when attempting to do so, I keep getting error messages saying that I have unmet dependencies. When I open a terminal and try
    apt-get -f install
    I get the following:
    Errors were encountered while processing:
    E: Sub-process /usr/bin/dpkg returned an error code (1)
    Any help would be grateful. Thanks.

  2. #2
    Linux Engineer MASONTX's Avatar
    Join Date
    May 2010
    Mason Texas
    Try using Synaptic, it may pick up the dependencies better.
    Registered Linux user #526930

  3. #3
    Linux Enthusiast Steven_G's Avatar
    Join Date
    Jun 2012
    Western US
    apt-get man page

    dpkg man page

    aptitude man page

    Some things that can help clear up issues like this:

    sudo apt-get install -f
    Tells apt-get to fix any broken installs and can also be run with the -m (missing) switch:

    sudo apt-get install -f -m
    sudo aptitude install -f
    Variations on install with the -f and -m switches also work with aptitude. Play with both apt-get and aptitude, each has their strengths and weaknesses.

    dpkg --configure -a
    Tells debian package manager to try all possible methods it has available to repair dependancies. (Be careful, just b/c it will "fix" an issue with a dep does not necessarily mean it's "good" for your overall system.)

    sudo dpkg -C
    This will tell dpkg to audit your dep tree and it will make suggestions on how to correct issues if it finds any.

    sudo apt-get update
    sudo apt-get upgrade
    Updates your system, a lot of times that will fix issues. (Note: the -f and -m switches work with "upgrade" as well and come sometimes help resolve issues.)

    sudo apt-get build-dep libre-core
    I'm not at a terminal right now (working from memory) IIRC libre-core is the meta-package for office (you can always use "sudo apt-cache search libre" to be sure) and build-dep does just what it says: Builds dependencies.

    I'm a noob and I've picked up these tricks and licks through Google and trial and error. They've shown some results, but are no gaurantee. I've had trouble getting help resolving borked dep trees. Hopefully this will help sort things out. This is not a step by step, but will give you some good tools to chase down the issue.

  4. $spacer_open

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts