当前位置:论坛首页 > Linux面板 > 求助

安装了宝塔linux后,用yum安装其他包报错

发表在 Linux面板2018-4-4 13:50 [复制链接] 3 5062

  1. -bash-4.1# yum install libart_lgpl libass-devel freetype-devel opus-devel libvorbis-del libvpx-devel -y
  2. Loaded plugins: fastestmirror
  3. Setting up Install Process
  4. Loading mirror speeds from cached hostfile
  5. * base: repos.forethought.net
  6. * elrepo-kernel: repos.lax-noc.com
  7. * extras: centos.sonn.com
  8. * nux-dextop: mirror.li.nux.ro
  9. * updates: mirror.den1.denvercolo.net
  10. Package libart_lgpl-2.3.20-5.1.el6.x86_64 already installed and latest version
  11. Package freetype-devel-2.3.11-17.el6.x86_64 already installed and latest version
  12. Package libvpx-devel-1.3.0-5.el6_5.x86_64 already installed and latest version
  13. Resolving Dependencies
  14. --> Running transaction check
  15. ---> Package libass-devel.x86_64 0:0.9.12-1.el6.nux will be installed
  16. --> Processing Dependency: libass = 0.9.12-1.el6.nux for package: libass-devel-0.9.12-1.el6.nux.x86_64
  17. --> Processing Dependency: pkgconfig(enca) for package: libass-devel-0.9.12-1.el6.nux.x86_64
  18. --> Processing Dependency: libass.so.4()(64bit) for package: libass-devel-0.9.12-1.el6.nux.x86_64
  19. ---> Package libvorbis-devel.x86_64 1:1.2.3-4.el6_2.1 will be installed
  20. --> Processing Dependency: libvorbis = 1:1.2.3-4.el6_2.1 for package: 1:libvorbis-devel-1.2.3-4.el6_2.1.x86_64
  21. --> Processing Dependency: libogg-devel >= 2:1.1 for package: 1:libvorbis-devel-1.2.3-4.el6_2.1.x86_64
  22. --> Processing Dependency: pkgconfig(ogg) for package: 1:libvorbis-devel-1.2.3-4.el6_2.1.x86_64
  23. --> Processing Dependency: libvorbisfile.so.3()(64bit) for package: 1:libvorbis-devel-1.2.3-4.el6_2.1.x86_64
  24. --> Processing Dependency: libvorbisenc.so.2()(64bit) for package: 1:libvorbis-devel-1.2.3-4.el6_2.1.x86_64
  25. --> Processing Dependency: libvorbis.so.0()(64bit) for package: 1:libvorbis-devel-1.2.3-4.el6_2.1.x86_64
  26. ---> Package opus-devel.x86_64 0:0.9.8-2.el6.nux will be installed
  27. --> Processing Dependency: opus = 0.9.8-2.el6.nux for package: opus-devel-0.9.8-2.el6.nux.x86_64
  28. --> Processing Dependency: libopus.so.0()(64bit) for package: opus-devel-0.9.8-2.el6.nux.x86_64
  29. --> Running transaction check
  30. ---> Package libass.x86_64 0:0.9.12-1.el6.nux will be installed
  31. --> Processing Dependency: libenca.so.0()(64bit) for package: libass-0.9.12-1.el6.nux.x86_64
  32. ---> Package libass-devel.x86_64 0:0.9.12-1.el6.nux will be installed
  33. --> Processing Dependency: pkgconfig(enca) for package: libass-devel-0.9.12-1.el6.nux.x86_64
  34. ---> Package libogg-devel.x86_64 2:1.1.4-2.1.el6 will be installed
  35. --> Processing Dependency: libogg = 2:1.1.4-2.1.el6 for package: 2:libogg-devel-1.1.4-2.1.el6.x86_64
  36. --> Processing Dependency: libogg.so.0()(64bit) for package: 2:libogg-devel-1.1.4-2.1.el6.x86_64
  37. ---> Package libvorbis.x86_64 1:1.2.3-4.el6_2.1 will be installed
  38. ---> Package opus.x86_64 0:0.9.8-2.el6.nux will be installed
  39. --> Running transaction check
  40. ---> Package libass.x86_64 0:0.9.12-1.el6.nux will be installed
  41. --> Processing Dependency: libenca.so.0()(64bit) for package: libass-0.9.12-1.el6.nux.x86_64
  42. ---> Package libass-devel.x86_64 0:0.9.12-1.el6.nux will be installed
  43. --> Processing Dependency: pkgconfig(enca) for package: libass-devel-0.9.12-1.el6.nux.x86_64
  44. ---> Package libogg.x86_64 2:1.1.4-2.1.el6 will be installed
  45. --> Finished Dependency Resolution
  46. Error: Package: libass-devel-0.9.12-1.el6.nux.x86_64 (nux-dextop)
  47.            Requires: pkgconfig(enca)
  48. Error: Package: libass-0.9.12-1.el6.nux.x86_64 (nux-dextop)
  49.            Requires: libenca.so.0()(64bit)
  50. You could try using --skip-broken to work around the problem
  51. ** Found 10 pre-existing rpmdb problem(s), 'yum check' output follows:
  52. bt-php-5.6.30-1.el6.x86_64 has missing requires of libiconv
  53. bt-php-5.6.30-1.el6.x86_64 has missing requires of libmcrypt
  54. bt-php-5.6.30-1.el6.x86_64 has missing requires of mcrypt
  55. bt-php-5.6.30-1.el6.x86_64 has missing requires of mhash
  56. bt-php-7.1.5-1.el6.x86_64 is a duplicate with bt-php-5.6.30-1.el6.x86_64
  57. bt-php-7.1.5-1.el6.x86_64 has missing requires of /home/a/rpmbuild/BUILDROOT/bt-php-7.1.5-1.el6.x86_64/www/server/php/71/bin/php
  58. bt-php-7.1.5-1.el6.x86_64 has missing requires of libiconv
  59. bt-php-7.1.5-1.el6.x86_64 has missing requires of libmcrypt
  60. bt-php-7.1.5-1.el6.x86_64 has missing requires of mcrypt
  61. bt-php-7.1.5-1.el6.x86_64 has missing requires of mhash
