On Saturday, 2 April 2022 08:32:08 BST Matthias Hanft wrote:
> Hi,
> 
> after "emerge --sync" today, and "emerge -auv @world", I got the
> message:
> 
> emerge: there are no ebuilds built with USE flags to satisfy
> ">=app-text/ghostscript-gpl-9.09[cups]". !!! One of the following packages
> is required to complete your request: -
> app-text/ghostscript-gpl-9.55.0-r1::gentoo (Change USE: +cups)
> (dependency required by
> "net-print/cups-filters-1.28.10-r3::gentoo[postscript]" [ebuild])
> (dependency required by "net-print/cups-2.3.3_p2-r3::gentoo" [ebuild])
> (dependency required by "dev-java/openjdk-11.0.14_p9-r1::gentoo" [ebuild])
> (dependency required by "virtual/jdk-11-r2::gentoo" [ebuild])
> (dependency required by "@selected" [set])
> (dependency required by "@world" [argument])
> 
> But:
> 
> - the cups USE flag is globally disabled (and nowhere locally
>   enabled);
> - since this is a virtual server, no printers at all are used/
>   connected/configured.
> 
> I could run emerge with USE="cups", but in this case ~30 new
> packages would be installed (many, many "libXsomething" among
> them). And I would have a completely useless printing system.
> 
> How do I get rid of all those cups things?
> 
> Thanks,
> 
> -Matt

Did you try running emerge with '--tree' to see the dependency tree with all 
its dependencies?  (The option '--deep' may show more dependencies too).

I have cups set here but don't have java.  This is what I get when I set 
USE="-cups"

~ $ USE="-cups" emerge -upv dev-java/openjdk app-text/ghostscript-gpl

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild  N     ] app-eselect/eselect-java-0.4.3::gentoo  14 KiB
[ebuild  N     ] app-crypt/p11-kit-0.23.22::gentoo  USE="asn1 libffi trust -
debug -systemd" ABI_X86="(64) -32 (-x32)" 811 KiB
[ebuild  N     ] sys-apps/baselayout-java-0.1.0-r1::gentoo  71 KiB
[ebuild  N     ] dev-java/java-config-2.3.1:2::gentoo  USE="-test" 
PYTHON_TARGETS="python3_9 -python3_8 -python3_10" 26 KiB
[ebuild  N     ] dev-java/openjdk-bin-17.0.2_p8:17::gentoo  USE="alsa -cups (-
gentoo-vm) -headless-awt (-selinux) -source" 187,541 KiB
[ebuild  N     ] dev-java/openjdk-17.0.2_p8:17::gentoo  USE="alsa jbootstrap 
(system-bootstrap) (-big-endian) -cups -debug -doc -examples (-gentoo-vm) -
headless-awt (-javafx) (-selinux) -source -systemtap" 102,288 KiB

which doesn't appear to disagree with the "-cups" flag.

Attachment: signature.asc
Description: This is a digitally signed message part.

Reply via email to