[root@web /]# yum install mc
Loaded plugins: fastestmirror, security
Loading mirror speeds from cached hostfile
* base: mirrors.ta139.com
* extras: mirrors.ta139.com
* updates: mirrors.ta139.com
Setting up Install Process
Resolving Dependencies
--> Running transaction check
---> Package mc.i386 1:4.6.1a-35.el5 set to be updated
--> Finished Dependency Resolution
Dependencies Resolved
=========================================================================================================
Package Arch Version Repository Size
=========================================================================================================
Installing:
mc i386 1:4.6.1a-35.el5 base 2.1 M
Transaction Summary
=========================================================================================================
Install 1 Package(s)
Upgrade 0 Package(s)
Total download size: 2.1 M
Is this ok [y/N]: y
Downloading Packages:
http://mirrors.ta139.com/centos/5.8/os/i386/CentOS/mc-4.6.1a-35.el5.i386.rpm: [Errno 14] HTTP Error 404: Not Found
Trying other mirror.
mc-4.6.1a-35.el5.i386.rpm | 2.1 MB 00:00
warning: rpmts_HdrFromFdno: Header V3 DSA signature: NOKEY, key ID e8562897
base/gpgkey | 1.5 kB 00:00
Importing GPG key 0xE8562897 "CentOS-5 Key (CentOS 5 Official Signing Key) <centos-5-key@centos.org>" from /etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-5
Is this ok [y/N]: y
Running rpm_check_debug
Running Transaction Test
Finished Transaction Test
Transaction Test Succeeded
Running Transaction
Installing : mc 1/1
Installed:
mc.i386 1:4.6.1a-35.el5
Complete!
[root@web /]# yum remove mc
Loaded plugins: fastestmirror, security
Setting up Remove Process
Resolving Dependencies
--> Running transaction check
---> Package mc.i386 1:4.6.1a-35.el5 set to be erased
--> Finished Dependency Resolution
Dependencies Resolved
=========================================================================================================
Package Arch Version Repository Size
=========================================================================================================
Removing:
mc i386 1:4.6.1a-35.el5 installed 5.2 M
Transaction Summary
=========================================================================================================
Remove 1 Package(s)
Reinstall 0 Package(s)
Downgrade 0 Package(s)
Is this ok [y/N]: y
Downloading Packages:
Running rpm_check_debug
Running Transaction Test
Finished Transaction Test
Transaction Test Succeeded
Running Transaction
Erasing : mc 1/1
Removed:
mc.i386 1:4.6.1a-35.el5
Complete!
[root@web /]# yum install vsftpd
Loaded plugins: fastestmirror, security
Loading mirror speeds from cached hostfile
* base: mirrors.ta139.com
* extras: mirrors.ta139.com
* updates: mirrors.ta139.com
Setting up Install Process
Resolving Dependencies
--> Running transaction check
---> Package vsftpd.i386 0:2.0.5-24.el5_8.1 set to be updated
--> Finished Dependency Resolution
Dependencies Resolved
=========================================================================================================
Package Arch Version Repository Size
=========================================================================================================
Updating:
vsftpd i386 2.0.5-24.el5_8.1 updates 144 k
Transaction Summary
=========================================================================================================
Install 0 Package(s)
Upgrade 1 Package(s)
Total download size: 144 k
Is this ok [y/N]: y
Downloading Packages:
http://mirrors.ta139.com/centos/5.8/updates/i386/RPMS/vsftpd-2.0.5-24.el5_8.1.i386.rpm: [Errno 14] HTTP Error 404: Not Found
Trying other mirror.
vsftpd-2.0.5-24.el5_8.1.i386.rpm | 144 kB 00:00
Running rpm_check_debug
Running Transaction Test
Finished Transaction Test
Transaction Test Succeeded
Running Transaction
Updating : vsftpd 1/2
Cleanup : vsftpd 2/2
Updated:
vsftpd.i386 0:2.0.5-24.el5_8.1
Complete!
[root@web /]# yum remove vsftpd
Loaded plugins: fastestmirror, security
Setting up Remove Process
Resolving Dependencies
--> Running transaction check
---> Package vsftpd.i386 0:2.0.5-24.el5_8.1 set to be erased
--> Finished Dependency Resolution
Dependencies Resolved
=========================================================================================================
Package Arch Version Repository Size
=========================================================================================================
Removing:
vsftpd i386 2.0.5-24.el5_8.1 installed 288 k
Transaction Summary
=========================================================================================================
Remove 1 Package(s)
Reinstall 0 Package(s)
Downgrade 0 Package(s)
Is this ok [y/N]: y
Downloading Packages:
Running rpm_check_debug
Running Transaction Test
Finished Transaction Test
Transaction Test Succeeded
Running Transaction
Erasing : vsftpd 1/1
Removed:
vsftpd.i386 0:2.0.5-24.el5_8.1
Complete!
[root@web /]# yum install httpd
Loaded plugins: fastestmirror, security
Loading mirror speeds from cached hostfile
* base: mirrors.ta139.com
* extras: mirrors.ta139.com
* updates: mirrors.ta139.com
Setting up Install Process
Resolving Dependencies
--> Running transaction check
---> Package httpd.i386 0:2.2.3-65.el5.centos.3 set to be updated
http://mirrors.ta139.com/centos/5.8/os/i386/repodata/filelists.xml.gz: [Errno 14] HTTP Error 404: Not Found
Trying other mirror.
base/filelists | 3.0 MB 00:00
http://mirrors.ta139.com/centos/5.8/extras/i386/repodata/filelists.sqlite.bz2: [Errno 14] HTTP Error 404: Not Found
Trying other mirror.
extras/filelists_db | 217 kB 00:00
updates/filelists_db | 4.3 MB 00:12
--> Finished Dependency Resolution
Dependencies Resolved
=========================================================================================================
Package Arch Version Repository Size
=========================================================================================================
Installing:
httpd i386 2.2.3-65.el5.centos.3 updates 1.2 M
Transaction Summary
=========================================================================================================
Install 1 Package(s)
Upgrade 0 Package(s)
Total download size: 1.2 M
Is this ok [y/N]: y
Downloading Packages:
http://mirrors.ta139.com/centos/5.8/updates/i386/RPMS/httpd-2.2.3-65.el5.centos.3.i386.rpm: [Errno 14] HTTP Error 404: Not Found
Trying other mirror.
httpd-2.2.3-65.el5.centos.3.i386.rpm | 1.2 MB 00:00
Running rpm_check_debug
Running Transaction Test
Finished Transaction Test
Transaction Test Succeeded
Running Transaction
Installing : httpd 1/1
Installed:
httpd.i386 0:2.2.3-65.el5.centos.3
Complete!
[root@web /]# yum install mysql
Loaded plugins: fastestmirror, security
Loading mirror speeds from cached hostfile
* base: mirrors.ta139.com
* extras: mirrors.ta139.com
* updates: mirrors.ta139.com
Setting up Install Process
Resolving Dependencies
--> Running transaction check
---> Package mysql.i386 0:5.0.95-1.el5_7.1 set to be updated
--> Finished Dependency Resolution
Dependencies Resolved
=========================================================================================================
Package Arch Version Repository Size
=========================================================================================================
Updating:
mysql i386 5.0.95-1.el5_7.1 updates 4.9 M
Transaction Summary
=========================================================================================================
Install 0 Package(s)
Upgrade 1 Package(s)
Total download size: 4.9 M
Is this ok [y/N]: y
Downloading Packages:
http://mirrors.ta139.com/centos/5.8/updates/i386/RPMS/mysql-5.0.95-1.el5_7.1.i386.rpm: [Errno 14] HTTP Error 404: Not Found
Trying other mirror.
mysql-5.0.95-1.el5_7.1.i386.rpm | 4.9 MB 00:00
Running rpm_check_debug
Running Transaction Test
Finished Transaction Test
Transaction Test Succeeded
Running Transaction
Updating : mysql 1/2
Cleanup : mysql 2/2
Updated:
mysql.i386 0:5.0.95-1.el5_7.1
Complete!
[root@web /]# yum install php
Loaded plugins: fastestmirror, security
Loading mirror speeds from cached hostfile
* base: mirrors.ta139.com
* extras: mirrors.ta139.com
* updates: mirrors.ta139.com
Setting up Install Process
Resolving Dependencies
--> Running transaction check
---> Package php.i386 0:5.1.6-39.el5_8 set to be updated
--> Processing Dependency: php-common = 5.1.6-39.el5_8 for package: php
--> Processing Dependency: php-cli = 5.1.6-39.el5_8 for package: php
--> Running transaction check
---> Package php-cli.i386 0:5.1.6-39.el5_8 set to be updated
---> Package php-common.i386 0:5.1.6-39.el5_8 set to be updated
--> Finished Dependency Resolution
Dependencies Resolved
=========================================================================================================
Package Arch Version Repository Size
=========================================================================================================
Installing:
php i386 5.1.6-39.el5_8 updates 2.3 M
Installing for dependencies:
php-cli i386 5.1.6-39.el5_8 updates 2.1 M
php-common i386 5.1.6-39.el5_8 updates 154 k
Transaction Summary
=========================================================================================================
Install 3 Package(s)
Upgrade 0 Package(s)
Total download size: 4.6 M
Is this ok [y/N]: y
Downloading Packages:
(1/3): php-common-5.1.6-39.el5_8.i386.rpm | 154 kB 00:01
http://mirrors.ta139.com/centos/5.8/updates/i386/RPMS/php-cli-5.1.6-39.el5_8.i386.rpm: [Errno 14] HTTP Error 404: Not Found
Trying other mirror.
(2/3): php-cli-5.1.6-39.el5_8.i386.rpm | 2.1 MB 00:00
(3/3): php-5.1.6-39.el5_8.i386.rpm | 2.3 MB 00:00
---------------------------------------------------------------------------------------------------------
Total 842 kB/s | 4.6 MB 00:05
Running rpm_check_debug
Running Transaction Test
Finished Transaction Test
Transaction Test Succeeded
Running Transaction
Installing : php-common 1/3
Installing : php-cli 2/3
Installing : php 3/3
Installed:
php.i386 0:5.1.6-39.el5_8
Dependency Installed:
php-cli.i386 0:5.1.6-39.el5_8 php-common.i386 0:5.1.6-39.el5_8
Complete!
[root@web /]# yum remove httpd
Loaded plugins: fastestmirror, security
Setting up Remove Process
Resolving Dependencies
--> Running transaction check
---> Package httpd.i386 0:2.2.3-65.el5.centos.3 set to be erased
--> Processing Dependency: httpd-mmn = 20051115 for package: php
--> Running transaction check
---> Package php.i386 0:5.1.6-39.el5_8 set to be erased
--> Finished Dependency Resolution
Dependencies Resolved
=========================================================================================================
Package Arch Version Repository Size
=========================================================================================================
Removing:
httpd i386 2.2.3-65.el5.centos.3 installed 3.2 M
Removing for dependencies:
php i386 5.1.6-39.el5_8 installed 5.9 M
Transaction Summary
=========================================================================================================
Remove 2 Package(s)
Reinstall 0 Package(s)
Downgrade 0 Package(s)
Is this ok [y/N]: y
Downloading Packages:
Running rpm_check_debug
Running Transaction Test
Finished Transaction Test
Transaction Test Succeeded
Running Transaction
Erasing : httpd 1/2
Erasing : php 2/2
Removed:
httpd.i386 0:2.2.3-65.el5.centos.3
Dependency Removed:
php.i386 0:5.1.6-39.el5_8
Complete!
[root@web /]# yum remove mysql
Loaded plugins: fastestmirror, security
Setting up Remove Process
Resolving Dependencies
--> Running transaction check
---> Package mysql.i386 0:5.0.95-1.el5_7.1 set to be erased
--> Processing Dependency: libmysqlclient.so.15 for package: dovecot
--> Processing Dependency: libmysqlclient.so.15(libmysqlclient_15) for package: dovecot
--> Running transaction check
---> Package dovecot.i386 0:1.0.7-7.el5_7.1 set to be erased
--> Finished Dependency Resolution
Dependencies Resolved
=========================================================================================================
Package Arch Version Repository Size
=========================================================================================================
Removing:
mysql i386 5.0.95-1.el5_7.1 installed 8.0 M
Removing for dependencies:
dovecot i386 1.0.7-7.el5_7.1 installed 3.6 M
Transaction Summary
=========================================================================================================
Remove 2 Package(s)
Reinstall 0 Package(s)
Downgrade 0 Package(s)
Is this ok [y/N]: y
Downloading Packages:
Running rpm_check_debug
Running Transaction Test
Finished Transaction Test
Transaction Test Succeeded
Running Transaction
Erasing : dovecot 1/2
Erasing : mysql 2/2
Removed:
mysql.i386 0:5.0.95-1.el5_7.1
Dependency Removed:
dovecot.i386 0:1.0.7-7.el5_7.1
Complete!
[root@web /]# rpm -e php-cli
[root@web /]# rpm -qi php-cli
package php-cli is not installed
[root@web /]# rpm -qi php
package php is not installed
[root@web /]# rpm -qi php-commcn
package php-commcn is not installed
[root@web /]# rpm -qi php-common
Name : php-common Relocations: (not relocatable)
Version : 5.1.6 Vendor: CentOS
Release : 39.el5_8 Build Date: Thu 28 Jun 2012 01:29:57 AM KST
Install Date: Wed 09 Jan 2013 08:44:42 AM KST Build Host: builder10.centos.org
Group : Development/Languages Source RPM: php-5.1.6-39.el5_8.src.rpm
Size : 402168 License: The PHP License v3.01
Signature : DSA/SHA1, Thu 28 Jun 2012 05:21:36 AM KST, Key ID a8a447dce8562897
URL : http://www.php.net/
Summary : Common files for PHP
Description :
The php-common package contains files used by both the php
package and the php-cli package.
[root@web /]# rpm -e php-common
[root@web /]# rpm -e php
error: package php is not installed
[root@web /]# yum remove php
Loaded plugins: fastestmirror, security
Setting up Remove Process
No Match for argument: php
Loading mirror speeds from cached hostfile
* base: mirrors.ta139.com
* extras: mirrors.ta139.com
* updates: mirrors.ta139.com
Package(s) php available, but not installed.
No Packages marked for removal