Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-44502

Jenkins 2.46.3 LTS apt (Debian/Ubuntu) package incorrectly has Java 8 as dependency

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Major Major
    • packaging
    • None
    • - Ubuntu 14.04 (but also affects any other OS that uses .deb package and has no Java 8 available)
      - Jenkins 2.46.3 LTS
      - Java 7

      The latest Jenkins 2.46.3 LTS apt package has the following dependency set: default-jre-headless|java8-runtime-headless
      Where default-jre-headless depends on version 2:1.8 or higher (>= 2:1.8).

      This dependency seems to be incorrect as, for now, this is only valid for the weekly Jenkins releases (which is incompatible with Java 7 and lower).
      The 2.46.3 release notes also do not mention this change.

      Because of this dependency Jenkins 2.46.3 cannot be installed on Ubuntu 14.04 as it lacks an official Java8 package.

          [JENKINS-44502] Jenkins 2.46.3 LTS apt (Debian/Ubuntu) package incorrectly has Java 8 as dependency

          Jeroen Bogers created issue -
          Jeroen Bogers made changes -
          Epic Link New: JENKINS-43500 [ 180815 ]

          Jeroen Bogers added a comment -

          For workarounds on Ubuntu 14.04 (that involve installing Java 8), see the fixes proposed in https://issues.jenkins-ci.org/browse/JENKINS-43629

          Jeroen Bogers added a comment - For workarounds on Ubuntu 14.04 (that involve installing Java 8), see the fixes proposed in https://issues.jenkins-ci.org/browse/JENKINS-43629
          Jeroen Bogers made changes -
          Description Original: The latest Jenkins 2.46.3 LTS apt package has the following dependency set: {{default-jre-headless|java8-runtime-headless}}

          This dependency seems to be incorrect as, for now, this is only valid for the weekly Jenkins releases (which is incompatible with Java 7 and lower).
          The 2.46.3 release notes also do not mention this change.

          Because of this dependency Jenkins 2.46.3 cannot be installed on Ubuntu 14.04 as it lacks an official Java8 package.
          New: The latest Jenkins 2.46.3 LTS apt package has the following dependency set: {{default-jre-headless|java8-runtime-headless}}
          Where {{default-jre-headless}} depends on version 2:1.8 or higher ({{>= 2:1.8}}).

          This dependency seems to be incorrect as, for now, this is only valid for the weekly Jenkins releases (which is incompatible with Java 7 and lower).
          The 2.46.3 release notes also do not mention this change.

          Because of this dependency Jenkins 2.46.3 cannot be installed on Ubuntu 14.04 as it lacks an official Java8 package.
          Jeroen Bogers made changes -
          Environment Original: - Ubuntu 14.04 (but also affects any other OS that use .deb package and has no Java 8 available)
          - Jenkins 2.46.3 LTS
          - Java 7
          New: - Ubuntu 14.04 (but also affects any other OS that uses .deb package and has no Java 8 available)
          - Jenkins 2.46.3 LTS
          - Java 7

          Oleg Nenashev added a comment -

          Caused by JENKINS-44504. All packages have been released from a wrong (aka latest) packaging baseline

          Oleg Nenashev added a comment - Caused by JENKINS-44504 . All packages have been released from a wrong (aka latest) packaging baseline
          Oleg Nenashev made changes -
          Link New: This issue duplicates JENKINS-44504 [ JENKINS-44504 ]

          Daniel Beck added a comment -

          Duplicate of JENKINS-44504 which more completely describes the problem.

          Daniel Beck added a comment - Duplicate of JENKINS-44504 which more completely describes the problem.
          Daniel Beck made changes -
          Resolution New: Duplicate [ 3 ]
          Status Original: Open [ 1 ] New: Resolved [ 5 ]

          Mike Crowe added a comment -

          This problem also affects Debian 8 (Jessie) which is the current stable version. Java 8 is available in debian-backports, but I'd rather not install it unnecessarily.

          The following packages have unmet dependencies:
          jenkins : Depends: default-jre-headless (>= 2:1.8) but 2:1.7-52 is to be installed or
          java8-runtime-headless but it is not installable

          Mike Crowe added a comment - This problem also affects Debian 8 (Jessie) which is the current stable version. Java 8 is available in debian-backports, but I'd rather not install it unnecessarily. The following packages have unmet dependencies: jenkins : Depends: default-jre-headless (>= 2:1.8) but 2:1.7-52 is to be installed or java8-runtime-headless but it is not installable

            kohsuke Kohsuke Kawaguchi
            jbogers Jeroen Bogers
            Votes:
            1 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: