CentOS6.3 yum更新问题

yum 更新软件时,提示错误,错误信息如下:

ERROR with rpm_check_debug vs depsolve:
/usr/share/java/eclipse-ecj.jar is needed by gcc-java-4.4.7-3.el6.i686
** Found 2 pre-existing rpmdb problem(s), 'yum check' output follows:
avast4workstation-1.3.0-1.i586 has missing requires of libexpat.so.0
gcc-java-4.4.6-4.el6.i686 has missing requires of /usr/share/java/eclipse-ecj.jar
Your transaction was saved, rerun it with: yum load-transaction /tmp/yum_save_tx-2013-05-08-09-157IB4yB.yumtx

看了看/usr/share/java/下 确实没有eclipse-ecj.jar这个文件,然后就安装了这个文件,


 
 
  1. yum install eclipse-ecj

再次更新有没有问题


  1. yum update



你可能感兴趣的:(centos6.3,yum错误,eclipse-ecj)