首页 > 代码库 > YUM 安装 VSFTP出错
YUM 安装 VSFTP出错
以前手动装过 vsftpd-2.0.5-16.el5_4.1.i386.rpm ,但由于依赖的问题没有装成功,
后来改成yum安装,出现如下错误。
要先执行rpm -e vsftpd-2.0.5-16.el5_4.1.i386 后再执行 yum install vsftpd 后就成功了,
由于以前装的rpm包有残留文件,要先卸掉。
[root@localhost vsftp]# yum install vsftpd
Loaded plugins: refresh-packagekit, rhnplugin
This system is not registered with RHN.
RHN support will be disabled.
Setting up Install Process
Resolving Dependencies
--> Running transaction check
---> Package vsftpd.x86_64 0:2.2.2-12.el6_5.1 set to be updated
--> Processing Dependency: libssl.so.10(libssl.so.10)(64bit) for package: vsftpd-2.2.2-12.el6_5.1.x86_64
--> Processing Dependency: libcrypto.so.10(libcrypto.so.10)(64bit) for package: vsftpd-2.2.2-12.el6_5.1.x86_64
--> Running transaction check
--> Processing Dependency: openssl = 1.0.0-4.el6 for package: openssl-devel-1.0.0-4.el6.x86_64
---> Package openssl.x86_64 0:1.0.1e-30.el6 set to be updated
--> Running transaction check
---> Package openssl-devel.x86_64 0:1.0.1e-30.el6 set to be updated
--> Finished Dependency Resolution
Dependencies Resolved
=============================================================================================================================================
Package Arch Version Repository Size
=============================================================================================================================================
Updating:
vsftpd x86_64 2.2.2-12.el6_5.1 base 151 k
Updating for dependencies:
openssl x86_64 1.0.1e-30.el6 base 1.5 M
openssl-devel x86_64 1.0.1e-30.el6 base 1.2 M
Transaction Summary
=============================================================================================================================================
Install 0 Package(s)
Upgrade 3 Package(s)
Total size: 2.8 M
Is this ok [y/N]: y
Downloading Packages:
Running rpm_check_debug
Running Transaction Test
Transaction Check Error:
file /etc/pam.d/vsftpd from install of vsftpd-2.2.2-12.el6_5.1.x86_64 conflicts with file from package vsftpd-2.0.5-16.el5_4.1.i386
file /etc/rc.d/init.d/vsftpd from install of vsftpd-2.2.2-12.el6_5.1.x86_64 conflicts with file from package vsftpd-2.0.5-16.el5_4.1.i386
file /etc/vsftpd/ftpusers from install of vsftpd-2.2.2-12.el6_5.1.x86_64 conflicts with file from package vsftpd-2.0.5-16.el5_4.1.i386
file /etc/vsftpd/user_list from install of vsftpd-2.2.2-12.el6_5.1.x86_64 conflicts with file from package vsftpd-2.0.5-16.el5_4.1.i386
file /etc/vsftpd/vsftpd.conf from install of vsftpd-2.2.2-12.el6_5.1.x86_64 conflicts with file from package vsftpd-2.0.5-16.el5_4.1.i386
file /etc/vsftpd/vsftpd_conf_migrate.sh from install of vsftpd-2.2.2-12.el6_5.1.x86_64 conflicts with file from package vsftpd-2.0.5-16.el5_4.1.i386
file /usr/share/man/man5/vsftpd.conf.5.gz from install of vsftpd-2.2.2-12.el6_5.1.x86_64 conflicts with file from package vsftpd-2.0.5-16.el5_4.1.i386
file /usr/share/man/man8/vsftpd.8.gz from install of vsftpd-2.2.2-12.el6_5.1.x86_64 conflicts with file from package vsftpd-2.0.5-16.el5_4.1.i386
Error Summary
-------------
[root@localhost vsftp]# rpm -e vsftpd-2.0.5-16.el5_4.1.i386
[root@localhost vsftp]# yum install vsftpd
Loaded plugins: refresh-packagekit, rhnplugin
This system is not registered with RHN.
RHN support will be disabled.
Setting up Install Process
Resolving Dependencies
--> Running transaction check
---> Package vsftpd.x86_64 0:2.2.2-12.el6_5.1 set to be updated
--> Processing Dependency: libssl.so.10(libssl.so.10)(64bit) for package: vsftpd-2.2.2-12.el6_5.1.x86_64
--> Processing Dependency: libcrypto.so.10(libcrypto.so.10)(64bit) for package: vsftpd-2.2.2-12.el6_5.1.x86_64
--> Running transaction check
--> Processing Dependency: openssl = 1.0.0-4.el6 for package: openssl-devel-1.0.0-4.el6.x86_64
---> Package openssl.x86_64 0:1.0.1e-30.el6 set to be updated
--> Running transaction check
---> Package openssl-devel.x86_64 0:1.0.1e-30.el6 set to be updated
--> Finished Dependency Resolution
Dependencies Resolved
=============================================================================================================================================
Package Arch Version Repository Size
=============================================================================================================================================
Installing:
vsftpd x86_64 2.2.2-12.el6_5.1 base 151 k
Updating for dependencies:
openssl x86_64 1.0.1e-30.el6 base 1.5 M
openssl-devel x86_64 1.0.1e-30.el6 base 1.2 M
Transaction Summary
=============================================================================================================================================
Install 1 Package(s)
Upgrade 2 Package(s)
Total size: 2.8 M
Is this ok [y/N]: y
Downloading Packages:
Running rpm_check_debug
Running Transaction Test
Transaction Test Succeeded
Running Transaction
Updating : openssl-1.0.1e-30.el6.x86_64 1/5
Installing : vsftpd-2.2.2-12.el6_5.1.x86_64 2/5
Updating : openssl-devel-1.0.1e-30.el6.x86_64 3/5
Cleanup : openssl-devel-1.0.0-4.el6.x86_64 4/5
Cleanup : openssl-1.0.0-4.el6.x86_64 5/5
Installed:
vsftpd.x86_64 0:2.2.2-12.el6_5.1
Dependency Updated:
openssl.x86_64 0:1.0.1e-30.el6 openssl-devel.x86_64 0:1.0.1e-30.el6
Complete!
本文出自 “一阵风” 博客,请务必保留此出处http://2950319.blog.51cto.com/2940319/1572044
YUM 安装 VSFTP出错