我使用cPanel / WHM 58.0(Build 24)和Centos 6.8运行VPS。我尝试在服务器上安装清漆缓存以改善响应,但我在安装过程中遇到此错误:
Loaded plugins: fastestmirror, tsflags, universal-hooks
Setting up Install Process
Loading mirror speeds from cached hostfile
* EA4: 198.245.49.52
* base: centos.serverspace.co.uk
* epel: epel.check-update.co.uk
* extras: centos.hyve.com
* updates: centos.serverspace.co.uk
Resolving Dependencies
--> Running transaction check
---> Package varnish.x86_64 0:4.1.3-1.el7 will be installed
--> Processing Dependency: varnish-libs = 4.1.3-1.el7 for package: varnish-4.1.3-1.el7.x86_64
--> Processing Dependency: libvarnishapi.so.1(LIBVARNISHAPI_1.1)(64bit) for package: varnish-4.1.3-1.el7.x86_64
--> Processing Dependency: systemd-units for package: varnish-4.1.3-1.el7.x86_64
--> Processing Dependency: libc.so.6(GLIBC_2.15)(64bit) for package: varnish-4.1.3-1.el7.x86_64
--> Processing Dependency: systemd-sysv for package: varnish-4.1.3-1.el7.x86_64
--> Processing Dependency: jemalloc for package: varnish-4.1.3-1.el7.x86_64
--> Processing Dependency: libc.so.6(GLIBC_2.14)(64bit) for package: varnish-4.1.3-1.el7.x86_64
--> Processing Dependency: libvarnishapi.so.1(LIBVARNISHAPI_1.3)(64bit) for package: varnish-4.1.3-1.el7.x86_64
--> Processing Dependency: libvarnishapi.so.1(LIBVARNISHAPI_1.2)(64bit) for package: varnish-4.1.3-1.el7.x86_64
--> Processing Dependency: libvarnishapi.so.1(LIBVARNISHAPI_1.0)(64bit) for package: varnish-4.1.3-1.el7.x86_64
--> Processing Dependency: libvarnishapi.so.1(LIBVARNISHAPI_1.4)(64bit) for package: varnish-4.1.3-1.el7.x86_64
--> Processing Dependency: libpcre.so.1()(64bit) for package: varnish-4.1.3-1.el7.x86_64
--> Processing Dependency: libjemalloc.so.1()(64bit) for package: varnish-4.1.3-1.el7.x86_64
--> Processing Dependency: libvgz.so()(64bit) for package: varnish-4.1.3-1.el7.x86_64
--> Processing Dependency: libvarnish.so()(64bit) for package: varnish-4.1.3-1.el7.x86_64
--> Processing Dependency: libvarnishcompat.so()(64bit) for package: varnish-4.1.3-1.el7.x86_64
--> Processing Dependency: libvarnishapi.so.1()(64bit) for package: varnish-4.1.3-1.el7.x86_64
--> Processing Dependency: libvcc.so()(64bit) for package: varnish-4.1.3-1.el7.x86_64
--> Running transaction check
---> Package jemalloc.x86_64 0:3.6.0-1.el6 will be installed
---> Package varnish.x86_64 0:4.1.3-1.el7 will be installed
--> Processing Dependency: systemd-units for package: varnish-4.1.3-1.el7.x86_64
--> Processing Dependency: libc.so.6(GLIBC_2.15)(64bit) for package: varnish-4.1.3-1.el7.x86_64
--> Processing Dependency: systemd-sysv for package: varnish-4.1.3-1.el7.x86_64
--> Processing Dependency: libc.so.6(GLIBC_2.14)(64bit) for package: varnish-4.1.3-1.el7.x86_64
--> Processing Dependency: libpcre.so.1()(64bit) for package: varnish-4.1.3-1.el7.x86_64
---> Package varnish-libs.x86_64 0:4.1.3-1.el7 will be installed
--> Processing Dependency: libc.so.6(GLIBC_2.14)(64bit) for package: varnish-libs-4.1.3-1.el7.x86_64
--> Processing Dependency: libpcre.so.1()(64bit) for package: varnish-libs-4.1.3-1.el7.x86_64
--> Finished Dependency Resolution
Error: Package: varnish-4.1.3-1.el7.x86_64 (varnish-4.1)
Requires: libpcre.so.1()(64bit)
Error: Package: varnish-4.1.3-1.el7.x86_64 (varnish-4.1)
Requires: libc.so.6(GLIBC_2.14)(64bit)
Error: Package: varnish-4.1.3-1.el7.x86_64 (varnish-4.1)
Requires: libc.so.6(GLIBC_2.15)(64bit)
Error: Package: varnish-libs-4.1.3-1.el7.x86_64 (varnish-4.1)
Requires: libpcre.so.1()(64bit)
Error: Package: varnish-4.1.3-1.el7.x86_64 (varnish-4.1)
Requires: systemd-sysv
Error: Package: varnish-4.1.3-1.el7.x86_64 (varnish-4.1)
Requires: systemd-units
Error: Package: varnish-libs-4.1.3-1.el7.x86_64 (varnish-4.1)
Requires: libc.so.6(GLIBC_2.14)(64bit)
You could try using --skip-broken to work around the problem
You could try running: rpm -Va --nofiles --nodigest
显然缺少一种依赖性,但我无法解决它。任何建议都将非常感谢。
由于
千电子伏
答案 0 :(得分:0)
你正试图为太旧的Centos安装太新的清漆。
您从哪个仓库安装Varnish包?
在你的机器上运行yum list glibc
检查版本。
因为它是Centos 6.8,它可能是2.12-something而Varnish 4.1.x根据你的转储需要至少2.15。
您必须尝试旧版本或Varnish,或将您的发行版升级到更新版本。