libc6 broken - Can't install any apps - Hardy 8.04

Rick Knight rick_knight at rlknight.com
Sun Sep 14 06:57:06 UTC 2008


David Curtis wrote:
> Rick Knight wrote:
>   
>> David Curtis wrote:
>>     
>>> Rick Knight wrote:
>>>   
>>>       
>>>> I upgraded from 7.10 to 8.04 a week or so ago and everything went OK. My 
>>>> PC has been running fine since. Today I wanted to install EncFS, but 
>>>> apt-get failed with these messages...
>>>>
>>>> sudo apt-get install encfs
>>>> 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:
>>>>  encfs: Depends: librlog1c2a but it is not going to be installed
>>>>  libc6-i686: PreDepends: libc6 (= 2.7-10ubuntu3) but 2.7-10ubuntu4 is to 
>>>> be installed
>>>> E: Unmet dependencies. Try 'apt-get -f install' with no packages (or 
>>>> specify a solution).
>>>>
>>>> Running apt-get -f install yields this...
>>>>
>>>> sudo apt-get -f install
>>>> Reading package lists... Done
>>>> Building dependency tree
>>>> Reading state information... Done
>>>> Correcting dependencies... Done
>>>> The following packages were automatically installed and are no longer 
>>>> required:
>>>>  libwvstreams4.3-extras liblaunchpad-integration0 libmtp6 libneon26
>>>>  xserver-xorg-video-amd libsnmp10 g++-4.1 libhal-storage-dev libdns32
>>>>  libcamel1.2-10 libxalan110 libsoup2.2-8 libgpod2 libgnome-menu2 
>>>> libnss3-dev
>>>>  libcdio6 libstdc++6-4.1-dev libsvg1 libgutenprintui2-1 ecj 
>>>> libpt-plugins-v4l
>>>>  libbrlapi1 libwvstreams4.3-base libiso9660-4 libhal-dev libsvnqt3
>>>>  libpt-plugins-alsa libdb4.5 libtotem-plparser7 libuniconf4.3 libytnef0
>>>>  libxerces27 libnss3-0d libkdcraw1 libntfs-3g16 libpisync0
>>>> Use 'apt-get autoremove' to remove them.
>>>> The following extra packages will be installed:
>>>>  libc6-i686
>>>> The following packages will be upgraded:
>>>>  libc6-i686
>>>> 1 upgraded, 0 newly installed, 0 to remove and 37 not upgraded.
>>>> 8 not fully installed or removed.
>>>> Need to get 0B/1243kB of archives.
>>>> After this operation, 0B of additional disk space will be used.
>>>> Do you want to continue [Y/n]? y
>>>> *** stack smashing detected ***: /usr/bin/perl terminated
>>>> Segmentation fault
>>>> Setting up libc6 (2.7-10ubuntu4) ...
>>>> *** stack smashing detected ***: /usr/bin/perl terminated
>>>> dpkg: error processing libc6 (--configure):
>>>> subprocess post-installation script killed by signal (Segmentation fault)
>>>> Errors were encountered while processing:
>>>> libc6
>>>> E: Sub-process /usr/bin/dpkg returned an error code (1)
>>>>
>>>> So, I opened Adept Package Manager to try to install EncFS. Selected 
>>>> encfs and then looked in Preview Changes and found that libc6-i686 is 
>>>> listed as...
>>>> libc6-i686        BROKEN (upgradable)         upgrade
>>>>
>>>> Because of the broken libc6-i686 I am unable to install encfs. How can I 
>>>> fix this?
>>>>
>>>> Thanks,
>>>> Rick
>>>>
>>>>
>>>>     
>>>>         
>>> Looks like libc6-2.7-10ubuntu4 is from hardy-proposed. Are you testing?
>>>
>>>   
>>>       
>> David,
>>
>> Thanks for the reply. No, I'm not testing. This is on a standard Hardy 
>> 8.04 upgrade (via the `net) from 7.10. Is libc6-2.7-10ubuntu4 a newer 
>> version than what hardy 8.04 normally installs? 
>>     
>
> I believe that all the packages related to glibc, e.g. libc6, are at 
> 2.7-10ubuntu3 for 8.04. Which begs the question, did you unwisely enable 
> the hardy-proposed repository? Or am I barking up the wrong tree here?
>
>
> If so, how can I downgrade?
>
> Out of my league, I would assume, that if you have enabled 'proposed' 
> and you need to regress to hardy, as you say, 'standard', you're going 
> to have to understand apt's capability to 'pin' packages, either 
> individual packages, or wildcard pins on packages (yikes!). The only 
> experience I've had with 'downgrading' (hardy-backports->hardy) was a 
> complete failure.
>
>   
>> Thanks,
>> Rick
>>     
>
> Hope I'm wrong about hardy-proposed,
>
> Dave
>
>
>   
Dave,

I took a look at /etc/apt/sources.list. The second entry from the bottom 
is hardy-proposed. I didn't set this, so I don't know how it got there. 
Can I just remove the line, run update and be OK from there?

Thanks,
Rick




More information about the ubuntu-users mailing list