Friday, December 14, 2018

Re: uninstalling packages

On Thu, 13 Dec 2018 11:20:37 +0100 Sebastian Benoit wrote:
> --- -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?

It is trying to help by not deleting modified, cached & spooled
files/logs. If /etc/cups/snmp.conf wasn't modified, it would already
have been removed. The remove list depends on what the admin changed,
which varies from machine to machine.

If everything is backed up and you want to re-install it later,
everything can be nuked. Simple version:

rm -rf /etc/cups/ /var/cache/cups/ /var/log/cups/ /var/spool/cups/

or even:

rm -rf /etc/cups/ /var/{cache,log,spool}/cups/


Cheers,
--
Craig Skinner | http://linkd.in/yGqkv7

No comments:

Post a Comment