티스토리 뷰

사내 서버에 젠킨스 설치도중 아래와 같은 에러 발생.

Error: Package: jenkins-2.319.2-1.1.noarch (jenkins) Requires: daemonize

]# yum install jenkins
Loaded plugins: extras_suggestions, langpacks, priorities, update-motd
jenkins                                                                                                                                                                                  | 2.9 kB  00:00:00
jenkins/primary_db                                                                                                                                                                       |  40 kB  00:00:00
Resolving Dependencies
--> Running transaction check
---> Package jenkins.noarch 0:2.319.2-1.1 will be installed
--> Processing Dependency: daemonize for package: jenkins-2.319.2-1.1.noarch
--> Finished Dependency Resolution
Error: Package: jenkins-2.319.2-1.1.noarch (jenkins)
           Requires: daemonize
 You could try using --skip-broken to work around the problem
 You could try running: rpm -Va --nofiles --nodigest

해결

amazon-linux-extras install epel -y

 

아래는 젠킨스를 설치하기 위해 실행했던 명령어 스텝바이스텝.

wget -O /etc/yum.repos.d/jenkins.repo https://pkg.jenkins.io/redhat-stable/jenkins.repo
rpm --import https://pkg.jenkins.io/redhat-stable/jenkins.io.key
amazon-linux-extras install epel -y
yum update -y
yum install jenkins -y

 

참고

https://jojoldu.tistory.com/544

https://exerror.com/error-package-jenkins-2-306-1-1-noarch-jenkins-requires-daemonize/

 

EC2 (Amazon Linux 2) 에 Jenkins 설치하기

기존에 작성된 EC2 (Amazon Linux 1) 에 Jenkins 설치하기 이 있지만, 현재 AWS에서 Amazon Linux2가 메인 이미지가 되었기에 해당 버전으로 설치하는 법을 진행하겠습니다. 아시다시피 Amazon Linux 2는 CentOS 7..

jojoldu.tistory.com

 

댓글
공지사항
최근에 올라온 글
최근에 달린 댓글
Total
Today
Yesterday
링크
«   2025/04   »
1 2 3 4 5
6 7 8 9 10 11 12
13 14 15 16 17 18 19
20 21 22 23 24 25 26
27 28 29 30
글 보관함