Comment 6 for bug 993660

SeanBoran (sean-boran) wrote :

I came accross this ina similar situation.
When installing samba-common:

dpkg: error processing /var/cache/apt/archives/samba-common_2%3a3.6.3-2ubuntu2.3_all.deb (--unpack):
 unable to open '/etc/dhcp3/dhclient-enter-hooks.d/samba.dpkg-new': No such file or directory

In my case /etc/dhcp3 was a link to /etc/dhcp, because it was needed for Vmware customisations scripts:
http://javierin.com/2012/09/05/template-customization-para-debian-squeeze-en-vsphere-5-0u1/

The samba package just cannot handle that at all though.
Removing the link, allows samba to install:
rm /etc/dhcp3
(or copying the directory as noted above).
Howver this is not nice at all, having two directories for dhcp and one or the other might be read depending on circumstances.

So to me this is bug in the samba packaging.
==> Could this issue be re-opend please and the samba packaing examined?