http://feeds.labviewmakerhub.com/debian/binary/lvrt21-schroot_21.0.0-2.deb
我要安装的这个deb仅能在armhf架构下使用, 这是 LabVIEW编程语言 通过LINX 在嵌入式设备上开发程序的运行引擎, 它能将在PC上编写的程序部署到嵌入式设备上.
在LabVIEW的LINX支持的的嵌入式设备列表中仅指定了包括 Arduino, Raspberry Pi and BeagleBone Black 等设备, 而我想使用rockpi产品作为替代者来部署labview程序. 实际上我现在手中有一款rock pi e.
作为刚接触嵌入式设备不久的新人, 当我看到树莓派的内核包含A72 A53等, 而rockpi也是如此, 我想应该有办法能够安装这个deb文件. 在尝试中我了解到arm64系统上无法安装某些armhf的依赖程序, 如schroot:armhf.
所以, 请问是否有办法解决这个问题. 下面是我安装过程的内容:
当我尝试安装 lvrt21-schroot_21.0.0-2.deb, 这就是最上面我粘贴的超链接指向的文件.
rock@rockpie:~/lvrt21-schroot$ sudo dpkg -i lvrt21-schroot_21.0.0-2.deb
[sudo] password for rock:
(Reading database ... 139921 files and directories currently installed.)
Preparing to unpack lvrt21-schroot_21.0.0-2.deb ...
Unpacking lvrt21-schroot:armhf (21.0.0-2) over (21.0.0-2) ...
dpkg: dependency problems prevent configuration of lvrt21-schroot:armhf:
lvrt21-schroot:armhf depends on schroot; however:
Package schroot:armhf is not installed.
lvrt21-schroot:armhf depends on python; however:
dpkg: error processing package lvrt21-schroot:armhf (--install):
dependency problems - leaving unconfigured
Processing triggers for man-db (2.8.5-2) ...
Errors were encountered while processing:
lvrt21-schroot:armhf
上面打印信息中得知 schroot:armhf 无法安装, 于是我尝试手动安装schroot:armhf
rock@rockpie:~/lvrt21-schroot$ sudo apt-get install schroot:armhf
Reading package lists... Done
Building dependency tree
Reading state information... Done
You might want to run 'apt --fix-broken install' to correct these.
The following packages have unmet dependencies:
lvrt21-schroot:armhf : Depends: python:armhf but it is not going to be installed
schroot:armhf : Depends: libboost-filesystem1.62.0:armhf but it is not going to be installed
Depends: libboost-iostreams1.62.0:armhf but it is not going to be installed
Depends: libboost-program-options1.62.0:armhf but it is not going to be installed
Depends: libboost-system1.62.0:armhf but it is not going to be installed
Depends: schroot-common:armhf (= 1.6.10-3+deb9u1) but it is not installable
E: Unmet dependencies. Try 'apt --fix-broken install' with no packages (or specify a solution).
上面打印信息中得知 schroot:armhf的依赖中有些内容不能安装, 我依次尝试手动安装, 当我安装到 schroot-common:armhf 的时候
rock@rockpie:~/lvrt21-schroot$ sudo apt-get install schroot-common:armhf
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package schroot-common:armhf is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
E: Package 'schroot-common:armhf' has no installation candidate
rock@rockpie:~/lvrt21-schroot$
上面打印的信息说道 schroot-common:armhf 这个包不可用或者找不到, 于是走到了死胡同.