Ubuntu 12.04.3 LTS에서 젠킨스 설치 문제


8
$ sudo apt-get install jenkins
    Reading package lists... Done
    Building dependency tree       
    Reading state information... Done
    The following NEW packages will be installed:
      jenkins
    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 http://pkg.jenkins-ci.org/debian/ 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:
     /var/cache/apt/archives/jenkins_1.529_all.deb
    E: Sub-process /usr/bin/dpkg returned an error code (1)

도와 주실 수 있습니까?

답변:


20

이 시도:

sudo apt-get clean
sudo apt-get purge jenkins-common
sudo apt-get install jenkins

오류 : 'jenkins-common'패키지가 설치되지 않았으므로 제거되지 않음
IgorGanapolsky

우분투 14.04 작업
Robert

0

또한 터미널 에서이 명령을 시도하십시오.

sudo dpkg -i --force-overwrite /var/cache/apt/archives/jenkins_1.529_all.deb
당사 사이트를 사용함과 동시에 당사의 쿠키 정책개인정보 보호정책을 읽고 이해하였음을 인정하는 것으로 간주합니다.
Licensed under cc by-sa 3.0 with attribution required.