ki7ay@ki7ay-laptop:~$ gksudo gedit /etc/apt/sources.list (gedit:9754): GnomeUI-WARNING **: While connecting to session manager: Authentication Rejected, reason : None of the authentication protocols specified are supported and host-based authentication failed. ki7ay@ki7ay-laptop:~$ sudo aptitude remove samba Reading package lists... Done Building dependency tree... Done Reading extended state information Initializing package states... Done Building tag database... Done The following packages have been kept back: file language-pack-gnome-en libexif12 libgd2-noxpm libmagic1 libpng12-0 xscreensaver-data xscreensaver-gl The following packages will be REMOVED: samba 0 packages upgraded, 0 newly installed, 1 to remove and 8 not upgraded. Need to get 0B of archives. After unpacking 7250kB will be freed. Writing extended state information... Done (Reading database ... 110409 files and directories currently installed.) Removing samba ... invoke-rc.d: dangling symlink: /etc/rc2.d/K09samba dpkg: error processing samba (--remove): subprocess pre-removal script returned error exit status 102 Errors were encountered while processing: samba E: Sub-process /usr/bin/dpkg returned an error code (1) A package failed to install. Trying to recover: ki7ay@ki7ay-laptop:~$