sudo apt-get remove jenkins-common Reading package lists... Done Building dependency tree Reading state information... Done The following packages were automatically installed and are no longer required: libmaven-plugin-testing-java libjffi-jni libjnr-posix-java libconstantine-java libjenkins-remoting-java libmaven-common-artifact-filters-java jenkins-cli libmaven-enforcer-plugin-java libargs4j-java libanimal-sniffer-java libjffi-java libjaffl-java libmaven-invoker-java Use 'apt-get autoremove' to remove them. The following extra packages will be installed: jenkins The following packages will be REMOVED: jenkins-common The following packages will be upgraded: jenkins 1 upgraded, 0 newly installed, 1 to remove and 0 not upgraded. Need to get 0 B/48.3 MB of archives. After this operation, 18.0 MB of additional disk space will be used. Do you want to continue [Y/n]? Y (Reading database ... 305807 files and directories currently installed.) Preparing to replace jenkins 1.424.6+dfsg-1ubuntu0.1 (using .../archives/jenkins_1.492_all.deb) ... jenkins stop/waiting Unpacking replacement jenkins ... dpkg: error processing /var/cache/apt/archives/jenkins_1.492_all.deb (--unpack): trying to overwrite '/usr/share/jenkins/jenkins.war', which is also in package jenkins-common 1.424.6+dfsg-1ubuntu0.1 dpkg-deb: error: subprocess paste was killed by signal (Broken pipe) jenkins start/running, process 31136 Errors were encountered while processing: /var/cache/apt/archives/jenkins_1.492_all.deb E: Sub-process /usr/bin/dpkg returned an error code (1)
because i could not upgrade/remove Jenkins i found that there is a conflict with jenkins-commons