[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#179994: setting LD_LIBRARY_PATH breaks apt-get in base-installer postinst



OK, the problem appears to be, that apt-get is
linked against /lib/ld-linux.so.2:

fzidpc73:~# ldd /chroot/sarge/usr/bin/apt-get
        libapt-pkg-libc6.2-3-2.so.3.2 => /usr/lib/libapt-pkg-libc6.2-3-2.so.3.2 (0x4001f000)
        libstdc++-libc6.2-2.so.3 => /usr/lib/libstdc++-libc6.2-2.so.3 (0x400f8000)
        libm.so.6 => /lib/libm.so.6 (0x40141000)
        libc.so.6 => /lib/libc.so.6 (0x40162000)
        /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000)

This seems to be the reason for the errors given in this
bug log.  Well, what to do?

I've tried this:

# chroot /chroot/sarge /usr/bin/apt-get update

which works fine.

Should we replace the weird apt-get call in postinst
with a chroot'ed call to apt-get?

-- 
CYa,
  Mario | Debian Developer <URL:http://debian.org/>
        | Get my public key via finger mlang@db.debian.org
        | 1024D/7FC1A0854909BCCDBE6C102DDFFC022A6B113E44



Reply to: