Installation from jenkins-ci repository fails on Ubuntu 12.04 when jenkins is already installed

This issue is archived. You can view it, but you can't modify it. Learn more

XMLWordPrintable

      Error from dpkg while installing from the jenkins-ci apt repository:

      Unpacking jenkins (from .../archives/jenkins_1.510_all.deb) ...
      dpkg: error processing /var/cache/apt/archives/jenkins_1.510_all.deb (--unpack):
       trying to overwrite '/usr/share/jenkins/jenkins.war', which is also in package jenkins-common 1.424.6+dfsg-1ubuntu0.1
      

      Steps to reproduce:

      1. Install jenkins from the standard Ubuntu repositories. (currently 1.424). Ubuntu splits jenkins into packages jenkins and jenkins-common.
      2. Add the jenkins-ci repository to /etc/apt/sources.list.
      3. apt-get update
      4. apt-get -u upgrade
        • observe that jenkins will be upgraded. Note that jenkins-common is not mentioned.
      5. During upgrade, apt reports the error shown above.

      Suggested fix: Consider adding "conflicts: jenkins-common".

            Assignee:
            Unassigned
            Reporter:
            Christian Tellefsen
            Archiver:
            Jenkins Service Account

              Created:
              Updated:
              Resolved:
              Archived: