You might want to check your disk for errors:
DpkgTerminalLog:
Removing samba ...
dpkg: error processing samba (--remove):
cannot remove `/var/spool/samba': Input/output error
ErrorMessage: cannot remove `/var/spool/samba': Input/output error
** Changed in: samba (Ubuntu)
Status: New
--
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to samba in Ubuntu.
https://bugs.launchpad.net/bugs/787239
Title:
package samba 2:3.5.8~dfsg-1ubuntu2.2 failed to install/upgrade:
cannot remove `/var/spool/samba': Input/output error