Re: [debian] cannot bootstrap libc6

2011-07-01 Thread Timo Jyrinki
2011/7/1 Dmitry Chistikov :
> I'm trying to install Debian on Openmoko Freerunner and have encountered
> the following problem. Both cdebootstrap and debootstrap fail to install
> a basic Debian system (stage "debian" of install.sh). Packages are
> downloaded and extracted, but dpkg is refusing to install libc6:
...
> Does this mean that Debian sid (unstable) armel is broken at the moment?
> How can this problem be dealt with? Changing --force-depends to --force-all
> does not help.

I'm not an expert on the installer, but unfortunately it may mean so.

You can try to use stable repositories instead by modifying the
install.sh script - you just need to make sure that you then don't
specify any phone software like Zhone at the install time, since those
are only available with the E17 that is in unstable and not in the
latest Debian release. I've been meaning to try out if that'd work for
some time, but haven't got a suitable extra microsd card and time slot
to check it out.

Then if you get a minimal installation ongoing, it's much easier to
install more software and experiment in a bootable system. The
unstable anyway is in a shaky situation at the moment, as still the
Python E17 dependencies are not in so they are also not installable.

-Timo

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


[debian] cannot bootstrap libc6

2011-07-01 Thread Dmitry Chistikov
Hello,

I'm trying to install Debian on Openmoko Freerunner and have encountered
the following problem. Both cdebootstrap and debootstrap fail to install
a basic Debian system (stage "debian" of install.sh). Packages are
downloaded and extracted, but dpkg is refusing to install libc6:

===

[...]
I: Extracting zlib1g...
I: Installing core packages...
W: Failure trying to run: chroot /mnt/debian dpkg --force-depends --install 
/var/cache/apt/archives/libc6_2.13-8_armel.deb
root@hackable1:~# chroot /mnt/debian dpkg --force-depends --install 
/var/cache/apt/archives/libc6_2.13-8_armel.deb
(Reading database ... 349 files and directories currently installed.)
Unpacking libc6 (from .../libc6_2.13-8_armel.deb) ...

A copy of the C library was found in an unexpected directory:
  '/lib/arm-linux-gnueabi/libc-2.13.so'
It is not safe to upgrade the C library in this situation;
please remove that copy of the C library or get it out of
'/lib/arm-linux-gnueabi' and try again.

dpkg: error processing /var/cache/apt/archives/libc6_2.13-8_armel.deb 
(--install):
 subprocess new pre-installation script returned error exit status 1
Errors were encountered while processing:
 /var/cache/apt/archives/libc6_2.13-8_armel.deb

===

If libc-2.13.so and libc.so.6 are then moved to /lib, then dpkg begins
to wail about /lib/arm-linux-gnueabi/libdl-2.13.so, which suddenly emerges
out of nowhere. On next iteration there appears libm... So, as far as I can
see, all these files are just being unpacked from the very package I ask dpkg
to install.

Does this mean that Debian sid (unstable) armel is broken at the moment?
How can this problem be dealt with? Changing --force-depends to --force-all
does not help.

-- 
Dmitry Chistikov

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community