guardianproject / lildebi

UNMAINTAINED please adopt! we can no longer maintain this
https://guardianproject.info/code
GNU General Public License v3.0
226 stars 55 forks source link

/lib in LD_LIBRARY_PATH cause libc6 installation failure #212

Open agalanin opened 7 years ago

agalanin commented 7 years ago

I'm trying to install Debian jessie on my Samsung GT-S6102. The following error occured:

Preparing to unpack .../libc6_2.19-18+deb8u6_armel.deb ...

LD_LIBRARY_PATH contains the traditional /lib directory,
but not the multiarch directory /lib/arm-linux-gnueabi.
It is not safe to upgrade the C library in this situation;
please remove the /lib/directory from LD_LIBRARY_PATH and
try again.

dpkg: error processing archive /var/cache/bootstrap/libc6_2.19-18+deb8u6_armel.deb (--unpack):
subprocess new pre-installation script returned error exit status 1

LD_LIBRARY_PATH content is /lib:/vendor/lib:/system/lib

I think that installer script must remove /lib from LD_LIBRARY_PATH before calling second stage of debootstrap.