기초 Linux 서버관리2014. 2. 21. 17:42

yum 패키지설치에러 중


cdefs.h 헤더파일이 없어서 확인해 보니 /usr/include/ 디렉토리에 해당 파일이 없었다.

그래서 yum으로 glibc-headers 패키지를 설치 진행하다가

ERROR with rpm_check_debug vs depsolve

에러 문구가 표시 되었다.


Dependencies Resolved

=============================================================================
 Package                 Arch       Version          Repository        Size
=============================================================================
Updating:
 glibc                   x86_64     2.5-118.el5_10.2  updates           4.8 M
 glibc                   i686       2.5-118.el5_10.2  updates           5.4 M
 glibc-common            x86_64     2.5-118.el5_10.2  updates            16 M
 glibc-headers           x86_64     2.5-118.el5_10.2  updates           602 k
Updating for dependencies:
 glibc-devel             x86_64     2.5-118.el5_10.2  updates           2.4 M
 nscd                    x86_64     2.5-118.el5_10.2  updates           177 k

Transaction Summary
=============================================================================
Install      0 Package(s)
Update       6 Package(s)
Remove       0 Package(s)

Total download size: 30 M
Is this ok [y/N]: y
Downloading Packages:
Running rpm_check_debug
ERROR with rpm_check_debug vs depsolve:
Package glibc-devel needs glibc-headers = 2.5-49.el5_5.7, this is not available.
Package glibc-devel needs glibc-headers = 2.5-49.el5_5.7, this is not available.
Package glibc-devel needs glibc = 2.5-49.el5_5.7, this is not available.
Package glibc-devel needs glibc = 2.5-49.el5_5.7, this is not available.
Complete!


필자는 맨 마지막 complete 단어만 보고 설치되었는 줄 알았는데 더 자세치 보니 설치 실패였다.


해결 방법

1) yum clean all

2) yum update yum

3) yum install glibc-headers

4) 설치 완료


Posted by 박물지