Reading package lists... Done Building dependency tree... Done The following packages will be upgraded: samba 1 upgraded, 0 newly installed, 0 to remove and 25 not upgraded. Need to get 0B/2845kB of archives. After unpacking 0B of additional disk space will be used. WARNING: The following packages cannot be authenticated! samba Install these packages without verification [y/N]? y Preconfiguring packages ... (Reading database ... 172500 files and directories currently installed.) Preparing to replace samba 3.0.22-1ubuntu3.1 (using .../samba_3.0.22-1ubuntu3.2_i386.deb) ... invoke-rc.d: dangling symlink: /etc/rc2.d/K09samba dpkg: warning - old pre-removal script returned error exit status 102 dpkg - trying script from the new package instead ... invoke-rc.d: dangling symlink: /etc/rc2.d/K09samba dpkg: error processing /var/cache/apt/archives/samba_3.0.22-1ubuntu3.2_i386.deb (--unpack): subprocess new pre-removal script returned error exit status 102 Errors were encountered while processing: /var/cache/apt/archives/samba_3.0.22-1ubuntu3.2_i386.deb E: Sub-process /usr/bin/dpkg returned an error code (1)