On Thu, 14 Apr 2016, Harald Dunkel wrote: > unattended_upgrades installed (next to samba) about 10 to 20 other > unwanted packages on about 80 hosts in my network. The upgrade to > the fixed version did not remove these unwanted packages again. > > Please advice how to identify and remove these packages.
You can first purge the samba package: dpkg --purge samba Then you can use deborphan to indentify unwanted packages. # deborphan libhdb9-heimdal libck-connector0 libgssapi3-heimdal samba-dsdb-modules # dpkg --purge `deborphan` You need to do this several times because removing some packages make more packages to be "orphanable". If you do this on a single machine, step by step, you will be able to construct a list of unwanted packages, and then execute a command like this on the other 79 machines, or even in all machines, as removing an already removed package should be harmless: dpkg --purge samba libhdb9-heimdal libck-connector0 [...] where [...] represents the complete list. If you are using ansible, that would be something like this: ansible myservers -a "dpkg --purge package1 package2 [...]" Hope this helps.