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

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

          [JENKINS-17573] Installation from jenkins-ci repository fails on Ubuntu 12.04 when jenkins is already installed

          Christian Tellefsen created issue -
          Sorin Sbarnea made changes -
          Component/s New: debian-package-builder [ 17529 ]
          Priority Original: Minor [ 4 ] New: Critical [ 2 ]
          Daniel Beck made changes -
          Component/s Original: debian-package-builder [ 17529 ]
          Priority Original: Critical [ 2 ] New: Minor [ 4 ]
          Daniel Beck made changes -
          Resolution New: Not A Defect [ 7 ]
          Status Original: Open [ 1 ] New: Resolved [ 5 ]
          R. Tyler Croy made changes -
          Workflow Original: JNJira [ 148752 ] New: JNJira + In-Review [ 192854 ]

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

              Created:
              Updated:
              Resolved: