//重新安装软件包
[root@localhost ~]# yum reinstall lftp
Loaded plugins: fastestmirror, security
Setting up Reinstall Process
Loading mirror speeds from cached hostfile
* base: mirrors.163.com
* extras: mirrors.163.com
* updates: mirrors.163.com
Resolving Dependencies
--> Running transaction check
---> Package lftp.x86_64 0:4.0.9-1.el6_5.1 will be reinstalled
--> Finished Dependency Resolution
# yum history
//查看此前yum操作历史
[root@localhost ~]# yum history
Loaded plugins: fastestmirror, security
ID | Login user | Date and time | Action(s) | Altered
-------------------------------------------------------------------------------
11 | root <root> | 2014-03-01 23:31 | Install | 30
10 | root <root> | 2014-03-01 20:59 | Install | 1
9 | root <root> | 2014-03-01 20:50 | Erase | 1
8 | root <root> | 2014-03-01 20:47 | Install | 1
7 | root <root> | 2014-03-01 20:42 | Erase | 1 EE
6 | root <root> | 2014-03-01 20:41 | Update | 1 <
5 | root <root> | 2014-02-28 17:06 | Install | 1 ><
4 | root <root> | 2014-02-28 15:56 | Install | 8 >
3 | root <root> | 2014-02-28 13:09 | I, U | 115
2 | root <root> | 2014-02-17 17:20 | I, U | 54
1 | System <unset> | 2014-02-17 23:36 | Install | 621
history list
推荐阅读:
RedHat 6.2 Linux修改yum源免费使用CentOS源