清漆安装
Varnish Installation
我 运行 VPS 使用 cPanel / WHM 58.0(Build 24)和 Centos 6.8。我正在尝试在服务器上安装清漆缓存以提高响应速度,但在安装过程中出现此错误:
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
显然缺少依赖项,但我无法解决它。任何建议将不胜感激。
谢谢
凯夫
您正在尝试为太旧的 Centos 安装太新的 Varnish。
您从哪个仓库安装 Varnish 软件包?
运行 yum list glibc
在你的机器上测试版本。
因为它是 Centos 6.8,它可能是 2.12-something 和 Varnish 4。1.x 根据你的转储至少需要 2.15。
您必须尝试旧版本或 Varnish,或者将您的发行版升级到新版本。
我 运行 VPS 使用 cPanel / WHM 58.0(Build 24)和 Centos 6.8。我正在尝试在服务器上安装清漆缓存以提高响应速度,但在安装过程中出现此错误:
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
显然缺少依赖项,但我无法解决它。任何建议将不胜感激。
谢谢
凯夫
您正在尝试为太旧的 Centos 安装太新的 Varnish。
您从哪个仓库安装 Varnish 软件包?
运行 yum list glibc
在你的机器上测试版本。
因为它是 Centos 6.8,它可能是 2.12-something 和 Varnish 4。1.x 根据你的转储至少需要 2.15。
您必须尝试旧版本或 Varnish,或者将您的发行版升级到新版本。