How to solve unmet dependancies, Raspberry Pi 4B
57 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
Nandini
el 1 de Nov. de 2023
Respondida: Manmeet
el 11 de Dic. de 2024 a las 6:52
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.
0 comentarios
Respuesta aceptada
MathWorks MATLAB Hardware Team
el 2 de Nov. de 2023
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 comentarios
제형
el 23 de Feb. de 2024
Hello, I've got same error even the "VERSION_CODENAME" of mine is bullseye.
How can I solve it?
Más respuestas (4)
Brandon
el 7 de Mzo. de 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 comentarios
MathWorks MATLAB Hardware Team
el 14 de Mzo. de 2024
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
el 14 de Mzo. de 2024
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
2 comentarios
Manmeet
el 10 de Dic. de 2024 a las 10:49
Is this still the case?
Iam using Raspberry Pi 5, bookworm version.
Matlab :24.2.0.2712019 (R2024b)
Mine message upon running "sudo apt-get install matlab-rpi" is following
"The following packages have unmet dependencies:
raspi-utils-core: Breaks: libraspberrypi-bin but 1:2+git20231018~131943+3c97
6-1 is to be installed
raspi-utils-dt: Breaks: libraspberrypi-bin but 1:2+git20231018~131943+3c97176
1 is to be installed
E: Error, pkgProblemResolver::Resolve generated breaks, this may be caused by he
1d packages."
Walter Roberson
el 10 de Dic. de 2024 a las 19:48
As of R2024b, according to https://www.mathworks.com/help/matlab/supportpkg/install-support-for-raspberry-pi-hardware.html
"You can set up your Raspberry Pi hardware using any 32-bit Raspberry Pi operating system on your Raspberry Pi, namely Buster, Bullseye or Bookworm."
Manmeet
el 10 de Dic. de 2024 a las 12:37
- Upon running these two lines of codes
"ssh=matlabshared.internal.ssh2client('192.168.1.190','admin','admin123');
raspi.internal.firmware.setupPythonVirtualEnvironment(ssh)"
It returns the: logical 1.
2. Now resource Monitor app of Matlab connects. All System Processes is then shown. If this is of any help.
3. Do you recommend me to install the Rasbian 32 bit version Bullseye?
0 comentarios
Manmeet
el 11 de Dic. de 2024 a las 6:52
Now Iam able to connect Pi5 running bookwarm version with app "Raspberry Pi Resource Monitor" of Matlab. See attached file for steps taken.
When I press "Verify Packages and Libraries" it says "all the required packages and libraries are installed on Raspberry Pi."
Still upon running the command "sudo apt-get install matlab-rpi" it comes up with errors as before.
0 comentarios
Ver también
Categorías
Más información sobre Introduction to Installation and Licensing en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!