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

    Broken package libc6


    I'm new to linux. I'm using Ubuntu 10.04. I was updating my computer through the update manager. It downloaded all the files necessary to install updates but when it came time to install them, it hung for nearly a day before I finally logged out and back in.

    When I went to synaptic package manager, it said I had 1 broken package. The program was libc6. How can I fix this error because I can't install programs or update my computer,

    I should note I tried :

    When I use

    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:
    E: Unmet dependencies. Try using -f.
    When I use

    apt-get -f install
    Reading package lists... Done
    Building dependency tree
    Reading state information... Done
    Correcting dependencies... Done
    The following extra packages will be installed:
    libc-bin libc-dev-bin libc6 libc6-dev libc6-i686 libssl0.9.8
    Suggested packages:
    glibc-doc
    The following packages will be upgraded:
    libc-bin libc-dev-bin libc6 libc6-dev libc6-i686 libssl0.9.8
    6 upgraded, 0 newly installed, 0 to remove and 35 not upgraded.
    2 not fully installed or removed.
    Need to get 0B/13.8MB of archives.
    After this operation, 0B of additional disk space will be used.
    Do you want to continue [Y/n]?
    When I type y, it downloads the 13.8 mb's and then hangs during the installation process. Is their a way to fix this? Any help would be appreciated.

  2. #2
    Linux User ved's Avatar
    Join Date
    Jan 2008
    Location
    New Delhi
    Posts
    309
    i suggest you first update your update manager and kernel then try to update other things
    Take risks: if you win, you will be happy; if you lose, you will be wise.
    New Users : Read This First

  3. #3
    Quote Originally Posted by ved View Post
    i suggest you first update your update manager and kernel then try to update other things
    I can't update the computer until its fixed. It won't let me.

  4. $spacer_open
    $spacer_close
  5. #4
    These are the actual unmet dependencies:

    The following packages have unmet dependencies:
    libc6-dev: Depends: libc6 (= 2.11.1-0ubuntu7.2) but 2.11.1-0ubuntu7.4 is to be installed
    libc6-i686: PreDepends: libc6 (= 2.11.1-0ubuntu7.2) but 2.11.1-0ubuntu7.4 is to be installed
    E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).

  6. #5
    Quote Originally Posted by ved View Post
    i suggest you first update your update manager and kernel then try to update other things
    I can't update the computer until its fixed. It won't let me.
    Are you saying when you run a
    Code:
    sudo apt-get update
    That nothing downloads? Post readout of above command.
    I refuse to let fear and fear of others rule my life. It puts my humanity at risk.
    Accepting Death is the only way to stay alive.

  7. #6
    Sources
    Reading package lists... Done
    I've done this a number of times. It works. I tried and can't post the readout because I can't post URL's until I have 15 post to my credit. This is the end of the post. Packages are downloading, but nothing will install.

    I googled and tried out the following commands:

    apt-get update
    apt-get upgrade
    sudo apt-get clean
    sudo apt-get install -f
    They don't fix the dependencies. Is there something else I could try?

  8. #7
    You could try using synaptic package manager in system > adminstration
    Then click edit > fix broken packages after doing a reload first.
    I refuse to let fear and fear of others rule my life. It puts my humanity at risk.
    Accepting Death is the only way to stay alive.

  9. #8
    Quote Originally Posted by rokytnji View Post
    You could try using synaptic package manager in system > adminstration
    Then click edit > fix broken packages after doing a reload first.
    This was actually the first thing I tried. No dice with that either.

  10. #9
    Could you open software sources (not in menu by default anymore - open Applications -> Ubuntu Software Center -> edit - Software Sources.

    Disable any 3rd party repositories at this time (under other software). You can renable them later.

    Under the updates tab make sure that the first 2 are checked - Maverick-security and Maverick-updates
    If you had to check one then click close and reload and try again.

    If both are checked then go under the Ubuntu Software tab and switch to the main server (if not using it) , close and reload.

    Attachment 3013

    Then. open

    synaptic package manager -> edit -> fix broken packages again.
    I refuse to let fear and fear of others rule my life. It puts my humanity at risk.
    Accepting Death is the only way to stay alive.

  11. #10
    It didn't work. I was on the United States server instead of main. I'm not sure which is better. Not that it probably matters, but I'm using Lucid, Not Maverick. When I select edit, fix broken dependencies, I get dependencies successfully fixed. When I close it and reopen it, the package is still broken.

Posting Permissions

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