场景说明:开机启动的过程中,出现如下的错误提示,并且关闭的瞬间,重新出现
Failed to initialize packaging backend. This may occur if other packaging tools are being used simultaneously.
翻译:无法初始化安装包的后台进程,有可能是其他的安装包工具正在同时运行导致的
解决方案:
通过运行如下的指令,将未曾完成的下载安装包删除。
# yum-complete-transaction --skip-broken --cleanup-only
Loaded plugins: fastestmirror, refresh-packagekit
Determining fastest mirrors
* base: mirrors.skyshe.cn
* epel: mirror01.idc.hinet.net
* extras: mirrors.pubyun.com
* updates: mirrors.skyshe.cn
Checking for new repos for mirrors
Cleaning up unfinished transaction journals
Cleaning up 2014-09-24.10:01.30
You have new mail in /var/spool/mail/root
# yum-complete-transaction --skip-broken --cleanup-only
Loaded plugins: fastestmirror, refresh-packagekit
Loading mirror speeds from cached hostfile
* base: mirrors.skyshe.cn
* epel: mirror01.idc.hinet.net
* extras: mirrors.pubyun.com
* updates: mirrors.skyshe.cn
Checking for new repos for mirrors
No unfinished transactions left.