Comment 9 for bug 1641230

Revision history for this message
Benjamin Drung (bdrung) wrote : Re: package linux-image-4.4.0-43-generic 4.4.0-43.63 failed to install/upgrade: run-parts: /etc/kernel/postinst.d/initramfs-tools exited with return code 1

The ldd looks correct and the environment clean. Parsing of that output should not end up in "/lib/libgcwrap.so". So let's check if the output is the same when running as root in that environment.

Can you modify copy_exec in /usr/share/initramfs-tools/hook-functions to print the ldd output:

```
 # Copy the dependant libraries
        echo "DEBUG: ldd ${src}"
        env --unset=LD_PRELOAD ldd "${src}"
```