[Ubuntu-zh] 更新centos遇到錯誤

ivan.wen在mic.com.tw ivan.wen在mic.com.tw
星期日 十月 9 05:20:03 UTC 2011


Hi,大家好:

   有遇到centos5.7無法更新的情況,錯誤代碼在最下面,有請知道處理方法者告知.使用的是163的源,謝謝.

Ps:全新安裝centos並更新到5.7,出現同樣情況.單獨安裝mysql同樣報錯.以下是更新系統的錯誤訊息.

 

Code:

 

[debian於debian ~]$ sudo yum update

Loaded plugins: fastestmirror

Repository base is listed more than once in the configuration

Repository updates is listed more than once in the configuration

Repository extras is listed more than once in the configuration

Repository centosplus is listed more than once in the configuration

Repository contrib is listed more than once in the configuration

Loading mirror speeds from cached hostfile

 * base: mirrors.163.com

 * extras: mirrors.163.com

 * updates: mirrors.163.com

Setting up Update Process

Resolving Dependencies

--> Running transaction check

---> Package apr.i386 0:1.4.5-1.jason.1 set to be updated

---> Package apr-util.i386 0:1.3.12-1.jason.1 set to be updated

---> Package httpd.i386 0:2.2.21-jason.1 set to be updated

--> Processing Dependency: apr-util-ldap for package: httpd

---> Package httpd-manual.i386 0:2.2.21-jason.1 set to be updated

---> Package mod_perl.i386 0:2.0.4-7.jason.2 set to be updated

---> Package mod_python.i386 0:3.3.1-8.jason.3 set to be updated

---> Package mod_ssl.i386 1:2.2.21-jason.1 set to be updated

--> Processing Dependency: libmysqlclient.so.15 for package: dovecot

--> Processing Dependency: libmysqlclient.so.15(libmysqlclient_15) for package: dovecot

---> Package mysql.i386 0:5.1.58-jason.1 set to be updated

---> Package pcre.i386 0:8.13-1.jason.2 set to be updated

---> Package perl-DBI.i386 0:1.609-1.el5.centos set to be updated

--> Processing Dependency: libpq.so.4 for package: dovecot

---> Package postgresql-libs.i386 0:8.2.14-1.el5.centos set to be updated

---> Package slrn.i386 0:0.9.9p1-1.el5 set to be updated

--> Processing Dependency: canlock for package: slrn

--> Processing Dependency: libcanlock.so.2 for package: slrn

---> Package yum.noarch 0:3.2.27-12.el5_from_el6 set to be updated

--> Running transaction check

---> Package apr-util-ldap.i386 0:1.3.12-1.jason.1 set to be updated

---> Package canlock.i386 0:2b-2.el5 set to be updated

---> Package mysql-libs.i386 0:5.0.84-2.el5.centos set to be updated

---> Package postgresqlclient81.i386 0:8.1.17-1.el5.centos set to be updated

--> Finished Dependency Resolution

 

Dependencies Resolved

 

================================================================================================================================================================

 Package                                  Arch                         Version                                       Repository                            Size

================================================================================================================================================================

Updating:

 apr                                      i386                         1.4.5-1.jason.1                               utterramblings                       258 k

 apr-util                                 i386                         1.3.12-1.jason.1                              utterramblings                       196 k

 httpd                                    i386                         2.2.21-jason.1                                utterramblings                       3.0 M

 httpd-manual                             i386                         2.2.21-jason.1                                utterramblings                       988 k

 mod_perl                                 i386                         2.0.4-7.jason.2                               utterramblings                       5.4 M

 mod_python                               i386                         3.3.1-8.jason.3                               utterramblings                       953 k

 mod_ssl                                  i386                         1:2.2.21-jason.1                              utterramblings                       324 k

 mysql                                    i386                         5.1.58-jason.1                                utterramblings                       3.5 M

 pcre                                     i386                         8.13-1.jason.2                                utterramblings                       509 k

 perl-DBI                                 i386                         1.609-1.el5.centos                            c5-testing                           743 k

 postgresql-libs                          i386                         8.2.14-1.el5.centos                           c5-testing                           200 k

 slrn                                     i386                         0.9.9p1-1.el5                                 c5-testing                           773 k

 yum                                      noarch                       3.2.27-12.el5_from_el6                        c5-testing                           1.3 M

Installing for dependencies:

 apr-util-ldap                            i386                         1.3.12-1.jason.1                              utterramblings                        19 k

 canlock                                  i386                         2b-2.el5                                      c5-testing                            11 k

 mysql-libs                               i386                         5.0.84-2.el5.centos                           c5-testing                           1.8 M

 postgresqlclient81                       i386                         8.1.17-1.el5.centos                           c5-testing                           276 k

 

Transaction Summary

================================================================================================================================================================

Install       4 Package(s)

Upgrade      13 Package(s)

 

Total size: 20 M

Is this ok [y/N]: y

Downloading Packages:

Running rpm_check_debug

Running Transaction Test

Finished Transaction Test

 

 

