Results 1 to 8 of 8

Thread: broken packages wont fix

  1. #1
    Join Date
    Feb 2013
    Beans
    3

    broken packages wont fix

    Ive been anting to watch video files on my desktop but the player needs some plug ins so i go to install them but it tells me that i got 4 broken packages om y computer. i try fixing with synaptic package manager as recommended by several people on this site but with no success but i get this

    E: Error, pkgProblemResolver::Resolve generated breaks, this may be caused by held packages.
    E: Unable to correct dependencies


    i have tried the following commands in terminal

    sudo apt-get update
    sudo apt-get upgrade
    sudo apt-get clean
    sudo apt-get autoclean
    sudo apt-get autoremove


    but with no success however when i punched in sudo apt-get install -f i got told that it failed to correct the following dependences

    libc6: Depends: libc-bin (= 2.11.1-0ubuntu7.12) but 2.15-0ubuntu10.3 is installed
    Recommends: libc6-i686
    python-louis: Depends: liblouis0 (>= 1.7.0-2) but it is not installable
    ubuntu-minimal: Depends: libc6-i686
    E: Error, pkgProblemResolver::Resolve generated breaks, this may be caused by held packages.
    E: Unable to correct dependencies


    any help on this would be appreciated.

  2. #2
    Join Date
    Mar 2012
    Location
    Near one of my computers
    Beans
    307
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: broken packages wont fix

    Show output of sudo apt-get install.

    Try sudo apt-get dist-upgrade -f

    Kopkins

  3. #3
    Join Date
    May 2010
    Location
    uk
    Beans
    9,374
    Distro
    Xubuntu 14.04 Trusty Tahr

    Re: broken packages wont fix

    Hi

    I would like to check your software sources.

    Open a terminal and type

    Code:
    grep -v "^#" /etc/apt/sources.list /etc/apt/sources.list.d/*
    Copy and paste the output of that command into your next post.

    Wrap the output of the command between code tags like this

    [code]text[/code]

    to get output like this
    Code:
    text
    Kind regards
    If you believe everything you read, you better not read. ~ Japanese Proverb

    If you don't read the newspaper, you're uninformed. If you read the newspaper, you're mis-informed. - Mark Twain

    Thinking about becoming an Ubuntu Member?

  4. #4
    Join Date
    Feb 2013
    Beans
    3

    Re: broken packages wont fix

    [sudo apt-get dist-upgrade -f]
    Reading package lists... Done
    Building dependency tree
    Reading state information... Done
    Correcting dependencies... failed.
    The following packages have unmet dependencies:
    libc6: Depends: libc-bin (= 2.11.1-0ubuntu7.12) but 2.15-0ubuntu10.3 is installed
    Recommends: libc6-i686
    python-louis: Depends: liblouis0 (>= 1.7.0-2) but it is not installable
    ubuntu-minimal: Depends: libc6-i686
    E: Error, pkgProblemResolver::Resolve generated breaks, this may be caused by held packages.
    E: Unable to correct dependencies
    [/sudo apt-get dist-upgrade -f]

    [grep -v "^#" /etc/apt/sources.list /ect/apt/sources.list.d/*]
    /etc/apt/sources.list:
    /etc/apt/sources.list:deb http://au.archive.ubuntu.com/ubuntu/ precise main restricted
    /etc/apt/sources.list:deb-src http://au.archive.ubuntu.com/ubuntu/ precise main restricted
    /etc/apt/sources.list:
    /etc/apt/sources.list:deb http://au.archive.ubuntu.com/ubuntu/ precise-updates main restricted
    /etc/apt/sources.list:deb-src http://au.archive.ubuntu.com/ubuntu/ precise-updates main restricted
    /etc/apt/sources.list:
    /etc/apt/sources.list:deb http://au.archive.ubuntu.com/ubuntu/ precise universe
    /etc/apt/sources.list:deb-src http://au.archive.ubuntu.com/ubuntu/ precise universe
    /etc/apt/sources.list:deb http://au.archive.ubuntu.com/ubuntu/ precise-updates universe
    /etc/apt/sources.list:deb-src http://au.archive.ubuntu.com/ubuntu/ precise-updates universe
    /etc/apt/sources.list:
    /etc/apt/sources.list:deb http://au.archive.ubuntu.com/ubuntu/ precise multiverse
    /etc/apt/sources.list:deb-src http://au.archive.ubuntu.com/ubuntu/ precise multiverse
    /etc/apt/sources.list:deb http://au.archive.ubuntu.com/ubuntu/ precise-updates multiverse
    /etc/apt/sources.list:deb-src http://au.archive.ubuntu.com/ubuntu/ precise-updates multiverse
    /etc/apt/sources.list:
    /etc/apt/sources.list:
    /etc/apt/sources.list:deb-src http://archive.canonical.com/ubuntu karmic partner
    /etc/apt/sources.list:
    /etc/apt/sources.list:deb http://security.ubuntu.com/ubuntu precise-security main restricted
    /etc/apt/sources.list:deb-src http://security.ubuntu.com/ubuntu precise-security main restricted
    /etc/apt/sources.list:deb http://security.ubuntu.com/ubuntu precise-security universe
    /etc/apt/sources.list:deb-src http://security.ubuntu.com/ubuntu precise-security universe
    /etc/apt/sources.list:deb http://security.ubuntu.com/ubuntu precise-security multiverse
    /etc/apt/sources.list:deb-src http://security.ubuntu.com/ubuntu precise-security multiverse
    grep: /ect/apt/sources.list.d/*: No such file or directory
    [/grep -v "^#" /etc/apt/sources.list /ect/apt/sources.list.d/*]

    [sudo apt-get install]
    Reading package lists... Done
    Building dependency tree
    Reading state information... Done
    You might want to run 'apt-get -f install' to correct these.
    The following packages have unmet dependencies:
    libc6: Depends: libc-bin (= 2.11.1-0ubuntu7.12) but 2.15-0ubuntu10.3 is installed
    Recommends: libc6-i686
    python-louis: Depends: liblouis0 (>= 1.7.0-2) but it is not installable
    ubuntu-minimal: Depends: libc6-i686
    E: Unmet dependencies. Try using -f.
    [/sudo apt-get install]

  5. #5
    Join Date
    May 2010
    Location
    uk
    Beans
    9,374
    Distro
    Xubuntu 14.04 Trusty Tahr

    Re: broken packages wont fix

    Hi

    There was a typo in my last command.

    can you post the output of

    Code:
    grep -v "^#" /etc/apt/sources.list.d/*
    This will show me the rest of your sources.

    dependency issues are often caused by mismatched sources.

    Kind regards
    If you believe everything you read, you better not read. ~ Japanese Proverb

    If you don't read the newspaper, you're uninformed. If you read the newspaper, you're mis-informed. - Mark Twain

    Thinking about becoming an Ubuntu Member?

  6. #6
    Join Date
    Feb 2013
    Beans
    3

    Re: broken packages wont fix

    hi
    here you go

    [grep -v "^#" /etc/apt/sources.list.d/*]
    /etc/apt/sources.list.d/ubuntu-wine-ppa-lucid.list.distUpgrade:deb http://ppa.launchpad.net/ubuntu-wine/ppa/ubuntu lucid main
    /etc/apt/sources.list.d/ubuntu-wine-ppa-lucid.list.save:deb http://ppa.launchpad.net/ubuntu-wine/ppa/ubuntu lucid main
    [/grep -v "^#" /etc/apt/sources.list.d/*]

    i don't think I'm doing it right with the
    Code:
    text
    thing

    thanks

  7. #7
    Join Date
    May 2010
    Location
    uk
    Beans
    9,374
    Distro
    Xubuntu 14.04 Trusty Tahr

    Re: broken packages wont fix

    Hi

    This is one of your sources from your sources.list file.

    Code:
    deb http://security.ubuntu.com/ubuntu precise-security multiverse
    It is for precise.

    This is the source from your ppa file

    It is for Lucid.

    Lucid came out on April 2010. Precise came out in April 2012.

    The actual ppa files themsleves are not referenced anymore as they do not have a .list extension

    Code:
    /etc/apt/sources.list.d/ubuntu-wine-ppa-lucid.list.distUpgrade
    /etc/apt/sources.list.d/ubuntu-wine-ppa-lucid.list.save
    Precises libraries are much newer than lucids and this is why you are having the library mismatch and dependencies problem.

    You have a mismatch of libraries from precise and lucid.

    libc-bin-2.11.1-0ubuntu7.12 is from lucid and libc6 depends on it.
    libc-bin-2.15-0ubuntu10.3 is actually installed and is from precise.

    Therefore libc6 is a library from lucid

    libc6: Depends: libc-bin (= 2.11.1-0ubuntu7.12) but 2.15-0ubuntu10.3 is installed
    Recommends: libc6-i686
    python-louis: Depends: liblouis0 (>= 1.7.0-2) but it is not installable
    ubuntu-minimal: Depends: libc6-i686
    E: Error, pkgProblemResolver::Resolve generated breaks, this may be caused by held packages.
    E: Unable to correct dependencies
    Unfortunately libc6 is a pretty fundamental library so we have to tread very carefully.

    BTW: This is an upgrade from Lucid->Precise ?

    I believe libc6 was pulled in from that wine lucid ppa or from a hangover from an upgrade from lucid to precise.

    Anyhow, it's a problem.

    So let's try to fix your problem.

    I am going to assume you have wine installed here. If not do not follow these steps and post back.

    From here, there is a precise version of the ppa and this is the version you should be using not lucids.

    http://ppa.launchpad.net/ubuntu-wine/ppa/ubuntu/dists/

    Open a terminal and copy and paste this into it. Copy and paste is less error prone.

    Code:
    sudo cp /etc/apt/sources.list.d/ubuntu-wine-ppa-lucid.list.save /etc/apt/sources.list.d/ubuntu-wine-ppa-lucid.list
    Code:
    sudo sed -i 's/lucid/precise/g' /etc/apt/sources.list.d/ubuntu-wine-ppa-lucid.list
    Code:
    sudo apt-get update
    Code:
    sudo apt-get install -f
    Post back on efficacy.

    Kind regards
    Last edited by matt_symes; February 27th, 2013 at 01:18 PM.
    If you believe everything you read, you better not read. ~ Japanese Proverb

    If you don't read the newspaper, you're uninformed. If you read the newspaper, you're mis-informed. - Mark Twain

    Thinking about becoming an Ubuntu Member?

  8. #8
    Join Date
    Apr 2008
    Location
    Australian in Germany
    Beans
    4,010
    Distro
    Ubuntu 10.10 Maverick Meerkat

    Re: broken packages wont fix

    Quote Originally Posted by biglove View Post

    i don't think I'm doing it right with the
    Code:
    text
    thing

    thanks
    Look for the button at the top of the post window that is marked with #

    When you press that, it will generate code tags that look like this

    [CODE][/CODE]

    You can also type them in by hand.

    You need to have the first one [CODE] before the stuff you want in the code box, and the second one [/CODE] after it.

    You can generate the tags and then type or paste your text between them, or type or paste your text into the post window, run the mouse over it to select it, then click on the code tags button, the # .
    Michael

Bookmarks

Posting Permissions

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