See morw...

Wednesday, March 5, 2014

Jenkins installation erros on Ubuntu 12.04

I tried to install and configure Jenkins on Ubuntu 12.04 Server and end up with following error.

dpkg: error processing /var/cache/apt/archives/jenkins_1.553_all.deb (--unpack):
 trying to overwrite '/usr/share/jenkins/jenkins.war', which is also in package jenkins-common 1.424.6+dfsg-1ubuntu0.2
dpkg-deb: error: subprocess paste was killed by signal (Broken pipe)
Errors were encountered while processing:
 /var/cache/apt/archives/jenkins_1.553_all.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)

  • I tried to manually overwrite the .war file as it complained.
  • reInstalled several times
But same error at all the times.

Then I tried the remove unwanted tools and plugins form the system. Luckily I fixed the issues and now Jenkins is working fine.

Sudo apt-get autoremove




No comments: