• 맑음동두천 8.9℃
  • 맑음강릉 12.7℃
  • 맑음서울 11.0℃
  • 맑음대전 9.2℃
  • 연무대구 11.2℃
  • 구름조금울산 10.6℃
  • 연무광주 11.7℃
  • 맑음부산 14.9℃
  • 맑음고창 10.3℃
  • 구름많음제주 16.1℃
  • 맑음강화 9.8℃
  • 맑음보은 7.6℃
  • 맑음금산 6.7℃
  • 구름많음강진군 13.1℃
  • 구름많음경주시 8.2℃
  • 맑음거제 8.9℃
기상청 제공

yum으로 update 안될 경우

yum으로 update 안될 경우

# 에러
---> Package python-libs.x86_64 0:2.4.3-43.el5 set to be updated
addons/filelists                                                                     |  197 B     00:00    
base/filelists_db                                                                    | 4.0 MB     00:00    
extras/filelists_db                                                                  | 225 kB     00:00    
updates/filelists_db                                                                 | 1.2 MB     00:00    
--> Finished Dependency Resolution
gcc-gnat-4.1.2-48.el5.i386 from installed has depsolving problems
  --> Missing Dependency: libgnat = 4.1.2-48.el5 is needed by package gcc-gnat-4.1.2-48.el5.i386 (installed)
gcc-gnat-4.1.2-48.el5.i386 from installed has depsolving problems
  --> Missing Dependency: libgnat = 4.1.2-48.el5 is needed by package gcc-gnat-4.1.2-48.el5.i386 (installed)
gcc-gnat-4.1.2-48.el5.i386 from installed has depsolving problems
  --> Missing Dependency: gcc = 4.1.2-48.el5 is needed by package gcc-gnat-4.1.2-48.el5.i386 (installed)
Error: Missing Dependency: libgnat = 4.1.2-48.el5 is needed by package gcc-gnat-4.1.2-48.el5.i386 (installed)
Error: Missing Dependency: gcc = 4.1.2-48.el5 is needed by package gcc-gnat-4.1.2-48.el5.i386 (installed)
 You could try using --skip-broken to work around the problem
 You could try running: package-cleanup --problems
                        package-cleanup --dupes
                        rpm -Va --nofiles --nodigest
The program package-cleanup is found in the yum-utils package.


# 해결방법
gcc-gnat-4.1.2-48.el5.i386 패키지를 삭제한다.
삭제시 specifies multiple packages 발생시엔 아래 명령어로 삭제한다.
rpm --erase --allmatches gcc-gnat-4.1.2-48.el5.i386