Announcement

Collapse
No announcement yet.

Trouble updating libc, complaining about different versions

Collapse
This topic is closed.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Trouble updating libc, complaining about different versions

    I get this error after running apt-get upgrade:

    Run 'dpkg-reconfigure tzdata' if you wish to change it.

    dpkg: error processing libc6 (--configure):
    libc6:amd64 2.13-20ubuntu5.2 cannot be configured because libc6:i386 is in a different version (2.13-20ubuntu5.1)
    Errors were encountered while processing:
    libc6
    E: Sub-process /usr/bin/dpkg returned an error code (1)

    Anyone have any ideas with what could be causing this and what I could do to fix it? Thanks for your help in advance!

    David

    #2
    It seems that you have both the 32 bit and the 64 bit libraries installed:
    libc6:amd64 2.13-20ubuntu5.2 cannot be configured because libc6:i386
    and the versions are out of the sync:
    is in a different version (2.13-20ubuntu5.1)

    If that is the case what you want ? You could try to solve this by

    Cleaning the package cache (apt-get manual -> man apt-get):
    Code:
    sudo apt-get clean
    clean
    clean clears out the local repository of retrieved package files. It removes everything but the
    lock file from /var/cache/apt/archives/ and /var/cache/apt/archives/partial/...
    Update the package database:

    Code:
    sudo apt-get update
    update
    update is used to resynchronize the package index files from their sources...
    Fix broken:
    Code:
    sudo apt-get install -f
    -f, --fix-broken
    Fix; attempt to correct a system with broken dependencies in place. This option, when used with
    install/remove, can omit any packages to permit APT to deduce a likely solution...

    Upgrade the packages:

    Code:
    sudo apt-get upgrade
    or
    Code:
    sudo apt-get dist-upgrade
    The "dist-upgrade" is more powerful:
    dist-upgrade
    dist-upgrade in addition to performing the function of upgrade, also intelligently handles changing
    dependencies with new versions of packages; apt-get has a "smart" conflict resolution system, and
    it will attempt to upgrade the most important packages at the expense of less important ones if
    necessary. So, dist-upgrade command may remove some packages.
    Last edited by OneLine; Nov 14, 2012, 03:43 AM.
    Have you tried ?

    - How to Ask a Question on the Internet and Get It Answered
    - How To Ask Questions The Smart Way

    Comment


      #3
      I apologize for the very long delay in responding. Was finally able to get back to this issue.

      So I ran apt-get clean and apt-get update. They seemed to go fine except for a couple sites update wasn't able to connect to.

      However when I ran apt-get install -f, I get this:

      Code:
      Reading package lists...
      Building dependency tree...
      Reading state information...
      0 upgraded, 0 newly installed, 0 to remove and 342 not upgraded.
      20 not fully installed or removed.
      After this operation, 0 B of additional disk space will be used.
      dpkg: error processing libc6 (--configure):
       libc6:amd64 2.13-20ubuntu5.3 cannot be configured because libc6:i386 is in a different version (2.13-20ubuntu5.1)
      dpkg: dependency problems prevent configuration of libudev0:
       libudev0 depends on libc6 (>= 2.8); however:
        Package libc6 is not configured yet.
      dpkg: error processing libudev0 (--configure):
       dependency problems - leaving unconfigured
      dpkg: error processing libdbus-1-3 (--configure):
       libdbus-1-3:amd64 1.4.14-1ubuntu1.3 cannot be configured because libdbus-1-3:i386 is in a different version (1.4.14-1ubuntu1)
      No apport report written because the error message indicates its a followup error from a previous failure.
      dpkg: dependency problems prevent configuration of upstart:
       upstart depends on libc6 (>= 2.9); however:
        Package libc6 is not configured yet.
       upstart depends on libdbus-1-3 (>= 1.2.16); however:
        Package libdbus-1-3 is not configured yet.
       upstart depends on libudev0 (>= 151); however:
        Package libudev0 is not configured yet.
      dpkg: error processing upstart (--configure):
       dependency problems - leaving unconfigured
      dpkg: error processing libfreetype6 (--configure):
       libfreetype6:amd64 2.4.4-2ubuntu1.2 cannot be configured because libfreetype6:i386 is in a different version (2.4.4-2ubuntu1.1)
      dpkg: dependency problems prevent configuration of libcairo-script-interpreter2:
       libcairo-script-interpreter2 depends on libc6 (>= 2.11); however:
        Package libc6 is not configured yet.
       libcairo-script-interpreter2 depends on libfreetype6 (>= 2.2.1); however:
        Package libfreetype6 is not configured yet.
      dpkg: error processing libcairo-script-interpreter2 (--configure):
       dependency problems - leavinNo apport report written because MaxReports is reached already
      No apport report written because MaxReports is reached already
      No apport report written because MaxReports is reached already
      No apport report written because MaxReports is reached already
      No apport report written because MaxReports is reached already
      No apport report written because MaxReports is reached already
      No apport report written because MaxReports is reached already
      No apport report written because MaxReports is reached already
      No apport report written because MaxReports is reached already
      No apport report written because MaxReports is reached already
      No apport report written because MaxReports is reached already
      g unconfigured
      dpkg: error processing libpng12-0 (--configure):
       libpng12-0:amd64 1.2.46-3ubuntu1.3 cannot be configured because libpng12-0:i386 is in a different version (1.2.46-3ubuntu1.1)
      dpkg: dependency problems prevent configuration of gstreamer0.10-plugins-good:
       gstreamer0.10-plugins-good depends on libc6 (>= 2.11); however:
        Package libc6 is not configured yet.
       gstreamer0.10-plugins-good depends on libpng12-0 (>= 1.2.13-4); however:
        Package libpng12-0 is not configured yet.
      dpkg: error processing gstreamer0.10-plugins-good (--configure):
       dependency problems - leaving unconfigured
      dpkg: dependency problems prevent configuration of libc-dev-bin:
       libc-dev-bin depends on libc6 (>> 2.13~); however:
        Package libc6 is not configured yet.
       libc-dev-bin depends on libc6 (<< 2.14); however:
        Package libc6 is not configured yet.
      dpkg: error processing libc-dev-bin (--configure):
       dependency problems - leaving unconfigured
      dpkg: dependency problems prevent configuration of libc6-dev:
       lNo apport report written because MaxReports is reached already
      No apport report written because MaxReports is reached already
      No apport report written because MaxReports is reached already
      No apport report written because MaxReports is reached already
      No apport report written because MaxReports is reached already
      No apport report written because MaxReports is reached already
      ibc6-dev depends on libc6 (= 2.13-20ubuntu5.3); however:
        Package libc6 is not configured yet.
       libc6-dev depends on libc-dev-bin (= 2.13-20ubuntu5.3); however:
        Package libc-dev-bin is not configured yet.
      dpkg: error processing libc6-dev (--configure):
       dependency problems - leaving unconfigured
      dpkg: dependency problems prevent configuration of libc6-i386:
       libc6-i386 depends on libc6 (= 2.13-20ubuntu5.3); however:
        Package libc6 is not configured yet.
      dpkg: error processing libc6-i386 (--configure):
       dependency problems - leaving unconfigured
      dpkg: dependency problems prevent configuration of libfreetype6-dev:
       libfreetype6-dev depends on libfreetype6 (= 2.4.4-2ubuntu1.2); however:
        Package libfreetype6 is not configured yet.
       libfreetype6-dev depends on libc6-dev | libc-dev; however:
        Package libc6-dev is not configured yet.
        Package libc-dev is not installed.
        Package libc6-dev which provides libc-dev is not configured yet.
      dpkg: error processing libfreetype6-dev (--configure):
       dependency problems - leaving unconfigured
      dpkg: dependency problems prevent configuration of libfontconfig1-dev:
       libfontconfig1-dev depends on libfreetype6-dev (>= 2.1.7); however:
        Package libfreetype6-dev is not configured yet.
      dpkg: error processing libfontconfig1-dev (--configure):
       dependency problems - leaving unconfigured
      dpkg: dependency problems prevent configuration of libpng12-dev:
       libpng12-dev depends on libpng12-0 (= 1.2.46-3ubuntu1.3); however:
        Package libpng12-0 is not configured yet.
      dpkg: error processing libpng12-dev (--configure):
       dependency problems - leaving unconfigured
      dpkg: dependency problems prevent configuration of libcairo2-dev:
       libcairo2-dev depends on libcairo-script-interpreter2 (= 1.10.2-6ubuntu3); however:
        Package libcairo-script-interpreter2 is not configured yet.
       libcairo2-dev depends on libfontconfig1-dev (>= 2.2.95); however:
        Package libfontconfig1-dev is not configured yet.
       libcairo2-dev depends on libfreetype6-dev (>= 2.1.10); however:
        Package libfreetype6-dev is not configured yet.
       libcairo2-dev depends on libpng12-dev; however:
        Package libpng12-dev is not configured yet.
      dpkg: error processing libcairo2-dev (--configure):
       dependency problems - leaving unconfigured
      dpkg: dependency problems prevent configuration of libgdk-pixbuf2.0-dev:
       libgdk-pixbuf2.0-dev depends on libc6 (>= 2.2.5); however:
        Package libc6 is not configured yet.
       libgdk-pixbuf2.0-dev depends on libpng12-dev; however:
        Package libpng12-dev is not configured yet.
      dpkg: error processing libgdk-pixbuf2.0-dev (--configure):
       dependency problems - leaving unconfigured
      dpkg: dependency problems prevent configuration of libxft-dev:
       libxft-dev depends on libc6-dev | libc-dev; however:
        Package libc6-dev is not configured yet.
        Package libc-dev is not installed.
        Package libc6-dev which provides libc-dev is not configured yet.
       libxft-dev depends on libfontconfig1-dev; however:
        Package libfontconfig1-dev is not configured yet.
       libxft-dev depends on libfreetype6-dev; however:
        Package libfreetype6-dev is not configured yet.
      dpkg: error processing libxft-dev (--configure):
       dependency problems - leaving unconfigured
      dpkg: dependency problems prevent configuration of libpango1.0-dev:
       libpango1.0-dev depends on libc6 (>= 2.7); however:
        Package libc6 is not configured yet.
       libpango1.0-dev depends on libfreetype6-dev (>= 2.1.3); however:
        Package libfreetype6-dev is not configured yet.
       libpango1.0-dev depends on libxft-dev; however:
        Package libxft-dev is not configured yet.
       libpango1.0-dev depends on libfontconfig1-dev (>= 2.1.91); however:
        Package libfontconfig1-dev is not configured yet.
       libpango1.0-dev depends on libcairo2-dev (>= 1.8.2-2); however:
        Package libcairo2-dev is not configured yet.
      dpkg: error processing libpango1.0-dev (--configure):
       dependency problems - leaving unconfigured
      dpkg: dependency problems prevent configuration of libgtk2.0-dev:
       libgtk2.0-dev depends on libgdk-pixbuf2.0-dev (>= 2.21.0); however:
        Package libgdk-pixbuf2.0-dev is not configured yet.
       libgtk2.0-dev depends on libpango1.0-dev (>= 1.20); however:
        Package libpango1.0-dev is not configured yet.
       libgtk2.0-dev depends on libcairo2-dev (>= 1.6.4-6.1); however:
        Package libcairo2-dev is not configured yet.
      dpkg: error processing libgtk2.0-dev (--configure):
       dependency problems - leaving unconfigured
      dpkg: dependency problems prevent configuration of python-gtk2-dev:
       python-gtk2-dev depends on libgtk2.0-dev (>= 2.18.0); however:
        Package libgtk2.0-dev is not configured yet.
      dpkg: error processing python-gtk2-dev (--configure):
       dependency problems - leaving unconfigured
      Errors were encountered while processing:
       libc6
       libudev0
       libdbus-1-3
       upstart
       libfreetype6
       libcairo-script-interpreter2
       libpng12-0
       gstreamer0.10-plugins-good
       libc-dev-bin
       libc6-dev
       libc6-i386
       libfreetype6-dev
       libfontconfig1-dev
       libpng12-dev
       libcairo2-dev
       libgdk-pixbuf2.0-dev
       libxft-dev
       libpango1.0-dev
       libgtk2.0-dev
       python-gtk2-dev
      E: Sub-process /usr/bin/dpkg returned an error code (1)

      Comment


        #4
        Those repos you cannot connect to might be where the problem lies, you may want to disable them or fix them if that is possible.

        Sent from my SCH-I510 using Tapatalk 2

        Comment


          #5
          If you want to keep those i386 packages - What is the error message if you try to install/upgrade those i386 packages - command:

          Code:
          sudo apt-get install libc6:i386 libdbus-1-3:i386 libfreetype6:i386 libpng12-0:i386
          Note - only copy&pasted the first four of the i386 packages from yout output !

          man apt-get

          install
          install is followed by one or more packages desired for installation or upgrading...

          Searching with the "apt cannot be configured because is in a different version"
          -> http://askubuntu.com/questions/12647...in-a-different
          -> http://askubuntu.com/questions/20564...ferent-version
          -> http://askubuntu.com/questions/18795...n-error-code-1
          -> ...etc...
          Last edited by OneLine; Jan 04, 2013, 07:47 AM.
          Have you tried ?

          - How to Ask a Question on the Internet and Get It Answered
          - How To Ask Questions The Smart Way

          Comment


            #6
            @slackcub: Are you still having problems? If so, we can perform some dpkg surgery to get you going.

            Comment


              #7
              @oneline I tried just copying the line you said on there, I would have added more, but I fugured that if something was going to happen, it would happen no matter how many packages are included. This is what I got:

              Code:
              # apt-get install libc6:i386 libdbus-1-3:i386 libfreetype6:i386 libpng12-0:i386
              Reading package lists... Done
              Building dependency tree       
              Reading state information... Done
              E: Unable to locate package libc6:i386
              E: Unable to locate package libdbus-1-3:i386
              E: Unable to locate package libfreetype6:i386
              E: Unable to locate package libpng12-0:i386
              @Steveriley Yes I am. And after an extended postponed holiday weekend the family, I'm finally able to get this fixed! Any help is amazing and greatly appreciated.

              David

              Comment


                #8
                Did you by chance download and install one or more applications instead if using Muon Package Manager / Muon Software Center?
                Windows no longer obstructs my view.
                Using Kubuntu Linux since March 23, 2007.
                "It is a capital mistake to theorize before one has data." - Sherlock Holmes

                Comment


                  #9
                  I've never used muon. Prefer apt-get/aptitude from the command line. I think I may just need to do a fresh install.. May be less of a headache than getting all this straightened out.

                  David

                  Comment


                    #10
                    I don't use the GUI package managers to install/remove packages either. I also use the CLI and apt-get. My question was not so much that you didn't use the GUI, but that you downloaded (as opposed to using apt-get) and installed an application that wasn't available in the repositories for 11.10, thus introducing (what is now) a dependency problem.
                    Windows no longer obstructs my view.
                    Using Kubuntu Linux since March 23, 2007.
                    "It is a capital mistake to theorize before one has data." - Sherlock Holmes

                    Comment


                      #11
                      Nothing that I can think of.

                      Comment


                        #12
                        Are you using apt-get dist-upgrade or apt-get upgrade? The former will intelligently handle changing dependencies.
                        Last edited by Snowhog; Jan 13, 2013, 08:54 PM.
                        Windows no longer obstructs my view.
                        Using Kubuntu Linux since March 23, 2007.
                        "It is a capital mistake to theorize before one has data." - Sherlock Holmes

                        Comment


                          #13
                          The problem comes in with apt-get install -f

                          David

                          Comment


                            #14
                            That may be due to having used apt-get upgrade instead of apt-get dist-upgrade. I'd suggest you update the package cache and then dist-upgrade:
                            Code:
                            sudo apt-get update && sudo apt-get dist-upgrade
                            Windows no longer obstructs my view.
                            Using Kubuntu Linux since March 23, 2007.
                            "It is a capital mistake to theorize before one has data." - Sherlock Holmes

                            Comment


                              #15
                              I was following what OneLine posted up above (in the first couple replies). So I don't need intstall -f? I'll try it.

                              David

                              Comment

                              Working...
                              X