[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: dpkg segmentation fault



On Tue, Nov 04, 2003 at 07:29:22AM +1100, Jonathan Wheelhouse said
> Hi
> 
> I get this when running aptitude:
> 
> The following packages will be upgraded:
>   libc6 locales 
> 2 packages upgraded, 0 newly installed, 1 to remove and 127 not upgraded.
> Need to get 0B/8785kB of archives. After unpacking 4694kB will be freed.
> Do you want to continue? [Y/n/?] 
> Writing extended state information... Done
> Reading changelogs... Done
> Preconfiguring packages ...
> (Reading database ... 63087 files and directories currently installed.)
> Preparing to replace libc6 2.3.2-8 (using .../libc6_2.3.2.ds1-9_i386.deb) ...
> Unpacking replacement libc6 ...
> E: Sub-process /usr/bin/dpkg received a segmentation fault.
> Ack!  Something bad happened while installing packages.  Trying to recover:
> dpkg-deb: subprocess paste killed by signal (Broken pipe)
> dpkg: dependency problems prevent configuration of locales:
>  locales depends on glibc-2.3.2.ds1-8; however:
>   Package glibc-2.3.2.ds1-8 is not installed.
> dpkg: error processing locales (--configure):
>  dependency problems - leaving unconfigured
> Errors were encountered while processing:
>  locales
> Reading Package Lists... Done             
> Building Dependency Tree       
> Reading extended state information... Done
> 
> I read libc6 bug reports which suggest that it has the problem but if
> I cannot install the new version what do I do?

A .deb is an ar archive containing two tarballs.  You can extract the
new libc like this:

$ ar x libc6_2.3.2.ds1-9_i386.deb

which will give you the control.tar.gz and data.tar.gz files. Unpack the
data.tar.gz in /:

$ cd / && tar -zxvf /tmp/data.tar.gz

If this fixes your system, then use dpkg to reinstall
libc6_2.3.2.ds1-9_i386.deb so all the control files get updated
accordingly.

-- 
Rob Weir <rweir@ertius.org> | mlspam@ertius.org  |  Do I look like I want a CC?
Words of the day:     cypherpunk corporate security BLU-114/B satellite imagery

Attachment: signature.asc
Description: Digital signature


Reply to: