OESF | ELSI | pdaXrom | OpenZaurus | Zaurus Themes | Community Links | Ibiblio

IPB

Welcome Guest ( Log In | Register )

 
Reply to this topicStart new topic
> Libc6 Trouble - Unable To Upgrade/downgrade Anything
ajnk
post Apr 8 2008, 02:30 AM
Post #1





Group: Members
Posts: 39
Joined: 9-April 04
Member No.: 2,752



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).
Go to the top of the page
 
+Quote Post
ZDevil
post Apr 8 2008, 05:18 AM
Post #2





Group: Members
Posts: 2,003
Joined: 16-April 04
From: the Netherlands && /dev/null
Member No.: 2,882



When did you do the upgrade? I will try then to see if the same thing happens.
Go to the top of the page
 
+Quote Post
ajnk
post Apr 8 2008, 06:37 AM
Post #3





Group: Members
Posts: 39
Joined: 9-April 04
Member No.: 2,752



It was about a week ago, hmmm also about the time I installed libqt4-devel - (so I could compile qpspmanger).
Go to the top of the page
 
+Quote Post
ajnk
post Apr 8 2008, 07:34 AM
Post #4





Group: Members
Posts: 39
Joined: 9-April 04
Member No.: 2,752



Oh dear - got impatient (with the problem - not the forums)

apt-get upgrade --force-yes

oops - its now deceased (panic on reboot).

I upgraded from the 4gb Microdrive to a 16gb CF about 1 month ago - so i guess I can restore from that.

OR

I have uboot setup to boot the now defunct Debian armel install - (can I | how do I) put pdaxii3 or something similar on SD ? Useful dual boot/recovery setup
Go to the top of the page
 
+Quote Post
ZDevil
post Apr 8 2008, 08:13 AM
Post #5





Group: Members
Posts: 2,003
Joined: 16-April 04
From: the Netherlands && /dev/null
Member No.: 2,882



Perhaps you can fix this easier if you set up another debian rootfs on a SD and boot from there.
Go to the top of the page
 
+Quote Post
ajnk
post Apr 9 2008, 01:59 AM
Post #6





Group: Members
Posts: 39
Joined: 9-April 04
Member No.: 2,752



I was unable to recover to the CF card, the restore kept failing in the same place and locking up my laptop (I removed the CF card from the Z and plugged it into my lappy via USB).

Ended up doing a mke2fs on the CF card and that seemed to fix it (did not enable journaling until after the restore)

Did an apt-get update ; apt-get upgrade and libc6-2.6.10 went out without any issues ?!?

So it looks like an FS issue all along.

Full details of how the restore was done are here :- http://www.oesf.org/forum/index.php?showto...25660&st=15 in post 29
Go to the top of the page
 
+Quote Post

Reply to this topicStart new topic
2 User(s) are reading this topic (2 Guests and 0 Anonymous Users)
0 Members:

 



RSS Lo-Fi Version Time is now: 18th December 2014 - 11:11 PM