Well I can help narrow down what is going on, and hopefully we can work out what we can do to avoid a bare recovery.
Simply put I too added lucid to the sources.list and tried to upgrade zoneminder. During that process I got one fatal error:
E: Internal Error, Could not perform immediate configuration (2) on util-linux
So being the adventurous sort that I am I decided to try and install things manually.
Going to the archives directory and running dpkg -i on the util-linux gave me some dependency errors, so I tried again with those until I hit libgcc1.
An extract follows:
-- CUT --
dpkg -i util-linux_2.17.2-0ubuntu1_armel.deb
dpkg: regarding util-linux_2.17.2-0ubuntu1_armel.deb containing util-linux, pre-dependency problem:
util-linux pre-depends on libblkid1 (>= 2.17)
libblkid1 is installed, but is version 1.41.4-1ubuntu1.
dpkg: error processing util-linux_2.17.2-0ubuntu1_armel.deb (--install):
pre-dependency problem - not installing util-linux
Errors were encountered while processing:
util-linux_2.17.2-0ubuntu1_armel.deb
[email protected]:/var/cache/apt/archives# dpkg -i util-linux_2.17.2-0ubuntu1_armel.deb libblkid1_2.17.2-0ubuntu1_armel.deb
dpkg: regarding util-linux_2.17.2-0ubuntu1_armel.deb containing util-linux, pre-dependency problem:
util-linux pre-depends on libblkid1 (>= 2.17)
libblkid1 is installed, but is version 1.41.4-1ubuntu1.
dpkg: error processing util-linux_2.17.2-0ubuntu1_armel.deb (--install):
pre-dependency problem - not installing util-linux
(Reading database ... 17421 files and directories currently installed.)
Preparing to replace libblkid1 1.41.4-1ubuntu1 (using libblkid1_2.17.2-0ubuntu1_armel.deb) ...
Unpacking replacement libblkid1 ...
dpkg: dependency problems prevent configuration of libblkid1:
libblkid1 depends on libgcc1 (>= 1:4.4.0); however:
Version of libgcc1 on system is 1:4.3.3-5ubuntu4.
libblkid1 depends on libuuid1 (>= 2.16); however:
Version of libuuid1 on system is 1.41.4-1ubuntu1.
dpkg: error processing libblkid1 (--install):
dependency problems - leaving unconfigured
Errors were encountered while processing:
util-linux_2.17.2-0ubuntu1_armel.deb
libblkid1
[email protected]:/var/cache/apt/archives# dpkg -i util-linux_2.17.2-0ubuntu1_armel.deb libblkid1_2.17.2-0ubuntu1_armel.deb libgcc1_1%3a4.4.3-4ubuntu5_armel.deb
dpkg: regarding util-linux_2.17.2-0ubuntu1_armel.deb containing util-linux, pre-dependency problem:
util-linux pre-depends on libblkid1 (>= 2.17)
libblkid1 latest configured version is 1.41.4-1ubuntu1.
dpkg: error processing util-linux_2.17.2-0ubuntu1_armel.deb (--install):
pre-dependency problem - not installing util-linux
(Reading database ... 17424 files and directories currently installed.)
Preparing to replace libblkid1 2.17.2-0ubuntu1 (using libblkid1_2.17.2-0ubuntu1_armel.deb) ...
Unpacking replacement libblkid1 ...
Preparing to replace libgcc1 1:4.3.3-5ubuntu4 (using libgcc1_1%3a4.4.3-4ubuntu5_armel.deb) ...
Unpacking replacement libgcc1 ...
dpkg: dependency problems prevent configuration of libblkid1:
libblkid1 depends on libuuid1 (>= 2.16); however:
Version of libuuid1 on system is 1.41.4-1ubuntu1.
dpkg: error processing libblkid1 (--install):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of libgcc1:
libgcc1 depends on gcc-4.4-base (= 4.4.3-4ubuntu5); however:
Package gcc-4.4-base is not installed.
dpkg: error processing libgcc1 (--install):
dependency problems - leaving unconfigured
Errors were encountered while processing:
util-linux_2.17.2-0ubuntu1_armel.deb
libblkid1
libgcc1
[email protected]:/var/cache/apt/archives# dpkg -i util-linux_2.17.2-0ubuntu1_armel.deb libblkid1_2.17.2-0ubuntu1_armel.deb libgcc1_1%3a4.4.3-4ubuntu5_armel.deb gcc-4.4-base
dpkg: error processing util-linux_2.17.2-0ubuntu1_armel.deb (--install):
subprocess dpkg-deb --control killed by signal (Illegal instruction)
dpkg: error processing libblkid1_2.17.2-0ubuntu1_armel.deb (--install):
subprocess dpkg-deb --control killed by signal (Illegal instruction)
dpkg: error processing libgcc1_1%3a4.4.3-4ubuntu5_armel.deb (--install):
subprocess dpkg-deb --control killed by signal (Illegal instruction)
dpkg: error processing gcc-4.4-base (--install):
cannot access archive: No such file or directory
Errors were encountered while processing:
util-linux_2.17.2-0ubuntu1_armel.deb
libblkid1_2.17.2-0ubuntu1_armel.deb
libgcc1_1%3a4.4.3-4ubuntu5_armel.deb
gcc-4.4-base
-- CUT --
I am currently logged into the system however it looks like a key library (libgcc1 I suspect) is corrupt as anything other than shell commands are not working. Even ls fails with an illegal instruction. Could it be the lib is the wrong endian and broke like that?
Thoughts please.. I would be curious to do something other than re-installing from scratch.
-- UPDATE --
Ok so my hunch was right. libgcc_s_so.1 is broken in some way for the sheeva plug. How do I know this? Because fortunately I was still logged into the box and command like cat, echo, more, less and most importantly mount still worked. So I copied a slightly older version of libgcc_s_so.1 (libgcc1_4.3.3-5ubuntu4_armel.deb to be precise) onto an SDcard and was able to mount it and use "cat libgcc_s_so.1 > /lib/libgcc_s_so.1". Hey presto all works again now. I don't as yet know what is wrong with the old version but I will supersede it with this one that does work.
ok Further update
This link explains it all. Ubuntu you SUCK! I was going to install Debian anyway.. Talk about shoddy ports..
http://plugcomputer.org/plugforum/index.php?topic=885.0Later,
Good luck.