jshensh 发表于 2015-12-29 20:28:45

lnmp 1.2 RasPi 2 Centos 7 安装失败

RasPi 2 Model B E14 版,ARMv7l,系统 Centos 7(http://mirror.centos.org/altarch/7/isos/armhfp/CentOS-Userland-7-armv7hl-Minimal-1511-RaspberryPi2.img.xz)附 log
怀疑是这段导致的错误:line 1145-1155 Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
Resolving Dependencies
--> Running transaction check
---> Package libxml2-devel.armv7hl 0:2.9.1-6.el7.2 will be installed
--> Processing Dependency: xz-devel for package: libxml2-devel-2.9.1-6.el7.2.armv7hl
--> Finished Dependency Resolution
Error: Package: libxml2-devel-2.9.1-6.el7.2.armv7hl (updates)
         Requires: xz-devel
You could try using --skip-broken to work around the problem
You could try running: rpm -Va --nofiles --nodigest

还有 line 89807,ARM 的 Centos 7 为什么去下载了 i386 的 Zend:--2015-12-29 06:01:20--http://soft.vpser.net/web/zend/zend-loader-php5.6-linux-i386.tar.gz

line 178674:--2015-12-29 12:59:26--http://soft.vpser.net/web/zend/zend-loader-php5.6-linux-i386.tar.gz


[ 本帖最后由 jshensh 于 2015-12-29 22:15 编辑 ]

licess 发表于 2015-12-30 08:56:57

yum install xz-devel libxml2-devel 看一下

arm下没有zend loader

jshensh 发表于 2015-12-30 21:00:47

回复 2# 的帖子

# yum install xz-devel libxml2-devel
Loaded plugins: fastestmirror
base | 3.6 kB 00:00:00
extras | 2.9 kB 00:00:00
updates | 2.9 kB 00:00:00
Loading mirror speeds from cached hostfile
No package xz-devel available.
Resolving Dependencies
--> Running transaction check
---> Package libxml2-devel.armv7hl 0:2.9.1-6.el7.2 will be installed
--> Processing Dependency: zlib-devel for package: libxml2-devel-2.9.1-6.el7.2.armv7hl
--> Processing Dependency: xz-devel for package: libxml2-devel-2.9.1-6.el7.2.armv7hl
--> Running transaction check
---> Package libxml2-devel.armv7hl 0:2.9.1-6.el7.2 will be installed
--> Processing Dependency: xz-devel for package: libxml2-devel-2.9.1-6.el7.2.armv7hl
---> Package zlib-devel.armv7hl 0:1.2.7-15.el7 will be installed
--> Finished Dependency Resolution
Error: Package: libxml2-devel-2.9.1-6.el7.2.armv7hl (updates)
Requires: xz-devel
You could try using --skip-broken to work around the problem
You could try running: rpm -Va --nofiles --nodigest

您要不再做一个针对 ARM 的 Centos 7 的适配。。?

licess 发表于 2015-12-31 11:04:29

手头上只有一个首批rpi不好做测试,编译时间很长,建议还是yum或apt-get进行安装

jshensh 发表于 2015-12-31 20:48:26

回复 4# 的帖子

好吧。。。谢谢了。。。
页: [1]
查看完整版本: lnmp 1.2 RasPi 2 Centos 7 安装失败