How to solve unmet dependancies, Raspberry Pi 4B

25 次查看(过去 30 天)
xxxxxxxxx@raspberrypi:~ $ sudo apt-get install matlab-rpi
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:
The following packages have unmet dependencies:
matlab-rpi:armhf : Depends: ntpdate:armhf (>= 1:4.2.6.p5+dfsg-7+deb8u2) but it is not installable
Depends: sense-hat:armhf (>= 1.2) but it is not installable
Depends: python3-pip:armhf but it is not installable
Depends: python3-tornado:armhf but it is not going to be installed
Depends: python3-cffi:armhf but it is not installable
E: Unable to correct problems, you have held broken packages.

采纳的回答

MathWorks MATLAB Hardware Team
Hi !
Seems like there is issue with the operating system release of your raspberrypi.
Please check Operating System release by typing following command in your raspberrypi.
$ cat /etc/os-release
if the "VERSION_CODENAME" is not stretch, buster or bullseye, then the error is expected because MATLAB Support Package for Raspberrypi Hardware only supports stretch , buster and bullseye debian releases.
if the "VERSION_CODENAME" is stretch, buster or bullseye,
Please feel free to contact our Technical Support if you need further assistance.
https://www.mathworks.com/support/contact_us.html
Thanks,
MATLAB Hardware Team
MathWorks
  4 个评论
제형
제형 2024-2-23
Hello, I've got same error even the "VERSION_CODENAME" of mine is bullseye.
How can I solve it?
Brandon
Brandon 2024-3-7
I have the same issue on a Raspberry Pi Zero 2 W with bullseye.

请先登录,再进行评论。

更多回答(2 个)

Brandon
Brandon 2024-3-7
For anyone reading this, this is what solved it for me:
I had the 64-bit release installed. Unfortunately, MATLAB is only supported on the 32-bit release. I re-imaged my SD card to 32-bit, and everything worked perfectly.
  2 个评论
MathWorks MATLAB Hardware Team
Currently,MATLAB Support package for the raspberry pi is only supported for 32 bit OS. The support for 64 bit OS is not yet available.
One can check whether the OS version is 32 bit or 64 bit by executing the following commnad in raspberry pi
$uname -m
if the output is aarch64, then MATLAB Support package for raspberry pi will not work.
Thanks,
MATLAB Hardware Support Team

请先登录,再进行评论。


MathWorks MATLAB Hardware Team
Currently,MATLAB Support package for the raspberry pi is only supported for 32 bit OS. The support for 64 bit OS is not yet available.
One can check whether the OS version is 32 bit or 64 bit by executing the following commnad in raspberry pi
$uname -m
if the output is aarch64, then MATLAB Support package for raspberry pi will not work.
Thanks,
MATLAB Hardware Support Team

类别

Help CenterFile Exchange 中查找有关 Introduction to Installation and Licensing 的更多信息

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by