[CentOS] Can I remove X11 while keeping LSB compatibility?

Richard Cooper

lists at richardcooper.net
Tue Jan 22 10:22:44 UTC 2008


Hi all,

I have a Cent OS 5 box with a fairly full install which I'm trying to  
strip down. Since this machine will be running headless I would like  
to remove all of the X11 stuff which is installed on it. However, it  
seems that the "redhat-lsb" package, which I would like to keep, is  
dependent on X11

- redhat-lsb depends on /usr/bin/lpr
- /usr/bin/lpr is provided by cups
- cups depends on paps
- paps depends on pango
- pango depends on libX11

Is it possible to safely break this dependancy chain so that I keep  
redhat-lsb while removing X11? I'm trying to keep all of my package  
management restricted to 'yum' and I certainly want to avoid 'rpm -- 
nodeps'.

Looking at /etc/alternatives/ makes me think there must be another  
package besides cups which provides /usr/bin/lpr but I can't seem to  
find it. I won't be doing any printing from this machine so I would  
even be happy with a dummy /usr/bin/lpr which simply throws away  
anything it receives.

Thanks,

- Richard



More information about the CentOS mailing list