风火轮用户23488 发表于 2022-5-19 09:31:47

ROCK PI X 在Ubuntu中安装libmraa库失败,提示缺少依赖库

ajl@ajl:~$ sudo dpkg -i libmraa-rockpix.deb
(Reading database ... 176887 files and directories currently installed.)
Preparing to unpack libmraa-rockpix.deb ...
Unpacking libmraa-rockpix (0.1) over (0.1) ...
dpkg: dependency problems prevent configuration of libmraa-rockpix:
libmraa-rockpix depends on libgtest-dev; however:
Package libgtest-dev is not installed.
libmraa-rockpix depends on libpython2.7; however:
Package libpython2.7 is not installed.
libmraa-rockpix depends on python3.8; however:
Package python3.8 is not installed.
libmraa-rockpix depends on libpython3.8; however:
Package libpython3.8 is not installed.
libmraa-rockpix depends on openjdk-14-jdk; however:
Package openjdk-14-jdk is not installed.

dpkg: error processing package libmraa-rockpix (--install):
dependency problems - leaving unconfigured
Errors were encountered while processing:
libmraa-rockpix
ajl@ajl:~$ sudo apt-get install -f -y
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Correcting dependencies... Done
The following packages will be REMOVED:
libmraa-rockpix
0 upgraded, 0 newly installed, 1 to remove and 9 not upgraded.
1 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
(Reading database ... 176887 files and directories currently installed.)
Removing libmraa-rockpix (0.1) ...
dpkg: warning: while removing libmraa-rockpix, directory '/usr/local/share' not empty so not removed
dpkg: warning: while removing libmraa-rockpix, directory '/usr/local/lib/python2.7' not empty so not removed


风火轮用户68631 发表于 2022-5-19 10:38:32

你装一下依赖库,也有可能是你的版本太高了,没有依赖库符合

风火轮用户23488 发表于 2022-5-19 10:52:31

风火轮用户68631 发表于 2022-5-19 10:38
你装一下依赖库,也有可能是你的版本太高了,没有依赖库符合

根版本的关系不大吧,我用16.04的版本也是一样问题。手动单独安装相应的依赖库但是提示装不上呢?
ajl@ajl:~$ sudo apt install openjdk-14-jdk
正在读取软件包列表... 完成
正在分析软件包的依赖关系树... 完成
正在读取状态信息... 完成               
E: 无法定位软件包 openjdk-14-jdk
ajl@ajl:~$ sudo apt installlibpython3.8
正在读取软件包列表... 完成
正在分析软件包的依赖关系树... 完成
正在读取状态信息... 完成               
E: 无法定位软件包 libpython3.8
E: 无法按照 glob ‘libpython3.8’ 找到任何软件包
ajl@ajl:~$ sudo apt installpython3.8
正在读取软件包列表... 完成
正在分析软件包的依赖关系树... 完成
正在读取状态信息... 完成               
没有可用的软件包 python3.8,但是它被其它的软件包引用了。
这可能意味着这个缺失的软件包可能已被废弃,
或者只能在其他发布源中找到

E: 软件包 python3.8 没有可安装候选
页: [1]
查看完整版本: ROCK PI X 在Ubuntu中安装libmraa库失败,提示缺少依赖库