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

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

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Not A Defect
    • Icon: Minor Minor
    • core
    • Ubuntu 12.04

      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".

            Unassigned Unassigned
            christte Christian Tellefsen
            Votes:
            2 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: