# gedit /etc/yum.repos.d/utterramblings.repo
class="java" name="code">[utterramblings] name=Jason’s Utter Ramblings Repo baseurl=http://www.jasonlitka.com/media/EL$releasever/$basearch/ enabled=1 gpgcheck=1 gpgkey=http://www.jasonlitka.com/media/RPM-GPG-KEY-jlitka
?
?
[root@linux11 ZendOptimizer-3.3.3-linux-glibc23-i386]# yum update php utterramblings 2.3 kB 00:18 primary.sqlite.bz2 100% |=========================| 115 kB 00:02 Reducing CentOS-5 Testing to included packages only Finished Setting up Update Process Resolving Dependencies --> Running transaction check ---> Package php.i386 0:5.2.17-jason.2 set to be updated --> Processing Dependency: php-common = 5.2.17-jason.2 for package: php --> Processing Dependency: php-cli = 5.2.17-jason.2 for package: php --> Running transaction check --> Processing Dependency: php-common = 5.1.6-45.el5_11 for package: php-mysql --> Processing Dependency: php-common = 5.1.6-45.el5_11 for package: php-pdo --> Processing Dependency: php-common = 5.1.6-45.el5_11 for package: php-gd ---> Package php-cli.i386 0:5.2.17-jason.2 set to be updated ---> Package php-common.i386 0:5.2.17-jason.2 set to be updated --> Running transaction check ---> Package php-pdo.i386 0:5.2.17-jason.2 set to be updated ---> Package php-gd.i386 0:5.2.17-jason.2 set to be updated ---> Package php-mysql.i386 0:5.2.17-jason.2 set to be updated --> Processing Dependency: libmysqlclient.so.16(libmysqlclient_16) for package: php-mysql --> Processing Dependency: libmysqlclient.so.16 for package: php-mysql --> Running transaction check ---> Package mysql.i386 0:5.1.58-jason.1 set to be updated --> Processing Dependency: libmysqlclient.so.15 for package: libdbi-dbd-mysql --> Processing Dependency: libmysqlclient.so.15 for package: perl-DBD-MySQL --> Processing Dependency: libmysqlclient.so.15 for package: mysql-server --> Processing Dependency: libmysqlclient.so.15 for package: mysql-connector-odbc --> Processing Dependency: libmysqlclient.so.15(libmysqlclient_15) for package: libdbi-dbd-mysql --> Processing Dependency: libmysqlclient.so.15(libmysqlclient_15) for package: perl-DBD-MySQL --> Processing Dependency: libmysqlclient.so.15(libmysqlclient_15) for package: mysql-server --> Processing Dependency: libmysqlclient.so.15(libmysqlclient_15) for package: mysql-connector-odbc --> Processing Dependency: libmysqlclient_r.so.15 for package: MySQL-python --> Processing Dependency: libmysqlclient_r.so.15 for package: mysql-server --> Processing Dependency: libmysqlclient_r.so.15 for package: mysql-connector-odbc --> Processing Dependency: libmysqlclient_r.so.15(libmysqlclient_15) for package: MySQL-python --> Processing Dependency: libmysqlclient_r.so.15(libmysqlclient_15) for package: mysql-server --> Processing Dependency: libmysqlclient_r.so.15(libmysqlclient_15) for package: mysql-connector-odbc --> Processing Dependency: mysql = 5.0.45-7.el5 for package: mysql-server --> Running transaction check ---> Package mysqlclient15.i386 0:5.0.91-1.jason.1 set to be updated ---> Package MySQL-python.i386 0:1.2.3-0.1.c1.el5 set to be updated ---> Package perl-DBD-MySQL.i386 0:3.0007-2.el5 set to be updated ---> Package mysql-server.i386 0:5.1.58-jason.1 set to be updated ---> Package mysql-connector-odbc.i386 0:3.51.26r1127-2.el5 set to be updated --> Finished Dependency Resolution Dependencies Resolved ============================================================================= Package Arch Version Repository Size ============================================================================= Updating: mysql i386 5.1.58-jason.1 utterramblings 3.5 M php i386 5.2.17-jason.2 utterramblings 3.6 M php-cli i386 5.2.17-jason.2 utterramblings 2.6 M php-common i386 5.2.17-jason.2 utterramblings 513 k Installing for dependencies: mysqlclient15 i386 5.0.91-1.jason.1 utterramblings 2.0 M Updating for dependencies: MySQL-python i386 1.2.3-0.1.c1.el5 base 93 k mysql-connector-odbc i386 3.51.26r1127-2.el5 base 159 k mysql-server i386 5.1.58-jason.1 utterramblings 13 M perl-DBD-MySQL i386 3.0007-2.el5 base 148 k php-gd i386 5.2.17-jason.2 utterramblings 331 k php-mysql i386 5.2.17-jason.2 utterramblings 267 k php-pdo i386 5.2.17-jason.2 utterramblings 164 k Transaction Summary ============================================================================= Install 1 Package(s) Update 11 Package(s) Remove 0 Package(s) Total download size: 26 M Is this ok [y/N]: y Downloading Packages: (1/12): php-common-5.2.17 100% |=========================| 513 kB 00:23 (2/12): php-gd-5.2.17-jas 100% |=========================| 331 kB 00:07 (3/12): php-mysql-5.2.17- 100% |=========================| 267 kB 00:11 (4/12): mysql-connector-o 100% |=========================| 159 kB 00:00 (5/12): php-pdo-5.2.17-ja 100% |=========================| 164 kB 00:09 (6/12): php-cli-5.2.17-ja 100% |=========================| 2.6 MB 02:43 (7/12): php-5.2.17-jason. 100% |=========================| 3.6 MB 03:43 (8/12): mysql-server-5.1. 100% |=========================| 1.1 MB 01:03 http://www.jasonlitka.com/media/EL5/i386/mysql-server-5.1.58-jason.1.i386.rpm: [Errno 4] Socket Error: (104, 'Connection reset by peer') Trying other mirror. (9/12): perl-DBD-MySQL-3. 100% |=========================| 148 kB 00:00 (10/12): MySQL-python-1.2 100% |=========================| 93 kB 00:00 (11/12): mysqlclient15-5. 100% |=========================| 2.0 MB 02:39 (12/12): mysql-5.1.58-jas 100% |=========================| 3.2 MB 04:31 http://www.jasonlitka.com/media/EL5/i386/mysql-5.1.58-jason.1.i386.rpm: [Errno 4] Socket Error: timed out Trying other mirror. Error Downloading Packages: mysql - 5.1.58-jason.1.i386: failure: mysql-5.1.58-jason.1.i386.rpm from utterramblings: [Errno 256] No more mirrors to try. mysql-server - 5.1.58-jason.1.i386: failure: mysql-server-5.1.58-jason.1.i386.rpm from utterramblings: [Errno 256] No more mirrors to try.
?
最后升级失败,表示无奈。最怕折腾这玩意