[root@itb3 opt]# wget http://www.php.net/get/php-5.2.9.tar.gz/from/us.php.net/mirror
wget http://rpm.pbone.net/index.php3/stat/3/srodzaj/2/search/php-5.2.1-3.src.rpm
[root@itb3 opt]# yum --nogpgcheck localinstall php-5.2.1-3.src.rpmDoesn't work,
--nogpgcheck
not recognized. Neither does yum localinstall
work.[root@itb3 ~]# yum localinstall php-5.2.1-3.src.rpm Loading "kernel-module" plugin Setting up Local Package Process Cannot open file: php-5.2.1-3.src.rpm. Skipping. Nothing to do [root@itb3 ~]#
[root@itb3 ~]# rpm -i php-5.2.1-3.i386.rpm error: Failed dependencies: httpd-mmn = 20051115 is needed by php-5.2.1-3.i386 libc.so.6(GLIBC_2.4) is needed by php-5.2.1-3.i386 libcrypto.so.6 is needed by php-5.2.1-3.i386 libssl.so.6 is needed by php-5.2.1-3.i386 php-cli = 5.2.1-3 is needed by php-5.2.1-3.i386 php-common = 5.2.1-3 is needed by php-5.2.1-3.i386 rtld(GNU_HASH) is needed by php-5.2.1-3.i386
wget http://mirror.aarnet.edu.au/pub/fedora/linux/releases/10/Fedora/source/SRPMS/php-5.2.6-5.src.rpm
[root@itb3 ~]# yum localinstall php-5.2.6-5.src.rpm Loading "kernel-module" plugin Setting up Local Package Process Examining php-5.2.6-5.src.rpm: php - 5.2.6-5.ppc Marking php-5.2.6-5.src.rpm to be installed Resolving Dependencies --> Populating transaction set with selected packages. Please wait. ---> Package php.ppc 0:5.2.6-5 set to be updated --> Running transaction check Setting up repositories Reading repository metadata in from local files --> Processing Dependency: mysql-devel >= 4.1.0 for package: php --> Processing Dependency: net-snmp-devel for package: php --> Processing Dependency: sqlite-devel >= 3.0.0 for package: php --> Processing Dependency: aspell-devel >= 0.50.0 for package: php --> Processing Dependency: httpd-devel >= 2.0.46-1 for package: php --> Processing Dependency: libmcrypt-devel for package: php --> Processing Dependency: libtidy-devel for package: php --> Processing Dependency: pcre-devel >= 6.6 for package: php --> Processing Dependency: libXpm-devel for package: php --> Processing Dependency: freetype-devel for package: php --> Processing Dependency: libpng-devel for package: php --> Processing Dependency: freetds-devel for package: php --> Processing Dependency: libjpeg-devel for package: php --> Processing Dependency: postgresql-devel for package: php --> Processing Dependency: t1lib-devel for package: php --> Processing Dependency: unixODBC-devel for package: php --> Processing Dependency: libc-client-devel for package: php --> Processing Dependency: mhash-devel for package: php --> Processing Dependency: libxslt-devel >= 1.0.18-1 for package: php --> Restarting Dependency Resolution with new changes. --> Populating transaction set with selected packages. Please wait. ---> Downloading header for libpng-devel to pack into transaction set. libpng-devel-1.2.7-3.el4_ 100% |=========================| 9.5 kB 00:00 ---> Package libpng-devel.i386 2:1.2.7-3.el4_7.2 set to be updated ---> Downloading header for t1lib-devel to pack into transaction set. t1lib-devel-5.1.0-1.el4.r 100% |=========================| 2.6 kB 00:00 ---> Package t1lib-devel.i386 0:5.1.0-1.el4.rf set to be updated ---> Downloading header for httpd-devel to pack into transaction set. httpd-devel-2.0.52-41.sl4 100% |=========================| 30 kB 00:00 ---> Package httpd-devel.i386 0:2.0.52-41.sl4.2 set to be updated ---> Downloading header for libxslt-devel to pack into transaction set. libxslt-devel-1.1.11-1.el 100% |=========================| 8.0 kB 00:00 ---> Package libxslt-devel.i386 0:1.1.11-1.el4_7.2.sl set to be updated ---> Downloading header for net-snmp-devel to pack into transaction set. net-snmp-devel-5.1.2-13.e 100% |=========================| 51 kB 00:00 ---> Package net-snmp-devel.i386 0:5.1.2-13.el4_7.2 set to be updated ---> Downloading header for libmcrypt-devel to pack into transaction set. libmcrypt-devel-2.5.7-1.2 100% |=========================| 3.5 kB 00:00 ---> Package libmcrypt-devel.i386 0:2.5.7-1.2.el4.rf set to be updated ---> Downloading header for unixODBC-devel to pack into transaction set. unixODBC-devel-2.2.11-1.R 100% |=========================| 13 kB 00:00 ---> Package unixODBC-devel.i386 0:2.2.11-1.RHEL4.1 set to be updated ---> Downloading header for libmhash-devel to pack into transaction set. libmhash-devel-0.9.1-1.2. 100% |=========================| 3.3 kB 00:00 ---> Package libmhash-devel.i386 0:0.9.1-1.2.el4.rf set to be updated ---> Downloading header for mysql-devel to pack into transaction set. mysql-devel-4.1.22-2.el4. 100% |=========================| 26 kB 00:00 ---> Package mysql-devel.i386 0:4.1.22-2.el4.sl set to be updated ---> Downloading header for freetds-devel to pack into transaction set. freetds-devel-0.64-1.el4. 100% |=========================| 6.6 kB 00:00 ---> Package freetds-devel.i386 0:0.64-1.el4.rf set to be updated ---> Downloading header for freetype-devel to pack into transaction set. freetype-devel-2.1.9-8.el 100% |=========================| 24 kB 00:00 ---> Package freetype-devel.i386 0:2.1.9-8.el4.6 set to be updated ---> Downloading header for sqlite-devel to pack into transaction set. sqlite-devel-3.1.2-3.i386 100% |=========================| 7.0 kB 00:00 ---> Package sqlite-devel.i386 0:3.1.2-3 set to be updated ---> Downloading header for libc-client-devel to pack into transaction set. libc-client-devel-2002e-1 100% |=========================| 14 kB 00:00 ---> Package libc-client-devel.i386 0:2002e-14 set to be updated ---> Downloading header for postgresql-devel to pack into transaction set. postgresql-devel-7.4.19-1 100% |=========================| 49 kB 00:00 ---> Package postgresql-devel.i386 0:7.4.19-1.el4_6.1 set to be updated ---> Downloading header for libjpeg-devel to pack into transaction set. libjpeg-devel-6b-33.i386. 100% |=========================| 5.7 kB 00:00 ---> Package libjpeg-devel.i386 0:6b-33 set to be updated ---> Downloading header for compat-xorg-x11-modular-devel to pack into transaction set. compat-xorg-x11-modular-d 100% |=========================| 2.0 kB 00:00 ---> Package compat-xorg-x11-modular-devel.i386 0:0.0.1-19.el4 set to be updated ---> Downloading header for aspell-devel to pack into transaction set. aspell-devel-0.50.5-4.EL4 100% |=========================| 9.5 kB 00:00 ---> Package aspell-devel.i386 12:0.50.5-4.EL4 set to be updated --> Running transaction check --> Processing Dependency: t1lib = 5.1.0-1.el4.rf for package: t1lib-devel --> Processing Dependency: xorg-x11-devel for package: compat-xorg-x11-modular-devel --> Processing Dependency: libpng = 2:1.2.7-3.el4_7.2 for package: libpng-devel --> Processing Dependency: pcre-devel for package: httpd-devel --> Processing Dependency: apr-util-devel for package: httpd-devel --> Processing Dependency: postgresql-libs = 7.4.19-1.el4_6.1 for package: postgresql-devel --> Processing Dependency: xorg-x11 for package: compat-xorg-x11-modular-devel --> Processing Dependency: libmhash = 0.9.1-1.2.el4.rf for package: libmhash-devel --> Processing Dependency: beecrypt-devel for package: net-snmp-devel --> Processing Dependency: libtidy-devel for package: php --> Processing Dependency: pcre-devel >= 6.6 for package: php --> Processing Dependency: net-snmp = 5.1.2 for package: net-snmp-devel --> Processing Dependency: libc-client = 2002e-14 for package: libc-client-devel --> Processing Dependency: freetds = 0.64-1.el4.rf for package: freetds-devel --> Processing Dependency: postgresql = 7.4.19-1.el4_6.1 for package: postgresql-devel --> Processing Dependency: apr-devel for package: httpd-devel --> Processing Dependency: unixODBC = 2.2.11-1.RHEL4.1 for package: unixODBC-devel --> Processing Dependency: elfutils-devel for package: net-snmp-devel --> Processing Dependency: libmcrypt = 2.5.7-1.2.el4.rf for package: libmcrypt-devel --> Restarting Dependency Resolution with new changes. --> Populating transaction set with selected packages. Please wait. ---> Downloading header for libpng to pack into transaction set. libpng-1.2.7-3.el4_7.2.i3 100% |=========================| 9.6 kB 00:00 ---> Package libpng.i386 2:1.2.7-3.el4_7.2 set to be updated ---> Downloading header for libmcrypt to pack into transaction set. libmcrypt-2.5.7-1.2.el4.r 100% |=========================| 3.8 kB 00:00 ---> Package libmcrypt.i386 0:2.5.7-1.2.el4.rf set to be updated ---> Downloading header for xorg-x11-devel to pack into transaction set. xorg-x11-devel-6.8.2-1.EL 100% |=========================| 508 kB 00:00 ---> Package xorg-x11-devel.i386 0:6.8.2-1.EL.33.0.4 set to be updated ---> Downloading header for postgresql-libs to pack into transaction set. postgresql-libs-7.4.19-1. 100% |=========================| 12 kB 00:00 ---> Package postgresql-libs.i386 0:7.4.19-1.el4_6.1 set to be updated ---> Downloading header for apr-util-devel to pack into transaction set. apr-util-devel-0.9.4-21.i 100% |=========================| 25 kB 00:00 ---> Package apr-util-devel.i386 0:0.9.4-21 set to be updated ---> Downloading header for unixODBC to pack into transaction set. unixODBC-2.2.11-1.RHEL4.1 100% |=========================| 25 kB 00:00 ---> Package unixODBC.i386 0:2.2.11-1.RHEL4.1 set to be updated ---> Downloading header for beecrypt-devel to pack into transaction set. beecrypt-devel-4.1.2-10.1 100% |=========================| 11 kB 00:00 ---> Package beecrypt-devel.i386 0:4.1.2-10.1_14.el4.at set to be updated ---> Downloading header for freetds to pack into transaction set. freetds-0.64-1.el4.rf.i38 100% |=========================| 7.9 kB 00:00 ---> Package freetds.i386 0:0.64-1.el4.rf set to be updated ---> Downloading header for libmhash to pack into transaction set. libmhash-0.9.1-1.2.el4.rf 100% |=========================| 3.7 kB 00:00 ---> Package libmhash.i386 0:0.9.1-1.2.el4.rf set to be updated ---> Downloading header for elfutils-devel to pack into transaction set. elfutils-devel-0.97.1-4.i 100% |=========================| 7.3 kB 00:00 ---> Package elfutils-devel.i386 0:0.97.1-4 set to be updated ---> Downloading header for t1lib to pack into transaction set. t1lib-5.1.0-1.el4.rf.i386 100% |=========================| 4.6 kB 00:00 ---> Package t1lib.i386 0:5.1.0-1.el4.rf set to be updated ---> Downloading header for libc-client to pack into transaction set. libc-client-2002e-14.i386 100% |=========================| 5.4 kB 00:00 ---> Package libc-client.i386 0:2002e-14 set to be updated ---> Downloading header for apr-devel to pack into transaction set. apr-devel-0.9.4-24.5.i386 100% |=========================| 31 kB 00:00 ---> Package apr-devel.i386 0:0.9.4-24.5 set to be updated ---> Downloading header for pcre-devel to pack into transaction set. pcre-devel-4.5-4.el4_6.6. 100% |=========================| 7.2 kB 00:00 ---> Package pcre-devel.i386 0:4.5-4.el4_6.6 set to be updated ---> Downloading header for xorg-x11 to pack into transaction set. xorg-x11-6.8.2-1.EL.33.0. 100% |=========================| 353 kB 00:00 ---> Package xorg-x11.i386 0:6.8.2-1.EL.33.0.4 set to be updated ---> Downloading header for postgresql to pack into transaction set. postgresql-7.4.19-1.el4_6 100% |=========================| 104 kB 00:00 ---> Package postgresql.i386 0:7.4.19-1.el4_6.1 set to be updated ---> Downloading header for net-snmp to pack into transaction set. net-snmp-5.1.2-13.el4_7.2 100% |=========================| 37 kB 00:00 ---> Package net-snmp.i386 0:5.1.2-13.el4_7.2 set to be updated --> Running transaction check --> Processing Dependency: libnetsnmp.so.5 for package: net-snmp --> Processing Dependency: libbeecrypt6 = 4.1.2-10.1_14.el4.at for package: beecrypt-devel --> Processing Dependency: libnetsnmptrapd.so.5 for package: net-snmp --> Processing Dependency: libnetsnmpmibs.so.5 for package: net-snmp --> Processing Dependency: libnetsnmpagent.so.5 for package: net-snmp --> Processing Dependency: xinitrc for package: xorg-x11 --> Processing Dependency: libtidy-devel for package: php --> Processing Dependency: pcre-devel >= 6.6 for package: php --> Processing Dependency: net-snmp-libs = 5.1.2-13.el4_7.2 for package: net-snmp --> Processing Dependency: elfutils-libelf-devel = 0.97.1-4 for package: elfutils-devel --> Processing Dependency: /usr/X11R6/bin/xauth for package: xorg-x11 --> Processing Dependency: libsensors.so.3 for package: net-snmp --> Processing Dependency: libnetsnmphelpers.so.5 for package: net-snmp --> Processing Dependency: fontconfig-devel >= 2.1 for package: xorg-x11-devel --> Restarting Dependency Resolution with new changes. --> Populating transaction set with selected packages. Please wait. ---> Downloading header for fontconfig-devel to pack into transaction set. fontconfig-devel-2.2.3-7. 100% |=========================| 36 kB 00:00 ---> Package fontconfig-devel.i386 0:2.2.3-7 set to be updated ---> Downloading header for xinitrc to pack into transaction set. xinitrc-4.0.14.3-1.noarch 100% |=========================| 19 kB 00:00 ---> Package xinitrc.noarch 0:4.0.14.3-1 set to be updated ---> Downloading header for libbeecrypt6 to pack into transaction set. libbeecrypt6-4.1.2-10.1_1 100% |=========================| 6.8 kB 00:00 ---> Package libbeecrypt6.i386 0:4.1.2-10.1_14.el4.at set to be updated ---> Downloading header for net-snmp-libs to pack into transaction set. net-snmp-libs-5.1.2-13.el 100% |=========================| 25 kB 00:00 ---> Package net-snmp-libs.i386 0:5.1.2-13.el4_7.2 set to be updated ---> Downloading header for elfutils-libelf-devel to pack into transaction set. elfutils-libelf-devel-0.9 100% |=========================| 7.4 kB 00:00 ---> Package elfutils-libelf-devel.i386 0:0.97.1-4 set to be updated ---> Downloading header for xorg-x11-xauth to pack into transaction set. xorg-x11-xauth-6.8.2-1.EL 100% |=========================| 262 kB 00:00 ---> Package xorg-x11-xauth.i386 0:6.8.2-1.EL.33.0.4 set to be updated ---> Downloading header for lm_sensors to pack into transaction set. lm_sensors-2.10.6-55.el4. 100% |=========================| 23 kB 00:00 ---> Package lm_sensors.i386 0:2.10.6-55.el4 set to be updated --> Running transaction check --> Processing Dependency: switchdesk >= 3.7 for package: xinitrc --> Processing Dependency: libsysfs.so.1 for package: lm_sensors --> Processing Dependency: libsensors3 = 2.10.6-55.el4 for package: lm_sensors --> Processing Dependency: libtidy-devel for package: php --> Processing Dependency: pcre-devel >= 6.6 for package: php --> Restarting Dependency Resolution with new changes. --> Populating transaction set with selected packages. Please wait. ---> Downloading header for sysfsutils to pack into transaction set. sysfsutils-1.2.0-1.i386.r 100% |=========================| 4.0 kB 00:00 ---> Package sysfsutils.i386 0:1.2.0-1 set to be updated ---> Downloading header for switchdesk to pack into transaction set. switchdesk-4.0.6-3.noarch 100% |=========================| 10 kB 00:00 ---> Package switchdesk.noarch 0:4.0.6-3 set to be updated ---> Downloading header for libsensors3 to pack into transaction set. libsensors3-2.10.6-55.el4 100% |=========================| 6.0 kB 00:00 ---> Package libsensors3.i386 0:2.10.6-55.el4 set to be updated --> Running transaction check --> Processing Dependency: libtidy-devel for package: php --> Processing Dependency: pcre-devel >= 6.6 for package: php --> Finished Dependency Resolution Beginning Kernel Module Plugin Finished Kernel Module Plugin Error: Missing Dependency: libtidy-devel is needed by package php Error: Missing Dependency: pcre-devel >= 6.6 is needed by package php [root@itb3 ~]#
[root@itb3 ~]# wget http://dag.wieers.com/rpm/packages/t1lib/t1lib-devel-5.1.0-1.el5.rf.i386.rpmand
[root@itb3 ~]# wget http://dag.wieers.com/rpm/packages/t1lib/t1lib-5.1.0-1.el5.rf.i386.rpm
/etc/yum/yum.repo.d/
.
[root@itb3 yum.repos.d]# yum update php Loading "kernel-module" plugin Setting up Update Process Setting up repositories not using ftp, http[s], or file for repos, skipping - 4.5 is not a valid release or hasnt been released yet Cannot find a valid baseurl for repo: centosplus Error: Cannot find a valid baseurl for repo: centosplus
[root@itb3 yum.repos.d]# yum update php Loading "kernel-module" plugin Setting up Update Process Setting up repositories utterramblings 100% |=========================| 951 B 00:00 Reading repository metadata in from local files primary.xml.gz 100% |=========================| 93 kB 00:00 utterrambl: ################################################## 328/328 Added 328 new packages, deleted 0 old in 0.84 seconds Resolving Dependencies --> Populating transaction set with selected packages. Please wait. ---> Downloading header for php to pack into transaction set. php-5.2.6-jason.1.i386.rp 100% |=========================| 14 kB 00:00 ---> Package php.i386 0:5.2.6-jason.1 set to be updated --> Running transaction check --> Processing Dependency: php-common = 5.2.6-jason.1 for package: php --> Processing Dependency: php = 4.3.9-3.22.15 for package: php-mysql --> Processing Dependency: httpd-mmn = 20051115 for package: php --> Processing Dependency: php = 4.3.9-3.22.15 for package: php-pear --> Processing Dependency: php-cli = 5.2.6-jason.1 for package: php --> Restarting Dependency Resolution with new changes. --> Populating transaction set with selected packages. Please wait. ---> Downloading header for php-pear to pack into transaction set. php-pear-1.6.2-1.jason.1. 100% |=========================| 27 kB 00:00 ---> Package php-pear.noarch 1:1.6.2-1.jason.1 set to be updated ---> Downloading header for php-mysql to pack into transaction set. php-mysql-5.2.6-jason.1.i 100% |=========================| 14 kB 00:00 ---> Package php-mysql.i386 0:5.2.6-jason.1 set to be updated ---> Downloading header for php-common to pack into transaction set. php-common-5.2.6-jason.1. 100% |=========================| 17 kB 00:00 ---> Package php-common.i386 0:5.2.6-jason.1 set to be updated ---> Downloading header for php-cli to pack into transaction set. php-cli-5.2.6-jason.1.i38 100% |=========================| 14 kB 00:00 ---> Package php-cli.i386 0:5.2.6-jason.1 set to be updated ---> Downloading header for httpd to pack into transaction set. httpd-2.2.8-jason.3.i386. 100% |=========================| 52 kB 00:00 ---> Package httpd.i386 0:2.2.8-jason.3 set to be updated --> Running transaction check --> Processing Dependency: libapr-1.so.0 for package: httpd --> Processing Dependency: libmysqlclient.so.15 for package: php-mysql --> Processing Dependency: initscripts >= 7.93.31 for package: httpd --> Processing Dependency: php-pdo for package: php-mysql --> Processing Dependency: libmysqlclient.so.15(libmysqlclient_15) for package: php-mysql --> Processing Dependency: libaprutil-1.so.0 for package: httpd --> Restarting Dependency Resolution with new changes. --> Populating transaction set with selected packages. Please wait. ---> Downloading header for apr-util to pack into transaction set. apr-util-1.2.12-5.jason.1 100% |=========================| 9.0 kB 00:00 ---> Package apr-util.i386 0:1.2.12-5.jason.1 set to be updated ---> Downloading header for mysql to pack into transaction set. mysql-5.0.58-jason.2.i386 100% |=========================| 40 kB 00:00 ---> Package mysql.i386 0:5.0.58-jason.2 set to be updated ---> Downloading header for php-pdo to pack into transaction set. php-pdo-5.2.6-jason.1.i38 100% |=========================| 13 kB 00:00 ---> Package php-pdo.i386 0:5.2.6-jason.1 set to be updated ---> Downloading header for apr to pack into transaction set. apr-1.2.12-2.jason.1.i386 100% |=========================| 11 kB 00:00 ---> Package apr.i386 0:1.2.12-2.jason.1 set to be updated --> Running transaction check --> Processing Dependency: libmysqlclient.so.14 for package: perl-DBD-MySQL --> Processing Dependency: libmysqlclient_r.so.14(libmysqlclient_14) for package: mysql-server --> Processing Dependency: initscripts >= 7.93.31 for package: httpd --> Processing Dependency: libmysqlclient.so.14(libmysqlclient_14) for package: mysql-server --> Processing Dependency: libmysqlclient_r.so.14 for package: mysql-server --> Processing Dependency: libmysqlclient.so.14 for package: mysql-server --> Processing Dependency: mysql = 4.1.22-2.el4.sl for package: mysql-server --> Restarting Dependency Resolution with new changes. --> Populating transaction set with selected packages. Please wait. ---> Downloading header for mysql-server to pack into transaction set. mysql-server-5.0.58-jason 100% |=========================| 38 kB 00:00 ---> Package mysql-server.i386 0:5.0.58-jason.2 set to be updated ---> Downloading header for mysqlclient14 to pack into transaction set. mysqlclient14-4.1.14-4.2. 100% |=========================| 4.4 kB 00:00 ---> Package mysqlclient14.i386 0:4.1.14-4.2.1.jason.1 set to be updated --> Running transaction check --> Processing Dependency: initscripts >= 7.93.31 for package: httpd --> Finished Dependency Resolution Beginning Kernel Module Plugin Finished Kernel Module Plugin Error: Missing Dependency: initscripts >= 7.93.31 is needed by package httpd [root@itb3 yum.repos.d]#
[root@itb3 ~]# rpm -q initscripts initscripts-7.93.29.EL-1
[root@itb3 ~]# yum update initscripts Loading "kernel-module" plugin Setting up Update Process Setting up repositories Reading repository metadata in from local files Could not find update match for initscripts No Packages marked for Update/Obsoletion