I've run into this bug as well on a new install of Karmic. -- dpkg-reconfigure samba fails with sed error https://bugs.launchpad.net/bugs/480617 You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to samba in ubuntu.