-
Bug
-
Resolution: Not A Defect
-
Minor
-
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:
- Install jenkins from the standard Ubuntu repositories. (currently 1.424). Ubuntu splits jenkins into packages jenkins and jenkins-common.
- Add the jenkins-ci repository to /etc/apt/sources.list.
- apt-get update
- apt-get -u upgrade
- observe that jenkins will be upgraded. Note that jenkins-common is not mentioned.
- During upgrade, apt reports the error shown above.
Suggested fix: Consider adding "conflicts: jenkins-common".