Tom Allison wrote:
I suppose if you really wanted to install cups with out the X11 deps, you could try downloading the .debs from debian.org and then start using dpkg --force-depends-version $packagename.deb. However, this could have fun and interesting effects. I find it strange and even kind of bizarre, this attitude that I don't want X libs on my box to free up the resources because you don't have the resources available for needlessly running X11. If this is the case, just don't run X and no resources are used aside from some disk space.Douglas A. Tutty wrote:On Fri, Dec 12, 2008 at 01:11:56PM -0500, Tom Allison wrote:Is there any way to install cups without introducing any of the X11 libraries?I am trying to set this up on a headless box that doesn't have the resources available for needlessly running X11.If you have a resource-limited box, you probably don't want to run CUPS. What is it you're trying to do. CUPS is only one of a few print spoolersystems available. Doug.It's not a limited box. But I have no need to have my RAM and CPU invested in running X when it will never be used.I've tried installing cups over the last two days and it's turning into a real cluster of a mess. I think somewhere I was even able to convince aptitude that it didn't really need to install dependencies - I was messing around with apt.conf for a while. After restoring apt.conf it was still giving me grief.The last problem I had was that I could identify a printer, but when I selected the PPD file to add the printer, everything would just hang with no mention of errors or issues in debug mode.
OTOH, I can totally see why you would not want to run X from a security point, and in that vain, even having it installed could lead to some unknown exploit. OTHO, if you are going to be running a print server, how critical could this box be?
I do share your frustration in what sometimes seems to be needless deps (like operea , which I never use is called by gnome package and removing it breaks tons of things.). I suppose you could always get the source and recompile it for your secure installation? Baring that, start trying the dpkg --force-depends-version and start installing the packages one by one until you have a working cupsys.
HTH -- Damon L. Chesser damon@damtek.com http://www.linkedin.com/in/dchesser