哪位遇到过同样的报错吗?怎样解决的?

[root@linux-5f159 ~]# yum install -y ruby-rdoc
---> Package ruby-libs.x86_64 0:1.8.7.352-7.el6_2 will be updated
---> Package ruby-libs.x86_64 0:1.8.7.374-2.el5 will be an update
--> Processing Dependency: libtcl8.4.so()(64bit) for package: ruby-libs-1.8.7.374-2.el5.x86_64
--> Processing Dependency: libtk8.4.so()(64bit) for package: ruby-libs-1.8.7.374-2.el5.x86_64
--> Finished Dependency Resolution
Error: Package: ruby-libs-1.8.7.374-2.el5.x86_64 (puppetlabs-deps)
Requires: libtcl8.4.so()(64bit)
Error: Package: ruby-libs-1.8.7.374-2.el5.x86_64 (puppetlabs-deps)
Requires: libtk8.4.so()(64bit)
You could try using --skip-broken to work around the problem
yum install -y ruby-rdoc** Found 1 pre-existing rpmdb problem(s), 'yum check' output follows:
libXtst-devel-1.2.1-2.el6.x86_64 has missing requires of libXtst = ('0', '1.2.1', '2.el6')

眼眸繁星
浏览 71回答 1
1回答

慕少森

You could try using --skip-broken to work around the problemRequires: libtk8.4.so()(64bit) 先安装libtk8.4.so
打开App,查看更多内容
随时随地看视频慕课网APP