复制代码
系统: CentOS 6.9 (Final) 
使用道具 举报 只看该作者 回复
发表于 2018-4-22 08:00:14 | 显示全部楼层
本帖最后由 tradeteacher 于 2018-4-22 08:54 编辑

重要提醒:操作前请备份好所有的数据。


解决办法:
1.yum install yum-utils -y
2.package-cleanup --cleandupes
出现需要确认删除php的包,选y。
3.yum -y update,就没有错误了。

应该是通过bt后台安装程序所致,应该是官方处理快速安装中一个小失误导致的。

4.到bt后台重新安装php,选择编译安装。
目前发现php5.2和5.6受影响,7.1不受影响
再update就不会有错误了。




使用道具 举报 回复 支持 反对
发表于 2018-5-14 18:58:37 | 显示全部楼层
tradeteacher 发表于 2018-4-22 08:00
重要提醒:操作前请备份好所有的数据。


小于7的是没了,但还会有这个:
** Found 1 pre-existing rpmdb problem(s), 'yum check' output follows:
bt-php-7.0.19-1.el7.centos.x86_64 has missing requires of libiconv
使用道具 举报 回复 支持 反对
发表于 2018-5-14 19:03:38 | 显示全部楼层
mieba 发表于 2018-5-14 18:58
小于7的是没了,但还会有这个:
** Found 1 pre-existing rpmdb problem(s), 'yum check' output follows ...

rpm -Uvh https://forensics.cert.org/cert-forensics-tools-release-el7.rpm && yum --enablerepo=forensics install libiconv
这条可以解决7.0,但又有了新问题:
Error: Package: 1:mod_ssl-2.4.6-80.el7.centos.x86_64 (base)
           Requires: httpd = 2.4.6-80.el7.centos
           Installed: httpd-2.4.6-67.el7.centos.6.x86_64 (@updates)
               httpd = 2.4.6-67.el7.centos.6
Error: Package: httpd-2.4.6-67.el7.centos.6.x86_64 (@updates)
           Requires: httpd-tools = 2.4.6-67.el7.centos.6
           Removing: httpd-tools-2.4.6-67.el7.centos.6.x86_64 (@updates)
               httpd-tools = 2.4.6-67.el7.centos.6
           Updated By: httpd-tools-2.4.6-80.el7.centos.x86_64 (base)
               httpd-tools = 2.4.6-80.el7.centos
You could try using --skip-broken to work around the problem
You could try running: rpm -Va --nofiles --nodigest
使用道具 举报 回复 支持 反对
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

普通问题处理

论坛响应时间:72小时

问题处理方式:排队(仅解答)

工作时间:白班:9:00 - 18:00

紧急问题处理

论坛响应时间:10分钟

问题处理方式:1对1处理(优先)

工作时间:白班:9:00 - 18:00

工作时间:晚班:18:00 - 24:00

立即付费处理

工作时间:09:00至24:00

快速回复 返回顶部 返回列表