On 2018 Dec 13 (Thu) at 11:20:37 +0100 (+0100), Sebastian Benoit wrote: :I'm cleaning up things on a system, and deleting quite a few packages. : :For example cups. Because its no longer needed. : :--- -cups-2.2.8p1 ------------------- :You should also run rm -rf /etc/cups/*.conf.O /var/log/cups :You should also remove /etc/cups/cupsd.conf (which was modified) :You should also remove /etc/cups/classes.conf (which was modified) :You should also remove /etc/cups/printers.conf (which was modified) :You should also remove /etc/cups/subscriptions.conf (which was modified) :You should also remove /etc/cups/snmp.conf (which was modified) :You should also run rm -rf /var/cache/cups :You should also run rm -rf /var/spool/cups : :If i want to actually delete all that stuff, thats a lot of copy&paste. Are :we actually expecting users to do that? : :Is there some option that i dont know of to automatically remove all the :things? : :I know it might be dangerous to do that, but copy&paste of tens of commands :is also easy to mess up. : :/B. :
pkg_delete -c ought to do what you want. -- "Most legislators are so dumb that they couldn't pour piss out of a boot if the instructions were printed on the heel."