On Mon, Mar 10, 2014 at 10:05:55AM -0700, Jarlath Reidy wrote: > I'm following the installation instructions for Ubuntu here: > https://wiki.jenkins-ci.org/display/JENKINS/Containers > > But installation fails with the following: > > The following packages will be upgraded: > jenkins > 1 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. > Need to get 0 B/61.1 MB of archives. > After this operation, 67.2 MB of additional disk space will be used. > (Reading database ... 202135 files and directories currently installed.) > Preparing to unpack .../archives/jenkins_1.554_all.deb ... > jenkins stop/waiting > Unpacking jenkins (1.554) over (1.509.2+dfsg-2) ... > dpkg: error processing archive > /var/cache/apt/archives/jenkins_1.554_all.deb (--unpack): > trying to overwrite '/usr/share/jenkins/jenkins.war', which is also in > package jenkins-common 1.509.2+dfsg-2 > dpkg-deb: error: subprocess paste was killed by signal (Broken pipe) > jenkins start/running, process 19937 > Errors were encountered while processing: > /var/cache/apt/archives/jenkins_1.554_all.deb > E: Sub-process /usr/bin/dpkg returned an error code (1) > > I'm running Ubuntu 14.04 alpha 2 - anyone know what the issue is here?
It's a bug in the official Jenkins package: https://issues.jenkins-ci.org/browse/JENKINS-18798 Workaround: remove Ubuntu's jenkins and jenkins-common packages before installing the upstream version of the package. Be sure to also remove the /etc/init/jenkins.conf (since it's a conffile, apt-get removing jenkins will leave it in place -- and this will break startup.) Another bug: https://issues.jenkins-ci.org/browse/JENKINS-19329 Marius Gedminas -- In ViM, your keyboard is like a giant game-pad of editing functionality. Every key does something amazing and magical. -- http://www.foothills.wjduquette.com/blog/archives/1813
signature.asc
Description: Digital signature
