How to solve unmet dependancies, Raspberry Pi 4B

조회 수: 50 (최근 30일)
Nandini
Nandini 2023년 11월 1일
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
MathWorks MATLAB Hardware Team 2023년 11월 2일
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
Gustavo Liñán Cembrano
Gustavo Liñán Cembrano 2024년 3월 11일
Still not a 64-bit available?
MathWorks MATLAB Hardware Team
MathWorks MATLAB Hardware Team 2024년 3월 14일
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
MathWorks MATLAB Hardware Team 2024년 3월 14일
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에서 MATLAB Support Package for Raspberry Pi Hardware에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by