我用yum update和yum upgrade升级了一个年代久远的香草Elastix盒。
更新了近400个软件包,但其中有几个失败了,包括星号。目前,交换机正在工作,但我不能从GUI应用更新的配置。产生的错误是
exit: 1 [FATAL] Unable to connect to Asterisk Manager from /var/lib/asterisk/bin/retrieve_conf, aborting
我研究了各种主题,如何使星号管理界面用户名和密码同步,但没有用。所以现在我在想,如果我能让百胜完成它应该做的事情的话,我可以把问题进一步隔离开来。百胜更新产生的错误如下:
--> Finished Dependency Resolution
2009020507:asterisk-11.5.0-0.x86_64 from elastix-beta has depsolving problems
--> Missing Dependency: libgsmat.so.2.0.7()(64bit) is needed by package 2009020507:asterisk-11.5.0-0.x86_64 (elastix-beta)
2009020507:asterisk-11.5.0-0.x86_64 from elastix-beta has depsolving problems
--> Missing Dependency: libwat.so.1.0.24()(64bit) is needed by package 2009020507:asterisk-11.5.0-0.x86_64 (elastix-beta)
Error: Missing Dependency: libgsmat.so.2.0.7()(64bit) is needed by package 2009020507:asterisk-11.5.0-0.x86_64 (elastix-beta)
Error: Missing Dependency: libwat.so.1.0.24()(64bit) is needed by package 2009020507:asterisk-11.5.0-0.x86_64 (elastix-beta)
You could try using --skip-broken to work around the problem
You could try running: package-cleanup --problems
package-cleanup --dupes
rpm -Va --nofiles --nodigest我尝试了所有提到的补救方法,包括--skip-broken、package-cleanup --problems、package-cleanup --dupes和rpm -Va --nofiles --nodigest,但这些都没有效果。
唯一的一点研究让我想到了这个与libss7和spandsp相关的Elastix "bug“,这是通过说EPEL包提供的版本应该更新到最新版本来解决的。我不知道该怎么做,也不知道会不会有帮助。http://bugs.elastix.org/view.php?id=1753
我们的埃拉斯蒂克斯带来了这些回复:
[root@elastix3 yum.repos.d]# ls
CentOS-Base.repo CentOS-Debuginfo.repo commercial-addons.repo epel-testing.repo
CentOS-Base.repo.back CentOS-Media.repo elastix.repo pgdg-91-centos.repo
CentOS-Base.repo.test CentOS-Vault.repo epel.repo当我执行yum list时,我注意到一些奇怪的地方,例如,它似乎安装了asterisk,并且也出现在另一个回购中:
[root@elastix3 yum.repos.d]# yum list | grep asterisk
asterisk.x86_64 2009020507:1.8.20.0-0 installed
...
asterisk.x86_64 2009020507:11.5.0-0 elastix-beta libss7、libgsmat和libwat的输出:
[root@elastix3 yum.repos.d]# yum list | egrep -i "libss7|libgsmat|libwat"
libgsmat.x86_64 2.0.3-0 installed
libwat.x86_64 1.0.23-0 installed
libss7.i386 1.0.1-3.el5 epel
libss7.x86_64 1.0.1-3.el5 epel 因此,我猜在所有这些回购之间,我有一个依赖混乱,我不知道从哪里开始解决它。
百胜的全部产出如下:
[root@elastix3 ~]# yum upgrade
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
* addons: ftp.wa.co.za
* base: ftp.wa.co.za
* commercial-addons: elastix.kisiek.net
* elastix-base: elastix.kisiek.net
* elastix-beta: elastix.kisiek.net
* elastix-extras: elastix.kisiek.net
* epel: ftp.wa.co.za
* extras: ftp.wa.co.za
* updates: ftp.wa.co.za
Excluding Packages from CentOS-5 - Addons
Finished
Excluding Packages from CentOS-5 - Base
Finished
Excluding Packages from CentOS-5 - Extras
Finished
Excluding Packages from CentOS-5 - Updates
Finished
Setting up Upgrade Process
Resolving Dependencies
--> Running transaction check
---> Package asterisk.x86_64 2009020507:11.5.0-0 set to be updated
--> Processing Dependency: libwat.so.1.0.24()(64bit) for package: asterisk
--> Processing Dependency: libgsmat.so.2.0.7()(64bit) for package: asterisk
--> Processing Dependency: libss7.so.1()(64bit) for package: asterisk
---> Package asterisk-addons.x86_64 2009020507:11.5.0-0 set to be updated
---> Package asterisk-devel.x86_64 2009020507:11.5.0-0 set to be updated
---> Package asterisk-sounds-es.x86_64 2009020507:11.5.0-0 set to be updated
---> Package asterisk-sounds-fr.x86_64 2009020507:11.5.0-0 set to be updated
--> Running transaction check
---> Package asterisk.x86_64 2009020507:11.5.0-0 set to be updated
--> Processing Dependency: libwat.so.1.0.24()(64bit) for package: asterisk
--> Processing Dependency: libgsmat.so.2.0.7()(64bit) for package: asterisk
---> Package libss7.x86_64 0:1.0.1-3.el5 set to be updated
--> Finished Dependency Resolution
2009020507:asterisk-11.5.0-0.x86_64 from elastix-beta has depsolving problems
--> Missing Dependency: libgsmat.so.2.0.7()(64bit) is needed by package 2009020507:asterisk-11.5.0-0.x86_64 (elastix-beta)
2009020507:asterisk-11.5.0-0.x86_64 from elastix-beta has depsolving problems
--> Missing Dependency: libwat.so.1.0.24()(64bit) is needed by package 2009020507:asterisk-11.5.0-0.x86_64 (elastix-beta)
Error: Missing Dependency: libgsmat.so.2.0.7()(64bit) is needed by package 2009020507:asterisk-11.5.0-0.x86_64 (elastix-beta)
Error: Missing Dependency: libwat.so.1.0.24()(64bit) is needed by package 2009020507:asterisk-11.5.0-0.x86_64 (elastix-beta)
You could try using --skip-broken to work around the problem
You could try running: package-cleanup --problems
package-cleanup --dupes
rpm -Va --nofiles --nodigest请协助!尽管可以从命令行应用更新的配置,但我确实知道,我已经得到了一个完美更新的系统。
发布于 2014-04-30 10:32:59
EPEL指出了一个较旧版本的libss7。更新你的爱宝:
rpm -ivh http://www.mirrorservice.org/sites/dl.fedoraproject.org/pub/epel/5/i386/epel-release-5-4.noarch.rpm
https://serverfault.com/questions/590712
复制相似问题