• -동두천 6.6℃
  • -강릉 19.4℃
  • 박무서울 10.0℃
  • 박무대전 11.1℃
  • 맑음대구 16.2℃
  • 맑음울산 17.7℃
  • 박무광주 10.1℃
  • 맑음부산 17.9℃
  • -고창 9.1℃
  • 연무제주 15.2℃
  • -강화 4.6℃
  • -보은 13.0℃
  • -금산 10.1℃
  • -강진군 10.6℃
  • -경주시 17.2℃
  • -거제 17.3℃
기상청 제공

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