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

Debian packages modified without increasing version number

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Minor Minor
    • packaging
    • None
    • Debian

      To address https://issues.jenkins-ci.org/browse/JENKINS-44504  + https://issues.jenkins-ci.org/browse/JENKINS-44502 the existing Debian package jenkins_2.46.3_all.deb was modified with the following change:

      -Depends: daemon, adduser, procps, psmisc, net-tools, default-jre-headless (>= 2:1.8) | java8-runtime-headless

      + Depends: daemon, adduser, procps, psmisc, net-tools, default-jre-headless (>= 2:1.7) | java7-runtime-headless

      Please do not modify existing (and published) releases, instead increase the version number (use the Debian version string for such packaging related changes, like: 2.46.3-1 -> 2.46.3-2).

      Reporting this since this isn't happening for the first time, and it's giving users of the Debian package different results depending on time of installation, and it's also breaking Debian package mirroring where file verification is in place.

      (Please reassign/move as needed, that's the best place I found for reporting this. )

      Thanks for consideration!

          [JENKINS-44556] Debian packages modified without increasing version number

          Daniel Beck added a comment -

          Issue is probably somewhere around https://github.com/jenkinsci/packaging/blob/master/deb/publish/publish.sh and packaging is tracked in JENKINS.

          Daniel Beck added a comment - Issue is probably somewhere around https://github.com/jenkinsci/packaging/blob/master/deb/publish/publish.sh and packaging is tracked in JENKINS.

          Daniel Beck added a comment -

          olivergondza kohsuke Did we file the 'stable' branch for packaging we discussed a while back anywhere? If so, should be linked to this issue.

          Daniel Beck added a comment - olivergondza kohsuke Did we file the 'stable' branch for packaging we discussed a while back anywhere? If so, should be linked to this issue.

          Since danielbeck asked to provide this as add-on information, this also happened in the past e.g. with the following releases as well:

          • 1.652
          • 2.24
          • 2.19.1
          • 2.7.1

          Michael Prokop added a comment - Since danielbeck asked to provide this as add-on information, this also happened in the past e.g. with the following releases as well: 1.652 2.24 2.19.1 2.7.1

          danielbeck, I do not think we have one.

          Oliver Gondža added a comment - danielbeck , I do not think we have one.

          Code changed in jenkins
          User: Kohsuke Kawaguchi
          Path:
          deb/build/build.sh
          deb/publish/publish.sh
          setup.mk
          http://jenkins-ci.org/commit/packaging/141ca570b164088f80e2184d1bbca4559cdd202b
          Log:
          JENKINS-44556 introduce a mechanism to set the debian packaging verrsion

          This allows us to regenerate a new debian package without causing
          downstream pains.

          SCM/JIRA link daemon added a comment - Code changed in jenkins User: Kohsuke Kawaguchi Path: deb/build/build.sh deb/publish/publish.sh setup.mk http://jenkins-ci.org/commit/packaging/141ca570b164088f80e2184d1bbca4559cdd202b Log: JENKINS-44556 introduce a mechanism to set the debian packaging verrsion This allows us to regenerate a new debian package without causing downstream pains.

          Code changed in jenkins
          User: Kohsuke Kawaguchi
          Path:
          deb/build/build.sh
          deb/publish/publish.sh
          setup.mk
          http://jenkins-ci.org/commit/packaging/3835c07d1a1417ee684dc757455919a9150dfb06
          Log:
          Merge pull request #100 from jenkinsci/JENKINS-44556

          JENKINS-44556 introduce a mechanism to set the debian packaging version

          Compare: https://github.com/jenkinsci/packaging/compare/b3198e467bca...3835c07d1a14

          SCM/JIRA link daemon added a comment - Code changed in jenkins User: Kohsuke Kawaguchi Path: deb/build/build.sh deb/publish/publish.sh setup.mk http://jenkins-ci.org/commit/packaging/3835c07d1a1417ee684dc757455919a9150dfb06 Log: Merge pull request #100 from jenkinsci/ JENKINS-44556 JENKINS-44556 introduce a mechanism to set the debian packaging version Compare: https://github.com/jenkinsci/packaging/compare/b3198e467bca...3835c07d1a14

            kohsuke Kohsuke Kawaguchi
            mika Michael Prokop
            Votes:
            1 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated: