[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: A dpkg puzzle on debian testing.



On 08/03/11 03:53, R. Clayton wrote:
> I'm running a debian testing system updated weekly.  In the last update I
> noticed samba packages being updated.  Because I have no need of samba, I
> wanted to get rid of them:
> 
>   $ sudo dpkg --purge samba-common samba-common-bin 
>   dpkg: dependency problems prevent removal of samba-common:
>    smbclient depends on samba-common (= 2:3.5.6~dfsg-5).
>   dpkg: error processing samba-common (--purge):
>    dependency problems - not removing
>   (Reading database ... 148254 files and directories currently installed.)
>   Removing samba-common-bin ...
>   Processing triggers for man-db ...
>   Errors were encountered while processing:
>    samba-common
> 
>   $
> 
> Ok, fine; get rid of sambaclient too:
> 
>   $ sudo dpkg --purge sambaclient
>   dpkg: warning: ignoring request to remove sambaclient which isn't installed.
> 
>   $
> 
> Thus the puzzle: how is it that a package that's not installed prevents an
> installed package from being purged?
>  
> 
> 
Suggestion....
sudo apt-get -s remove samba* | more

*if* everything looks sensible *then*

sudo apt-get --purge remove samba*


Cheers


Reply to: