Bug 1218156 - CUPS in server mode brings allow of unneeded packages
Summary: CUPS in server mode brings allow of unneeded packages
Status: RESOLVED FIXED
Alias: None
Product: openSUSE Tumbleweed
Classification: openSUSE
Component: Patterns (show other bugs)
Version: Current
Hardware: Other openSUSE Tumbleweed
: P5 - None : Enhancement (vote)
Target Milestone: ---
Assignee: Dominique Leuenberger
QA Contact: E-mail List
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-12-18 12:28 UTC by Walddys Emmanuel Dorrejo Céspedes
Modified: 2023-12-20 10:43 UTC (History)
0 users

See Also:
Found By: ---
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Walddys Emmanuel Dorrejo Céspedes 2023-12-18 12:28:32 UTC
Hello,

I am doing a clean server install with openSUSE Tumbleweed and removing unneeded packages like cups in a server installation, which it would be perfect remove it from minimal patterns because it brings X11 packages to server and a lot of not wanted packages.

The core packages looks like it's cups-config and not cups, when remove cups-config the next packages are removed with it:

1- cups (all packages)
2- samba and wsdd (all packages)
3- xbitmaps (not needed in server)
4- postfix (all related packages)
5- Some X11 libraries (not needed in server)
6- cronie and cron (Both packages needed in server)
Comment 1 Dominique Leuenberger 2023-12-20 10:43:38 UTC
Cups was installed by some very 'fun' method:

Basic packages present on all systems:
* man requires groff
* libX11-6 is required by libcairo
* libcairo is required by plymouth-plugin-labelft

This then triggers some weak deps:

* gxditview supplements groff and xorg-x11-libX11 aka libX11-6
* gxditview requires groff-full
* groff-full requires ghostscript-library
* ghostscript recommends cups-filters-ghostscript (provided by cups-filters)
* cups-filters requires cups

I have created a submitrequest to ghostscript to only trigger installation of cups-filters if cups is also present; this breaks the chain and does not auto-trigger installation of cups on every system.

Will be part of Snapshot 20231219 and later