分页: 1 / 1

虚拟机运行树莓派不能安装domoticz

发表于 : 周六 9月 02, 2017 10:10
piskarev
我是在虚拟机里面运行的树莓派,安装domoticz的时候,用 sudo curl -L install.domoticz.cn | bash这条命令,最后显示
::: Verifying free disk space...
:::
::: Checking apt-get for upgraded packages.... done!
:::
::: There are 78 updates available for your system!
::: We recommend you run 'apt-get upgrade' after installing Domoticz!
:::
::: Checking for apt-utils... installed!
::: Checking for whiptail... installed!
::: Checking for git... installed!
::: Checking for curl... installed!
::: Checking for libcurl3... installed!
::: Checking for unzip... installed!
::: Checking for wget... installed!
::: Checking for sudo... installed!
::: Checking for cron... installed!
::: Checking for libudev-dev... installed!
::: Downloading Domoticz
::: Current User: pi
HTTP Port: 9080
HTTPS Port: 543
:::
::: Destination folder=/home/pi/domoticz
--2017-09-02 02:56:11-- http://releases.domoticz.cn/download.ph ... chine=i686
Resolving releases.domoticz.cn (releases.domoticz.cn)... 180.150.226.150
Connecting to releases.domoticz.cn (releases.domoticz.cn)|180.150.226.150|:80... connected.
HTTP request sent, awaiting response... 301 Moved Permanently
Location: https://www.domoticz.cn/download.php?ch ... chine=i686 [following]
--2017-09-02 02:56:12-- https://www.domoticz.cn/download.php?ch ... chine=i686
Resolving www.domoticz.cn (www.domoticz.cn)... 180.150.226.150
Connecting to www.domoticz.cn (www.domoticz.cn)|180.150.226.150|:443... connected.
HTTP request sent, awaiting response... 302 Found
Location: release/release/domoticz_linux_i686.tgz [following]
--2017-09-02 02:56:13-- https://www.domoticz.cn/release/release ... x_i686.tgz
Connecting to www.domoticz.cn (www.domoticz.cn)|180.150.226.150|:443... connected.
HTTP request sent, awaiting response... 404 Not Found
2017-09-02 02:56:13 ERROR 404: Not Found.
显示没找到安装文件。

如果用sudo curl -L install.domoticz.com | bash 这个。最后显示
::: Verifying free disk space...
:::
::: Checking apt-get for upgraded packages.... done!
:::
::: There are 78 updates available for your system!
::: We recommend you run 'apt-get upgrade' after installing Domoticz!
:::
::: Checking for apt-utils... installed!
::: Checking for whiptail... installed!
::: Checking for git... installed!
::: Checking for curl... installed!
::: Checking for libcurl3... installed!
::: Checking for unzip... installed!
::: Checking for wget... installed!
::: Checking for sudo... installed!
::: Checking for cron... installed!
::: Checking for libudev-dev... installed!
::: Downloading Domoticz
::: Current User: pi
HTTP Port: 8080
HTTPS Port: 443
:::
::: Destination folder=/home/pi/domoticz
--2017-09-02 03:02:16-- http://www.domoticz.com/download.php?ch ... chine=i686
Resolving www.domoticz.com (www.domoticz.com)... 104.31.78.142, 104.31.79.142, 2400:cb00:2048:1::681f:4f8e, ...
Connecting to www.domoticz.com (www.domoticz.com)|104.31.78.142|:80... connected.
HTTP request sent, awaiting response... 302 Found
Location: http://releases.domoticz.com/releases/r ... x_i686.tgz [following]
--2017-09-02 03:02:17-- http://releases.domoticz.com/releases/r ... x_i686.tgz
Resolving releases.domoticz.com (releases.domoticz.com)... 104.31.78.142, 104.31.79.142, 2400:cb00:2048:1::681f:4f8e, ...
Reusing existing connection to www.domoticz.com:80.
HTTP request sent, awaiting response... 404 Not Found
2017-09-02 03:02:18 ERROR 404: Not Found.
两个地址不一样,但都找不到安装文件,
想请教一个这个是怎么回事??

Re: 虚拟机运行树莓派不能安装domoticz

发表于 : 周六 9月 02, 2017 11:02
DT27
虚拟机平台是i686,Domoticz安装包没有这个平台的。
树莓派真机平台是armv7l。
你要虚拟机装的话,装个x86_64的Ubuntu吧。

Re: 虚拟机运行树莓派不能安装domoticz

发表于 : 周六 9月 02, 2017 12:22
piskarev
好的,谢谢

Re: 虚拟机运行树莓派不能安装domoticz

发表于 : 周日 9月 03, 2017 17:21
chinesesich
DT27 写了: 周六 9月 02, 2017 11:02 虚拟机平台是i686,Domoticz安装包没有这个平台的。
树莓派真机平台是armv7l。
你要虚拟机装的话,装个x86_64的Ubuntu吧。
现在树莓派有Desktop版本了,可以虚拟机安装了。

Re: 虚拟机运行树莓派不能安装domoticz

发表于 : 周五 4月 27, 2018 17:30
ldyz223
楼主,我顺便问一下。为什么我安装的时候就卡在Checking for libudev-dev...pi@rasberrypi,这样就不动了,是要继续等还是哪里出现问题了。。。

Re: 虚拟机运行树莓派不能安装domoticz

发表于 : 周六 4月 28, 2018 15:45
Admin
ldyz223 写了: 周五 4月 27, 2018 17:30 楼主,我顺便问一下。为什么我安装的时候就卡在Checking for libudev-dev...pi@rasberrypi,这样就不动了,是要继续等还是哪里出现问题了。。。
先确认你的软件源没问题,你是不是修改过软件源?

代码: 全选

sudo apt-get install libudev-dev