How to solve unmet dependancies, Raspberry Pi 4B

28 views (last 30 days)
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.

Accepted Answer

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 Comments
제형
제형 on 23 Feb 2024
Hello, I've got same error even the "VERSION_CODENAME" of mine is bullseye.
How can I solve it?
Brandon
Brandon on 7 Mar 2024
I have the same issue on a Raspberry Pi Zero 2 W with bullseye.

Sign in to comment.

More Answers (2)

Brandon
Brandon on 7 Mar 2024
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 Comments
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

Sign in to comment.


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

Categories

Find more on Introduction to Installation and Licensing in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!