Looks like a dpkg problem to me.
Relevant error:
Richte samba-common ein (2:3.4.0-3ubuntu5.1) ...
Use of uninitialized value $reply in scalar chomp at
/usr/share/perl5/Debconf/FrontEnd/Passthrough.pm line 66.
Use of uninitialized value $reply in concatenation (.) or string at
/usr/share/perl5/D
** Attachment added: "AptOrdering.txt"
http://launchpadlibrarian.net/36976174/AptOrdering.txt
** Attachment added: "Dependencies.txt"
http://launchpadlibrarian.net/36976175/Dependencies.txt
** Attachment added: "Dmesg.txt"
http://launchpadlibrarian.net/36976176/Dmesg.txt
** Attachment