My own dpkg not installing correctly. I run:
:~# dpkg -i foo-2.1-2.deb
when my package is done installing.
:~# ps aux | grep foo | grep -v grep
root 1718 2.2 1.4 10080 7308 ttyS0 S 11:59 0:03 dpkg -i foo-2.1-2.deb
root 1731 0.0 0.0 1720 496 ttyS0 S 11:59 0:00 /bin/sh /var/lib/dpkg/info/foo-2.1-2.postinst configure 2.1-2
I think my postinst script is not terminating correctly,
I'm missing something but don't know what.
I finally figured it out. One of my scripts called by postinst called /bin/bash which started a new shell that caused dpkg to run in the background and never finish.