Transaction Check Error:

  file /etc/my.cnf conflicts between attempted installs of mysql-libs-5.0.84-2.el5.centos.i386 and mysql-5.1.58-jason.1.i386

  file /usr/share/mysql/charsets/Index.xml conflicts between attempted installs of mysql-libs-5.0.84-2.el5.centos.i386 and mysql-5.1.58-jason.1.i386

  file /usr/share/mysql/charsets/cp1250.xml conflicts between attempted installs of mysql-libs-5.0.84-2.el5.centos.i386 and mysql-5.1.58-jason.1.i386

  file /usr/share/mysql/charsets/cp1251.xml conflicts between attempted installs of mysql-libs-5.0.84-2.el5.centos.i386 and mysql-5.1.58-jason.1.i386

  file /usr/share/mysql/czech/errmsg.sys conflicts between attempted installs of mysql-libs-5.0.84-2.el5.centos.i386 and mysql-5.1.58-jason.1.i386

  file /usr/share/mysql/danish/errmsg.sys conflicts between attempted installs of mysql-libs-5.0.84-2.el5.centos.i386 and mysql-5.1.58-jason.1.i386

  file /usr/share/mysql/dutch/errmsg.sys conflicts between attempted installs of mysql-libs-5.0.84-2.el5.centos.i386 and mysql-5.1.58-jason.1.i386

  file /usr/share/mysql/english/errmsg.sys conflicts between attempted installs of mysql-libs-5.0.84-2.el5.centos.i386 and mysql-5.1.58-jason.1.i386

  file /usr/share/mysql/estonian/errmsg.sys conflicts between attempted installs of mysql-libs-5.0.84-2.el5.centos.i386 and mysql-5.1.58-jason.1.i386

  file /usr/share/mysql/french/errmsg.sys conflicts between attempted installs of mysql-libs-5.0.84-2.el5.centos.i386 and mysql-5.1.58-jason.1.i386

  file /usr/share/mysql/german/errmsg.sys conflicts between attempted installs of mysql-libs-5.0.84-2.el5.centos.i386 and mysql-5.1.58-jason.1.i386

  file /usr/share/mysql/greek/errmsg.sys conflicts between attempted installs of mysql-libs-5.0.84-2.el5.centos.i386 and mysql-5.1.58-jason.1.i386

  file /usr/share/mysql/hungarian/errmsg.sys conflicts between attempted installs of mysql-libs-5.0.84-2.el5.centos.i386 and mysql-5.1.58-jason.1.i386

  file /usr/share/mysql/italian/errmsg.sys conflicts between attempted installs of mysql-libs-5.0.84-2.el5.centos.i386 and mysql-5.1.58-jason.1.i386

  file /usr/share/mysql/japanese/errmsg.sys conflicts between attempted installs of mysql-libs-5.0.84-2.el5.centos.i386 and mysql-5.1.58-jason.1.i386

  file /usr/share/mysql/korean/errmsg.sys conflicts between attempted installs of mysql-libs-5.0.84-2.el5.centos.i386 and mysql-5.1.58-jason.1.i386

  file /usr/share/mysql/norwegian-ny/errmsg.sys conflicts between attempted installs of mysql-libs-5.0.84-2.el5.centos.i386 and mysql-5.1.58-jason.1.i386

  file /usr/share/mysql/norwegian/errmsg.sys conflicts between attempted installs of mysql-libs-5.0.84-2.el5.centos.i386 and mysql-5.1.58-jason.1.i386

  file /usr/share/mysql/polish/errmsg.sys conflicts between attempted installs of mysql-libs-5.0.84-2.el5.centos.i386 and mysql-5.1.58-jason.1.i386

  file /usr/share/mysql/portuguese/errmsg.sys conflicts between attempted installs of mysql-libs-5.0.84-2.el5.centos.i386 and mysql-5.1.58-jason.1.i386

  file /usr/share/mysql/romanian/errmsg.sys conflicts between attempted installs of mysql-libs-5.0.84-2.el5.centos.i386 and mysql-5.1.58-jason.1.i386

  file /usr/share/mysql/russian/errmsg.sys conflicts between attempted installs of mysql-libs-5.0.84-2.el5.centos.i386 and mysql-5.1.58-jason.1.i386

  file /usr/share/mysql/serbian/errmsg.sys conflicts between attempted installs of mysql-libs-5.0.84-2.el5.centos.i386 and mysql-5.1.58-jason.1.i386

  file /usr/share/mysql/slovak/errmsg.sys conflicts between attempted installs of mysql-libs-5.0.84-2.el5.centos.i386 and mysql-5.1.58-jason.1.i386

  file /usr/share/mysql/spanish/errmsg.sys conflicts between attempted installs of mysql-libs-5.0.84-2.el5.centos.i386 and mysql-5.1.58-jason.1.i386

  file /usr/share/mysql/swedish/errmsg.sys conflicts between attempted installs of mysql-libs-5.0.84-2.el5.centos.i386 and mysql-5.1.58-jason.1.i386

  file /usr/share/mysql/ukrainian/errmsg.sys conflicts between attempted installs of mysql-libs-5.0.84-2.el5.centos.i386 and mysql-5.1.58-jason.1.i386

 

Error Summary

-------------

 

[debian於debian ~]$

 

End.

 

Thanks/Ivan

-------------- 下一部份 --------------
抹去了一個 HTML 附加檔...
URL: <https://lists.ubuntu.com/archives/ubuntu-zh/attachments/20111009/57d4139d/attachment.html>


关于邮件列表 ubuntu-zh 的更多信息