Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top
$ sudo apt-get install jenkins
    Reading package lists... Done
    Building dependency tree       
    Reading state information... Done
    The following NEW packages will be installed:
    0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
    Need to get 57.8 MB of archives.
    After this operation, 63.5 MB of additional disk space will be used.
    Get:1 binary/ jenkins 1.529 [57.8 MB]
    Fetched 57.8 MB in 18s (3,198 kB/s)                                                                               
    Selecting previously unselected package jenkins.
    (Reading database ... 220980 files and directories currently installed.)
    Unpacking jenkins (from .../archives/jenkins_1.529_all.deb) ...
    dpkg: error processing /var/cache/apt/archives/jenkins_1.529_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)
    No apport report written because MaxReports is reached already
                                                                  Errors were encountered while processing:
    E: Sub-process /usr/bin/dpkg returned an error code (1)

Can you please help ?

share|improve this question
up vote 14 down vote accepted

Try this:

sudo apt-get clean
sudo apt-get purge jenkins-common
sudo apt-get install jenkins
share|improve this answer

Also try this command on terminal,

sudo dpkg -i --force-overwrite /var/cache/apt/archives/jenkins_1.529_all.deb
share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.