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

Installation fails /lib/init/init-d-script: No such file or directory

    • Icon: Bug Bug
    • Resolution: Won't Fix
    • Icon: Major Major
    • packaging
    • Ubuntu 14.04
      Jenkins 2.333

      During the upgrade to Jenkins 2.333, the installation fails

      Preparing to unpack .../archives/jenkins_2.333_all.deb ...
      Correct java version found
      {{ * Stopping Jenkins Automation Server jenkins [ OK ]}}
      Unpacking jenkins (2.333) over (2.331) ...
      Processing triggers for ureadahead (0.100.0-16) ...
      Setting up jenkins (2.333) ...
      Installing new version of config file /etc/init.d/jenkins ...
      /usr/bin/env: /lib/init/init-d-script: No such file or directory
      invoke-rc.d: initscript jenkins, action "restart" failed.
      dpkg: error processing package jenkins (--configure):
      {{ subprocess installed post-installation script returned error exit status 1}}
      Processing triggers for ureadahead (0.100.0-16) ...
      Errors were encountered while processing:
      {{ jenkins}}
      E: Sub-process /usr/bin/dpkg returned an error code (1)

          [JENKINS-67721] Installation fails /lib/init/init-d-script: No such file or directory

          kpop added a comment -

          I reverted to Jenkins 2.331.

          kpop added a comment - I reverted to Jenkins 2.331.

          Mark Waite added a comment -

          Ubuntu 14.04 end of standard support was April 2019. The Jenkins project does not test Ubuntu 14.04.

          You'll need to upgrade to a supported operating system. We don't plan to fix the issue reported here unless the same issue is visible on an Ubuntu version that is supported by the operating system provider.

          Mark Waite added a comment - Ubuntu 14.04 end of standard support was April 2019 . The Jenkins project does not test Ubuntu 14.04. You'll need to upgrade to a supported operating system. We don't plan to fix the issue reported here unless the same issue is visible on an Ubuntu version that is supported by the operating system provider.

          kpop added a comment -

          Ok, thank you for fast response and the clear answer.

          kpop added a comment - Ok, thank you for fast response and the clear answer.

          Basil Crow added a comment -

          As a workaround, Ubuntu 14.04 users can try the /lib/init/init-d-script script from Ubuntu 16.04:

          $ cd $(mktemp -d)
          $ wget https://launchpadlibrarian.net/236367545/sysvinit-utils_2.88dsf-59.3ubuntu2_amd64.deb
          $ dpkg -x sysvinit-utils_2.88dsf-59.3ubuntu2_amd64.deb .
          $ sudo cp lib/init/init-d-script /lib/init
          

          Note that this is unsupported from the perspective of the Ubuntu project, the Jenkins project, and me personally. Do not ask me for help with the above workaround.

          Basil Crow added a comment - As a workaround, Ubuntu 14.04 users can try the /lib/init/init-d-script script from Ubuntu 16.04: $ cd $(mktemp -d) $ wget https://launchpadlibrarian.net/236367545/sysvinit-utils_2.88dsf-59.3ubuntu2_amd64.deb $ dpkg -x sysvinit-utils_2.88dsf-59.3ubuntu2_amd64.deb . $ sudo cp lib/init/init-d-script /lib/init Note that this is unsupported from the perspective of the Ubuntu project, the Jenkins project, and me personally. Do not ask me for help with the above workaround.

          Basil Crow added a comment -

          The forthcoming weekly release, Jenkins 2.334, declares a minimum required version of sysvinit-utils (>= 2.88dsf-50), so it will just not be possible to install it on Ubuntu 14.04.

          Basil Crow added a comment - The forthcoming weekly release, Jenkins 2.334, declares a minimum required version of sysvinit-utils (>= 2.88dsf-50), so it will just not be possible to install it on Ubuntu 14.04.

          kpop added a comment -

          Thank you for the heads up and the temporary workaround. I'll be upgrading the server.

          kpop added a comment - Thank you for the heads up and the temporary workaround. I'll be upgrading the server.

          kpop added a comment -

          Works as expected on Ubuntu 18.04 LTS. Thank you for the help!

          kpop added a comment - Works as expected on Ubuntu 18.04 LTS. Thank you for the help!

            Unassigned Unassigned
            kpop kpop
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: