I am currently running debian armel (lenny/sid) with kernel Linux Zaurus 2.6.24-yonggun #10 PREEMPT Wed Jan 30 00:38:19 IST 2008 armv5tel GNU/Linux
I had been happily upgrading packages with apt-get update ; apt-get upgrade however on one occasion it decided to upgrade libc6 - that's where trouble began.
The libc6 upgrade failed with a kernel panic, since then i have tried various things, including manually extracting and installing the libc6_2.7-10_armel.deb manually (dpkg -x libc6_2.7-10_armel.deb libc6_extract ; cd libc6_extract ; find . | cpio -pdmuv / ), hacking the status of the package from :-
dpkg-query --status libc6
Package: libc6
Status: install reinstreq half-installed
.
.
.
Description: GNU C Library: Shared libraries
Contains the standard libraries that are used by nearly all programs on
the system. This package includes shared versions of the standard C library
and the standard math library, as well as many others.
to
Package: libc6
Status: install ok installed
.
.
.
Description: GNU C Library: Shared libraries
Contains the standard libraries that are used by nearly all programs on
the system. This package includes shared versions of the standard C library
and the standard math library, as well as many others.
but its to clever for that and gives :-
dpkg-query --status libc6
dpkg-query: parse error, in file `/var/lib/dpkg/status' near line 18674 package `libc6':
Configured-Version for package with inappropriate Status
If i try installing anything else in this case xterm (for no particular reason) :-
dpkg -i xterm_234-1_armel.deb
(Reading database ... 91573 files and directories currently installed.)
Preparing to replace xterm 234-1 (using xterm_234-1_armel.deb) ...
Unpacking replacement xterm ...
dpkg: dependency problems prevent configuration of xterm:
xterm depends on libc6 (>= 2.7-1); however:
Package libc6 is not installed.
dpkg: error processing xterm (--install):
dependency problems - leaving unconfigured
Errors were encountered while processing:
xterm
So I don't seem to be able to go forwards or backwards.
The installation works fine, apart from not being able to install/update any packages so I don't really want to trash it.
Does anyone have a good installed libc6-2.7-10 package installed so i could try pasting the status file entry ? or is there a legit way to force dpkg to accept it as installed ?
The only other thought I came up with was installed pdaxrom (pdaXii3 ?) on sd and using chroot or dpkg -root to force the install on the debian environment.
Any help or suggestions would be greatly appreciated (reinstall is least favoured option).