Page 2 of 4 FirstFirst 1234 LastLast
Results 11 to 20 of 36

Thread: Broken packages on Ubuntu 12.04

  1. #11
    Join Date
    Oct 2012
    Beans
    18

    Re: Broken packages on Ubuntu 12.04

    Quote Originally Posted by raja.genupula View Post
    do the same for the above two packages and follow the remaining instructions .
    I cannot dpkg -r libc6 because heaps of packages depend upon it. I cannot -r /var/cache/apt/archives/libc6_2.15-0ubuntu10.3_amd64.deb and sudo rm -rf /var/cache/apt/archives/libc6_2.15-0ubuntu10.3_i386.deb because then if I do apt-get install -f, I get the same error again.

    How do I get rid of this web of unmet dependencies?

    Code:
    gaurav@gaurav-gamma:~$ sudo apt-get install libc6 --reinstall
    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 : Breaks: libc6:i386 (!= 2.15-0ubuntu10.3) but 2.15-0ubuntu10.2 is to be installed
     libc6:i386 : Depends: libc-bin:i386 (= 2.15-0ubuntu10.2)
                  Breaks: libc6 (!= 2.15-0ubuntu10.2) but 2.15-0ubuntu10.3 is to be installed
    E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).
    So 2.15-0ubuntu10.2 is needed to satisfy libc6-bin's dependency, but then the broken packages need 2.15-0ubuntu10.3

    How do I go about this? Thanks.

  2. #12
    Join Date
    May 2007
    Beans
    314
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: Broken packages on Ubuntu 12.04

    Quote Originally Posted by GVRV View Post
    Can you please tell me how I should go about it? I cannot apt-get remove libc6, and install -f gives me the errors I posted above. How can I correct them? Thanks.
    Download packages with proper versions from here.
    And use dpkg command to remove conflicting packages and installing the downloaded ones. You may need --force option. So, to remove libc6-i386 package command would be:
    sudo dpkg -r --force-depends libc6-i386
    This command will remove the package even though there is a dependency problem.
    And use dpkg to install packages:
    sudo dpkg -i --force-depends libc6-i386_2.15-0ubuntu10_amd64.deb

  3. #13
    Join Date
    Oct 2012
    Beans
    18

    Re: Broken packages on Ubuntu 12.04

    Quote Originally Posted by AlexDudko View Post
    Download packages with proper versions from here.
    And use dpkg command to remove conflicting packages and installing the downloaded ones. You may need --force option. So, to remove libc6-i386 package command would be:

    This command will remove the package even though there is a dependency problem.
    And use dpkg to install packages:
    Sorry to sound like a complete noob, but I'm still not quite sure *which* packages do I need to completely remove and then install using the package site?

    Do I install the precise packages from the site, or precise-security packages or precise-updates packages? Should I post the contents of my sources.list so you can have a better idea of how I got into this dependency mess in the first place?

    Thanks for your help. Much appreciated.

    EDIT: Contents of /etc/apt/sources.list in case it helps

    Code:
    # deb cdrom:[Ubuntu 12.04 LTS _Precise Pangolin_ - Release amd64 (20120425)]/ dists/precise/main/binary-i386/
    
    # deb cdrom:[Ubuntu 12.04 LTS _Precise Pangolin_ - Release amd64 (20120425)]/ dists/precise/restricted/binary-i386/
    # deb cdrom:[Ubuntu 12.04 LTS _Precise Pangolin_ - Release amd64 (20120425)]/ precise main restricted
    deb-src http://archive.ubuntu.com/ubuntu precise main restricted #Added by software-properties
    
    # See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to
    # newer versions of the distribution.
    deb http://in.archive.ubuntu.com/ubuntu/ precise main restricted
    deb-src http://in.archive.ubuntu.com/ubuntu/ precise restricted main multiverse universe #Added by software-properties
    
    ## Major bug fix updates produced after the final release of the
    ## distribution.
    deb http://in.archive.ubuntu.com/ubuntu/ precise-updates main restricted
    deb-src http://in.archive.ubuntu.com/ubuntu/ precise-updates restricted main multiverse universe #Added by software-properties
    
    ## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
    ## team. Also, please note that software in universe WILL NOT receive any
    ## review or updates from the Ubuntu security team.
    deb http://in.archive.ubuntu.com/ubuntu/ precise universe
    deb http://in.archive.ubuntu.com/ubuntu/ precise-updates universe
    
    ## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu 
    ## team, and may not be under a free licence. Please satisfy yourself as to 
    ## your rights to use the software. Also, please note that software in 
    ## multiverse WILL NOT receive any review or updates from the Ubuntu
    ## security team.
    deb http://in.archive.ubuntu.com/ubuntu/ precise multiverse
    deb http://in.archive.ubuntu.com/ubuntu/ precise-updates multiverse
    
    ## N.B. software from this repository may not have been tested as
    ## extensively as that contained in the main release, although it includes
    ## newer versions of some applications which may provide useful features.
    ## Also, please note that software in backports WILL NOT receive any review
    ## or updates from the Ubuntu security team.
    deb http://in.archive.ubuntu.com/ubuntu/ precise-backports main restricted universe multiverse
    deb-src http://in.archive.ubuntu.com/ubuntu/ precise-backports main restricted universe multiverse #Added by software-properties
    
    deb http://security.ubuntu.com/ubuntu precise-security main restricted
    deb-src http://security.ubuntu.com/ubuntu precise-security restricted main multiverse universe #Added by software-properties
    deb http://security.ubuntu.com/ubuntu precise-security universe
    deb http://security.ubuntu.com/ubuntu precise-security multiverse
    
    ## Uncomment the following two lines to add software from Canonical's
    ## 'partner' repository.
    ## This software is not part of Ubuntu, but is offered by Canonical and the
    ## respective vendors as a service to Ubuntu users.
    # deb http://archive.canonical.com/ubuntu precise partner
    # deb-src http://archive.canonical.com/ubuntu precise partner
    
    ## This software is not part of Ubuntu, but is offered by third-party
    ## developers who want to ship their latest software.
    deb http://extras.ubuntu.com/ubuntu precise main
    deb-src http://extras.ubuntu.com/ubuntu precise main
    Last edited by GVRV; October 21st, 2012 at 05:43 AM.

  4. #14
    Join Date
    May 2007
    Beans
    314
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: Broken packages on Ubuntu 12.04

    See the versions of packages I pointed at above. It should be precise-updates.
    I'd remove first libc6-i386 package with all its dependencies to narrow procedures.

  5. #15
    Join Date
    May 2007
    Beans
    314
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: Broken packages on Ubuntu 12.04

    Quote Originally Posted by GVRV View Post
    Sorry to sound like a complete noob, but I'm still not quite sure *which* packages do I need to completely remove and then install using the package site?

    Do I install the precise packages from the site, or precise-security packages or precise-updates packages? Should I post the contents of my sources.list so you can have a better idea of how I got into this dependency mess in the first place?

    Thanks for your help. Much appreciated.

    EDIT: Contents of /etc/apt/sources.list in case it helps

    Code:
    # deb cdrom:[Ubuntu 12.04 LTS _Precise Pangolin_ - Release amd64 (20120425)]/ dists/precise/main/binary-i386/
    
    # deb cdrom:[Ubuntu 12.04 LTS _Precise Pangolin_ - Release amd64 (20120425)]/ dists/precise/restricted/binary-i386/
    # deb cdrom:[Ubuntu 12.04 LTS _Precise Pangolin_ - Release amd64 (20120425)]/ precise main restricted
    deb-src http://archive.ubuntu.com/ubuntu precise main restricted #Added by software-properties
    
    # See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to
    # newer versions of the distribution.
    deb http://in.archive.ubuntu.com/ubuntu/ precise main restricted
    deb-src http://in.archive.ubuntu.com/ubuntu/ precise restricted main multiverse universe #Added by software-properties
    
    ## Major bug fix updates produced after the final release of the
    ## distribution.
    deb http://in.archive.ubuntu.com/ubuntu/ precise-updates main restricted
    deb-src http://in.archive.ubuntu.com/ubuntu/ precise-updates restricted main multiverse universe #Added by software-properties
    
    ## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
    ## team. Also, please note that software in universe WILL NOT receive any
    ## review or updates from the Ubuntu security team.
    deb http://in.archive.ubuntu.com/ubuntu/ precise universe
    deb http://in.archive.ubuntu.com/ubuntu/ precise-updates universe
    
    ## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu 
    ## team, and may not be under a free licence. Please satisfy yourself as to 
    ## your rights to use the software. Also, please note that software in 
    ## multiverse WILL NOT receive any review or updates from the Ubuntu
    ## security team.
    deb http://in.archive.ubuntu.com/ubuntu/ precise multiverse
    deb http://in.archive.ubuntu.com/ubuntu/ precise-updates multiverse
    
    ## N.B. software from this repository may not have been tested as
    ## extensively as that contained in the main release, although it includes
    ## newer versions of some applications which may provide useful features.
    ## Also, please note that software in backports WILL NOT receive any review
    ## or updates from the Ubuntu security team.
    deb http://in.archive.ubuntu.com/ubuntu/ precise-backports main restricted universe multiverse
    deb-src http://in.archive.ubuntu.com/ubuntu/ precise-backports main restricted universe multiverse #Added by software-properties
    
    deb http://security.ubuntu.com/ubuntu precise-security main restricted
    deb-src http://security.ubuntu.com/ubuntu precise-security restricted main multiverse universe #Added by software-properties
    deb http://security.ubuntu.com/ubuntu precise-security universe
    deb http://security.ubuntu.com/ubuntu precise-security multiverse
    
    ## Uncomment the following two lines to add software from Canonical's
    ## 'partner' repository.
    ## This software is not part of Ubuntu, but is offered by Canonical and the
    ## respective vendors as a service to Ubuntu users.
    # deb http://archive.canonical.com/ubuntu precise partner
    # deb-src http://archive.canonical.com/ubuntu precise partner
    
    ## This software is not part of Ubuntu, but is offered by third-party
    ## developers who want to ship their latest software.
    deb http://extras.ubuntu.com/ubuntu precise main
    deb-src http://extras.ubuntu.com/ubuntu precise main
    According to your previous posts there are some other repositories enabled, look for them in /etc/apt/sources.list.d directory.

  6. #16
    Join Date
    Oct 2012
    Beans
    18

    Re: Broken packages on Ubuntu 12.04

    Quote Originally Posted by AlexDudko View Post
    See the versions of packages I pointed at above. It should be precise-updates.
    I'd remove first libc6-i386 package with all its dependencies to narrow procedures.
    Output of me trying to remove the packages:

    Code:
    gaurav@gaurav-gamma:~$ sudo dpkg -r --force-depends libc6-i386
    dpkg: warning: there's no installed package matching libc6-i386
    gaurav@gaurav-gamma:~$ sudo dpkg -r --force-depends libc6-amd64
    dpkg: warning: there's no installed package matching libc6-amd64
    gaurav@gaurav-gamma:~$ sudo dpkg -r --force-depends libc6-dev
    dpkg: warning: there's no installed package matching libc6-dev
    gaurav@gaurav-gamma:~$ sudo dpkg -r --force-depends libc6-bin
    dpkg: warning: there's no installed package matching libc6-bin
    Output of apt-get install -f

    Code:
    gaurav@gaurav-gamma:~$ sudo apt-get install -f
    Reading package lists... Done
    Building dependency tree       
    Reading state information... Done
    Correcting dependencies... Done
    The following extra packages will be installed:
      libc6 libc6:i386 libc6-dev libc6-i386
    Suggested packages:
      glibc-doc glibc-doc:i386 locales:i386
    The following NEW packages will be installed:
      libc6-dev libc6-i386
    The following packages will be upgraded:
      libc6 libc6:i386
    2 upgraded, 2 newly installed, 0 to remove and 25 not upgraded.
    Need to get 0 B/15.5 MB of archives.
    After this operation, 21.6 MB of additional disk space will be used.
    Do you want to continue [Y/n]? 
    Preconfiguring packages ...
    (Reading database ... 365163 files and directories currently installed.)
    Preparing to replace libc6 2.15-0ubuntu10.2 (using .../libc6_2.15-0ubuntu10.3_amd64.deb) ...
    De-configuring libc6:i386 ...
    dpkg: error processing /var/cache/apt/archives/libc6_2.15-0ubuntu10.3_amd64.deb (--unpack):
     subprocess new pre-installation script returned error exit status 1
    Preparing to replace libc6:i386 2.15-0ubuntu10.2 (using .../libc6_2.15-0ubuntu10.3_i386.deb) ...
    De-configuring libc6 ...
    dpkg: error processing /var/cache/apt/archives/libc6_2.15-0ubuntu10.3_i386.deb (--unpack):
     subprocess new pre-installation script returned error exit status 1
    Errors were encountered while processing:
     /var/cache/apt/archives/libc6_2.15-0ubuntu10.3_amd64.deb
     /var/cache/apt/archives/libc6_2.15-0ubuntu10.3_i386.deb
    E: Sub-process /usr/bin/dpkg returned an error code (1)
    So I need to find all of these packages on the ubuntu packages site under precise-updates:

    Code:
    The following extra packages will be installed:
      libc6 libc6:i386 libc6-dev libc6-i386
    Suggested packages:
      glibc-doc glibc-doc:i386 locales:i386
    The following NEW packages will be installed:
      libc6-dev libc6-i386
    The following packages will be upgraded:
      libc6 libc6:i386

  7. #17
    Join Date
    Oct 2012
    Beans
    18

    Re: Broken packages on Ubuntu 12.04

    Quote Originally Posted by AlexDudko View Post
    According to your previous posts there are some other repositories enabled, look for them in /etc/apt/sources.list.d directory.
    Yup, that's correct, here's the output of `cat *` for /etc/apt/sources.list.d/ directory

    Code:
    ### THIS FILE IS AUTOMATICALLY CONFIGURED ###
    # You may comment out this entry, but any other modifications may be lost.
    deb http://dl.google.com/linux/chrome/deb/ stable main
    ### THIS FILE IS AUTOMATICALLY CONFIGURED ###
    # You may comment out this entry, but any other modifications may be lost.
    deb http://dl.google.com/linux/chrome/deb/ stable main
    deb http://ppa.launchpad.net/juju/pkgs/ubuntu precise main
    deb-src http://ppa.launchpad.net/juju/pkgs/ubuntu precise main
    deb http://ppa.launchpad.net/pitti/postgresql/ubuntu precise main
    deb-src http://ppa.launchpad.net/pitti/postgresql/ubuntu precise main
    deb http://ppa.launchpad.net/pitti/postgresql/ubuntu precise main
    deb-src http://ppa.launchpad.net/pitti/postgresql/ubuntu precise main

  8. #18
    Join Date
    Oct 2012
    Beans
    18

    Re: Broken packages on Ubuntu 12.04

    Quote Originally Posted by AlexDudko View Post
    See the versions of packages I pointed at above. It should be precise-updates.
    I'd remove first libc6-i386 package with all its dependencies to narrow procedures.
    When I am trying to install the packages from the website, I still get an error. Here's what happens:

    Code:
    gaurav@gaurav-gamma:~/tmp$ sudo dpkg -i --force-depends /home/gaurav/Downloads/libc6_2.15-0ubuntu10.3_i386.deb 
    (Reading database ... 365163 files and directories currently installed.)
    Preparing to replace libc6:i386 2.15-0ubuntu10.2 (using .../libc6_2.15-0ubuntu10.3_i386.deb) ...
    De-configuring libc6 ...
    dpkg: error processing /home/gaurav/Downloads/libc6_2.15-0ubuntu10.3_i386.deb (--install):
     subprocess new pre-installation script returned error exit status 1
    Errors were encountered while processing:
     /home/gaurav/Downloads/libc6_2.15-0ubuntu10.3_i386.deb
    I could successfully install libc6-bin using the package on the website, I was then planning on installing libc6, then libc6-amd64 and libc6-i386 and finally libc6-dev. But I'm stuck on this error.

    I still have no idea how my packages ended up in this inconsistent situation. Is it a configuration issue?

  9. #19
    Join Date
    May 2007
    Beans
    314
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: Broken packages on Ubuntu 12.04

    Please, comment all your ppa's first. There are also some duplicate repositories (Google, for example), it shouldn't be so.
    Comment them all and do:
    sudo apt-get clean
    sudo apt-get install -f
    Do you have Synaptic Package manager installed? Can you install it? If yes, it could help you as well.

  10. #20
    Join Date
    Oct 2012
    Beans
    18

    Re: Broken packages on Ubuntu 12.04

    Quote Originally Posted by AlexDudko View Post
    Please, comment all your ppa's first. There are also some duplicate repositories (Google, for example), it shouldn't be so.
    Comment them all and do:


    Do you have Synaptic Package manager installed? Can you install it? If yes, it could help you as well.
    I disabled all PPAs (From software center -> Edit -> Software sources) and then I tried to do apt-get clean, apt-get update, apt-get install -f, still no luck. We end up with the same error.

    Code:
    gaurav@gaurav-gamma:~$ sudo apt-get clean
    [sudo] password for gaurav: 
    gaurav@gaurav-gamma:~$ sudo apt-get update
    Ign http://security.ubuntu.com precise-security InRelease                      
    Ign http://archive.ubuntu.com precise InRelease                                
    Hit http://security.ubuntu.com precise-security Release.gpg                    
    Hit http://archive.ubuntu.com precise Release.gpg                              
    Ign http://in.archive.ubuntu.com precise InRelease
    Ign http://in.archive.ubuntu.com precise-updates InRelease
    Hit http://security.ubuntu.com precise-security Release
    Hit http://security.ubuntu.com precise-security/restricted Sources    
    Hit http://archive.ubuntu.com precise Release  
    Hit http://in.archive.ubuntu.com precise Release.gpg                  
    Hit http://security.ubuntu.com precise-security/main Sources          
    Hit http://security.ubuntu.com precise-security/multiverse Sources   
    Hit http://security.ubuntu.com precise-security/universe Sources     
    Hit http://security.ubuntu.com precise-security/main amd64 Packages
    Hit http://security.ubuntu.com precise-security/restricted amd64 Packages
    Get:1 http://in.archive.ubuntu.com precise-updates Release.gpg [198 B]
    Hit http://archive.ubuntu.com precise/main Sources                             
    Hit http://security.ubuntu.com precise-security/universe amd64 Packages
    Hit http://security.ubuntu.com precise-security/multiverse amd64 Packages
    Hit http://security.ubuntu.com precise-security/main i386 Packages   
    Hit http://security.ubuntu.com precise-security/restricted i386 Packages
    Hit http://security.ubuntu.com precise-security/universe i386 Packages
    Hit http://security.ubuntu.com precise-security/multiverse i386 Packages
    Hit http://security.ubuntu.com precise-security/main TranslationIndex
    Hit http://security.ubuntu.com precise-security/multiverse TranslationIndex
    Hit http://security.ubuntu.com precise-security/restricted TranslationIndex
    Hit http://security.ubuntu.com precise-security/universe TranslationIndex
    Hit http://in.archive.ubuntu.com precise Release                     
    Hit http://archive.ubuntu.com precise/restricted Sources              
    Hit http://security.ubuntu.com precise-security/main Translation-en   
    Hit http://security.ubuntu.com precise-security/multiverse Translation-en
    Hit http://security.ubuntu.com precise-security/restricted Translation-en
    Get:2 http://in.archive.ubuntu.com precise-updates Release [49.6 kB]
    Hit http://security.ubuntu.com precise-security/universe Translation-en
    Hit http://in.archive.ubuntu.com precise/restricted Sources
    Hit http://in.archive.ubuntu.com precise/main Sources
    Hit http://in.archive.ubuntu.com precise/multiverse Sources
    Hit http://in.archive.ubuntu.com precise/universe Sources
    Hit http://in.archive.ubuntu.com precise/main amd64 Packages
    Hit http://in.archive.ubuntu.com precise/restricted amd64 Packages
    Hit http://in.archive.ubuntu.com precise/universe amd64 Packages
    Hit http://in.archive.ubuntu.com precise/multiverse amd64 Packages
    Hit http://in.archive.ubuntu.com precise/main i386 Packages
    Hit http://in.archive.ubuntu.com precise/restricted i386 Packages
    Hit http://in.archive.ubuntu.com precise/universe i386 Packages                
    Hit http://in.archive.ubuntu.com precise/multiverse i386 Packages              
    Hit http://in.archive.ubuntu.com precise/main TranslationIndex                 
    Hit http://in.archive.ubuntu.com precise/multiverse TranslationIndex           
    Hit http://in.archive.ubuntu.com precise/restricted TranslationIndex           
    Hit http://in.archive.ubuntu.com precise/universe TranslationIndex             
    Get:3 http://in.archive.ubuntu.com precise-updates/restricted Sources [4,395 B]
    Get:4 http://in.archive.ubuntu.com precise-updates/main Sources [178 kB]       
    Get:5 http://in.archive.ubuntu.com precise-updates/multiverse Sources [4,745 B]
    Get:6 http://in.archive.ubuntu.com precise-updates/universe Sources [60.2 kB]  
    Get:7 http://in.archive.ubuntu.com precise-updates/main amd64 Packages [405 kB]
    Get:8 http://in.archive.ubuntu.com precise-updates/restricted amd64 Packages [8,215 B]
    Get:9 http://in.archive.ubuntu.com precise-updates/universe amd64 Packages [149 kB]
    Get:10 http://in.archive.ubuntu.com precise-updates/multiverse amd64 Packages [8,948 B]
    Get:11 http://in.archive.ubuntu.com precise-updates/main i386 Packages [410 kB]
    Get:12 http://in.archive.ubuntu.com precise-updates/restricted i386 Packages [8,218 B]
    Get:13 http://in.archive.ubuntu.com precise-updates/universe i386 Packages [149 kB]
    Get:14 http://in.archive.ubuntu.com precise-updates/multiverse i386 Packages [9,930 B]
    Hit http://in.archive.ubuntu.com precise-updates/main TranslationIndex         
    Hit http://in.archive.ubuntu.com precise-updates/multiverse TranslationIndex   
    Hit http://in.archive.ubuntu.com precise-updates/restricted TranslationIndex   
    Hit http://in.archive.ubuntu.com precise-updates/universe TranslationIndex     
    Hit http://in.archive.ubuntu.com precise/main Translation-en                   
    Hit http://in.archive.ubuntu.com precise/multiverse Translation-en             
    Hit http://in.archive.ubuntu.com precise/restricted Translation-en             
    Hit http://in.archive.ubuntu.com precise/universe Translation-en               
    Hit http://in.archive.ubuntu.com precise-updates/main Translation-en           
    Hit http://in.archive.ubuntu.com precise-updates/multiverse Translation-en     
    Hit http://in.archive.ubuntu.com precise-updates/restricted Translation-en     
    Hit http://in.archive.ubuntu.com precise-updates/universe Translation-en       
    Fetched 1,445 kB in 18s (78.1 kB/s)                                            
    Reading package lists... Done
    gaurav@gaurav-gamma:~$ 
    gaurav@gaurav-gamma:~$ git status
    fatal: Not a git repository (or any of the parent directories): .git
    gaurav@gaurav-gamma:~$ sudo apt-get install -f 
    Reading package lists... Done
    Building dependency tree       
    Reading state information... Done
    Correcting dependencies... Done
    The following extra packages will be installed:
      libc6 libc6:i386 libc6-dev libc6-i386
    Suggested packages:
      glibc-doc glibc-doc:i386 locales:i386
    The following NEW packages will be installed:
      libc6-dev libc6-i386
    The following packages will be upgraded:
      libc6 libc6:i386
    2 upgraded, 2 newly installed, 0 to remove and 25 not upgraded.
    Need to get 15.5 MB of archives.
    After this operation, 21.6 MB of additional disk space will be used.
    Do you want to continue [Y/n]? 
    Get:1 http://in.archive.ubuntu.com/ubuntu/ precise-updates/main libc6 i386 2.15-0ubuntu10.3 [3,940 kB]
    Get:2 http://in.archive.ubuntu.com/ubuntu/ precise-updates/main libc6 amd64 2.15-0ubuntu10.3 [4,653 kB]
    Get:3 http://in.archive.ubuntu.com/ubuntu/ precise-updates/main libc6-dev amd64 2.15-0ubuntu10.3 [2,945 kB]
    Get:4 http://in.archive.ubuntu.com/ubuntu/ precise-updates/main libc6-i386 amd64 2.15-0ubuntu10.3 [3,993 kB]
    Fetched 15.5 MB in 1min 28s (175 kB/s)                                         
    Preconfiguring packages ...
    (Reading database ... 365163 files and directories currently installed.)
    Preparing to replace libc6 2.15-0ubuntu10.2 (using .../libc6_2.15-0ubuntu10.3_amd64.deb) ...
    De-configuring libc6:i386 ...
    dpkg: error processing /var/cache/apt/archives/libc6_2.15-0ubuntu10.3_amd64.deb (--unpack):
     subprocess new pre-installation script returned error exit status 1
    Preparing to replace libc6:i386 2.15-0ubuntu10.2 (using .../libc6_2.15-0ubuntu10.3_i386.deb) ...
    De-configuring libc6 ...
    dpkg: error processing /var/cache/apt/archives/libc6_2.15-0ubuntu10.3_i386.deb (--unpack):
     subprocess new pre-installation script returned error exit status 1
    Errors were encountered while processing:
     /var/cache/apt/archives/libc6_2.15-0ubuntu10.3_amd64.deb
     /var/cache/apt/archives/libc6_2.15-0ubuntu10.3_i386.deb
    E: Sub-process /usr/bin/dpkg returned an error code (1)
    I have no clue what is happening :/

    Debug statements from trying to install libc6

    Code:
    gaurav@gaurav-gamma:~/www/PHP/v2.atuninow$ sudo dpkg -i --force-depends --debug 777 /var/cache/apt/archives/libc6_2.15-0ubuntu10.3_amd64.deb
    D000010: ensure_pathname_nonexisting `/var/lib/dpkg/tmp.ci'
    (Reading database ... 365163 files and directories currently installed.)
    Preparing to replace libc6 2.15-0ubuntu10.2 (using .../libc6_2.15-0ubuntu10.3_amd64.deb) ...
    D000200: process_archive conffile `/etc/ld.so.conf.d/x86_64-linux-gnu.conf' in package libc6 - conff ?
    D000020: process_archive conffile `/etc/ld.so.conf.d/x86_64-linux-gnu.conf' package=libc6 same hash=593ad12389ab2b6f952e7ede67b8fbbf
    D000200: oldconffsetflags `/etc/ld.so.conf.d/x86_64-linux-gnu.conf' namenode 0x628e090 flags 5
    D000001: process_archive oldversionstatus=installed
    D000002: fork/exec /var/lib/dpkg/info/libc6:amd64.prerm ( upgrade 2.15-0ubuntu10.3 )
    De-configuring libc6:i386 ...
    D000002: fork/exec /var/lib/dpkg/info/libc6:i386.prerm ( deconfigure in-favour libc6 2.15-0ubuntu10.3 )
    D000002: fork/exec /var/lib/dpkg/tmp.ci/preinst ( upgrade 2.15-0ubuntu10.2 )
    dpkg: error processing /var/cache/apt/archives/libc6_2.15-0ubuntu10.3_amd64.deb (--install):
     subprocess new pre-installation script returned error exit status 1
    D000002: fork/exec /var/lib/dpkg/tmp.ci/postrm ( abort-upgrade 2.15-0ubuntu10.2 )
    D000002: fork/exec /var/lib/dpkg/info/libc6:i386.postinst ( abort-deconfigure in-favour libc6 2.15-0ubuntu10.3 )
    D000002: fork/exec /var/lib/dpkg/info/libc6:amd64.postinst ( abort-upgrade 2.15-0ubuntu10.3 )
    D000010: ensure_pathname_nonexisting `/var/lib/dpkg/tmp.ci'
    D000010: ensure_pathname_nonexisting running rm -rf
    D000010: ensure_pathname_nonexisting `/var/lib/dpkg/reassemble.deb'
    Errors were encountered while processing:
     /var/cache/apt/archives/libc6_2.15-0ubuntu10.3_amd64.deb
    Last edited by GVRV; October 21st, 2012 at 07:27 AM.

Page 2 of 4 FirstFirst 1234 LastLast

Tags for this Thread

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
  •