Comment 33 for bug 791944

Revision history for this message
James Page (james-page) wrote : Re: package samba 2:3.5.8~dfsg-1ubuntu2.2 failed to install/upgrade: subprocess installed post-installation script returned error exit status 1

So the workaround for the moment is to run the following commands in a terminal:

  sudo chmod 0755 /var/lib/samba /var/cache/samba
  sudo apt-get -f install

This should fixup the permissions and complete the installation of samba.