deleting cups

Hi,

this is to trim down my default virtual FreeBSD Image. So I want to deinstall everything which is not needed.
But the list of packages to be remove together with cups (see below) seems way off. There are no dependencies and I also checked autoremove which has "nothing to do"

Code:
# :~ # pkg delete cups
Checking integrity... done (0 conflicting)
Deinstallation has been requested for the following 14 packages (of 0 packages in the universe):

Installed packages to be REMOVED:
    amtk: 5.9.1
    cups: 2.4.15_1
    gedit: 48.2
    gspell: 1.14.0
    gtk2: 2.24.33_1
    gtk3: 3.24.50
    kickshaw: 0.5.26_1
    libgedit-gfls: 0.3.0
    libgedit-gtksourceview: 299.5.0_1
    libglade2: 2.6.4_14
    libhandy: 1.8.3
    libpeas1: 1.36.0
    obconf: 2.0.4_7
    tepl6: 6.13.0

Number of packages to be removed: 14

The operation will free 149 MiB.

Proceed with deinstalling packages? [y/N]:

I could just deinstall the list and then reinstalled them but isn't there a nicer way?
This is a FreeBSD14.3 p4

sake.
 
Both x11-toolkits/gtk20 and x11-toolkits/gtk30 have CUPS as a dependency. If you remove CUPS you also remove GTK2 and GTK3. If those get removed anything that depends on GTK2 and/or GTK3 gets removed too.

isn't there a nicer way?
Yeah, set up your own repository, build your own packages. Then you can turn off options, in order to remove dependencies properly, and cleanly.

Code:
x11-toolkits_gtk20_UNSET= CUPS
x11-toolkits_gtk30_UNSET= CUPS
x11-toolkits_gtk40_UNSET= CUPS
These are my settings, I've got nothing depending on CUPS. So it doesn't even get installed in the first place. Don't need it, don't have a printer.
 
Back
Top