By Wedin on
I used the search, but am none the wiser.
I opted to install Drupal (only drupal5 available for Debian Lenny at the moment) on my Debian server. But as I read through the list of packages to be installed in the process, I noticed X11-common. The install was hence aborted for now.
I don't want X on my server.
So, if there isn't a very good reason for it, I'm afraid I'll look elsewhere. Pity, because I have looked for a suitable CMS for a while and Drupal fits my mindset in every other way.
If it is a matter of Debian, I'm sorry for the wasted time. But I really seek enlightenment (no, not the WM).
Best regards!
Comments
Unless you have a good
Unless you have a good reason for using strictly only debian packages, simply download the latest version from drupal.org.
My reason for sticking with
My reason for sticking with the debian repo, is for the package manager to be able to keep track of what's installed and avoid problems.
Don't bother
I prefer Debian for all my web servers and love aptitude and the Debian package policies, but wouldn't use the Debian repo for Drupal itself.
You can find support from the community harder as nobody will be aware of or understand any of the changes made in the Debian package to fit into the Debian file layouts etc.
Also, the Drupal versions in Debian Stable might not be supported throughout the entire lifecycle of Debian Stable.
Unless there are Debian packages for every module you want to install, you are downloading separate tarballs for those anyway.
Any Drupal security patch will take longer to become available via apt than via drupal.org.
Drupal updates don't need any recompiling or rebuilding just overwriting old files - so Debian updates aren't really doing much for you anyway.
A CVS update could handle any updates if you prefer not to download tarballs.
etc
--
Anton
New to Drupal? | Troubleshooting FAQ
Example knowledge base built with Drupal
speculation...
Dependancy trees often err on the side of throwing in the kitchen sink.
Without knowing exactly what you were up to, it's probably that:
Drupal runs on PHP (you with me so far?)
PHP optimal install contains the GD image toolkit
The image toolkit has the facility to render text within images
Drawing text requires font support
Font support on debian is handled through some X11 utilities
The X11 utils rely on some core X11 libraries. Not neccessarily a full WM, but I dunno.
:-B
... it may be a slightly different sequence of events, but that's a pattern I saw once. Actually I was trying to enable SVG rendering support, but similar logic may apply.
I believe you can forego image processing support by choosing PHP --without-gd or something. Although that will leave you without a toolkit for resizing pictures.
You may even be able to get GD without font support. I don't know how that can be done, but it's probably not by just trusting the default apt-get "install everything and its friend" method.
Good luck. If there is an answer, it may be useful to know.
FWIW, I've not found any problem installing PHP/Apache/MySQL on a clean Debian server, then installing Drupal from tarball - the dpkg was no good to me. I can't recall getting some X11 support libraries, but if I did, it didn't hurt,
.dan.
How to troubleshoot Drupal | http://www.coders.co.nz/
.dan. is the New Zealand Drupal Developer working on Government Web Standards
Thanks. I'll mull it over
Thanks. I'll mull it over for a while and then perhaps allow APT to throw in the kitchen sink.
Decisions, decisions ...
Ubuntu APT is telling me
Ubuntu APT is telling me that you're right on here - package drupal5 depends on php5-gd which depends on libx11-6 and a number of other libraries that also depend on libx11. libx11 depends on x11-common, which gives you...
...an empty directory tree.