Hello, all.
I have deleted some files for mistake. So I would like to re-install those files using yum install.
But if I execute yum install some_package, that doesn't work, because some files are remain, I guess. So is there any yum install option to re-install forcely when some files are deleted? Should I remove all related files first to re-install using yum?
Thanks in advance.
_________________________________________________________________ 대딩들의 인맥관리! 윈도우 라이브 메신저로 해결하자! 채팅은 기본! 25GB 자료실은 덤! 대딩들의 아지트 윈메 클럽 http://im.msn.co.kr/Univ/
On 06/24/2009 04:36 PM, MontyRee wrote:
I have deleted some files for mistake. So I would like to re-install those files using yum install.
yum reinstall <pkgname>
that should work on CentOS-5, if you are using CentOS-3 or 4 then no there is no way to do this. You would need to use rpm to delete the package first then yum to install it
- KB
At Wed, 24 Jun 2009 16:42:10 +0100 CentOS mailing list centos@centos.org wrote:
On 06/24/2009 04:36 PM, MontyRee wrote:
I have deleted some files for mistake. So I would like to re-install those files using yum install.
yum reinstall <pkgname>
that should work on CentOS-5, if you are using CentOS-3 or 4 then no there is no way to do this. You would need to use rpm to delete the package first then yum to install it
rpm -hiv --force brokenpackage.rpm
replace 'brokenpackage.rpm' with the package RPM whose files you deleted by mistake.
- KB
CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos