Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

deb dependency requires GUI libraries #191

Closed
ghost opened this issue Jul 18, 2012 · 1 comment
Closed

deb dependency requires GUI libraries #191

ghost opened this issue Jul 18, 2012 · 1 comment
Milestone

Comments

@ghost
Copy link

ghost commented Jul 18, 2012

Greetings,

The control file for your debian package requires "java6-runtime" which under ubuntu requires the installation of "openjdk-6-jre". if you are running a headless host (no GUI) then what you want is to install "openjdk-6-jre-headless"

The way around this is for your package to depend on "java6-runtime" OR "java6-runtime-headless". Here are the necessary changes:

diff --git a/packaging/debroot/DEBIAN/control b/packaging/debroot/DEBIAN/control
index 5f2fc20..346d9e8 100644
--- a/packaging/debroot/DEBIAN/control
+++ b/packaging/debroot/DEBIAN/control
@@ -3,7 +3,7 @@ Version: %VERSION%
 Section: utils
 Priority: optional
 Architecture: all
-Depends: openssh-client, java6-runtime, adduser (>= 3.11)
+Depends: openssh-client, java6-runtime | java6-runtime-headless , adduser (>= 3.11)
 Maintainer: Noah Campbell <[email protected]>
 Description: No ordinary wooden deck. You can build a bon fire on this deck.
  Rundeck provides a single console for dispatching commands across many 
@gschueler
Copy link
Member

thanks, i will schedule this patch for 1.4.4

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant