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

Re: Woody is out!! WOW!!... but a big problem updating..



On Sat, Jul 20, 2002 at 03:44:31PM +0200, MaX wrote:
> 
> Preparing to replace libc6 2.1.3-20 (using .../libc6_2.2.5-6_m68k.deb) ...
> Unpacking replacement libc6
> Replacing files in old package ldso
> Replacing files in old package netbase
> dpkg: warning - old post-removal script killed by signal (Segment Fault)
> dpkg: - trying script from the new package instead...
> dpkg: error processing /var/cache/apt/archives/libc6_2.2.5-6_m68k.deb (--unpack):
> subprocess new post-removal script killed by signal (Segment Fault)
> dpkg: error while cleaning up:
>  subprocess pre-installation script killed by signal (Segment fault)
> Errors where encountered while processing:
>  /var/cache/apt/archives/libc6_2.2.5-6_m68k.deb
> E: Sub-process /usr/bin/dpkg returned an error code (1)

Are you sure you have enough free diskspace, your CPU is working, the HDD
or RAM is not broken? 

Does this work?

mkdir t
dpkg -x /var/cache/apt/archives/libc6_2.2.5-6_m68k.deb t/

Can you try to upgrade ldso and netbase before libc6? Seems ldso is replaced
by libc6 in woody, do you have the latest potato version of ldso installed?

> ------------------
> debian68k:/home/max# ls /var/lib/dpkg/info/libc6*
> /var/lib/dpkg/info/libc6-dev.list      /var/lib/dpkg/info/libc6.postinst
> /var/lib/dpkg/info/libc6-dev.postinst  /var/lib/dpkg/info/libc6.postrm
> /var/lib/dpkg/info/libc6-dev.preinst   /var/lib/dpkg/info/libc6.preinst
> /var/lib/dpkg/info/libc6-dev.prerm     /var/lib/dpkg/info/libc6.prerm
> /var/lib/dpkg/info/libc6.conffiles     /var/lib/dpkg/info/libc6.shlibs
> /var/lib/dpkg/info/libc6.list
> debian68k:/home/max# 
> -------------------
> 
> ...hoping that it can help to determine the error.

_You_ have to determine the error, how am I supposed to look into those
files? You can read them, they are scripts. You can execute them manually.
So run /var/lib/dpkg/info/libc6.postrm and see what fails. Also try the
scripts from the package you just unpacked (I assume the files in /var/lib
are the files from the package you are trying to replace, whats the date on
those files?). It seems dpkg -x does not unpack those scripts, I forgot how
to unpack those, but you can access them with mc when you "enter" the
package "directory".

If you found which step fails, fix it, maybe just uncomment it. Maybe
uncomment all commands in the file and just install libc6 again after you
installed it, to fix any potential problems. Maybe its just a missing
file/directory and you can fix it by a touch.

BTW, this is what I get when I upgrade a freshly installed potato (chroot)
to the woody libc6:

bin/sh-2.03# dpkg -i libc6_2.2.5-6_m68k.deb 
(Reading database ... 7093 files and directories currently installed.)
Preparing to replace libc6 2.1.3-20 (using libc6_2.2.5-6_m68k.deb) ...
Unpacking replacement libc6 ...
Replacing files in old package ldso ...
Replacing files in old package netbase ...
Setting up libc6 (2.2.5-6) ...
Checking for services that may need to be restarted...done.
Current default timezone: 'US/Eastern'.
Local time is now:      Sat Jul 20 12:05:12 EDT 2002.
Universal Time is now:  Sat Jul 20 16:05:12 UTC 2002.
Run 'tzconfig' if you wish to change it.

Looks fine to me?

Christian
-- 
http://people.debian.org/~cts/debian-m68k/woody


-- 
To UNSUBSCRIBE, email to debian-68k-request@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org



Reply to: