This doesnt appear to be a samba bug:
Unpacking replacement samba ... Segmentation fault (core dumped) dpkg: warning: subprocess old post-removal script returned error exit status 139 dpkg - trying script from the new package instead ... Segmentation fault (core dumped) dpkg: error processing /var/cache/apt/archives/samba_2%3a3.5.4~dfsg-1ubuntu4_amd64.deb (--unpack): subprocess new post-removal script returned error exit status 139
This doesnt appear to be a samba bug:
Unpacking replacement samba ... apt/archives/ samba_2% 3a3.5.4~ dfsg-1ubuntu4_ amd64.deb (--unpack):
Segmentation fault (core dumped)
dpkg: warning: subprocess old post-removal script returned error exit status 139
dpkg - trying script from the new package instead ...
Segmentation fault (core dumped)
dpkg: error processing /var/cache/
subprocess new post-removal script returned error exit status 139