How to solve unmet dependancies, Raspberry Pi 4B
Mostra commenti meno recenti
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.
Risposta accettata
Più risposte (5)
Brandon
il 7 Mar 2024
0 voti
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 Commenti
Gustavo Liñán Cembrano
il 11 Mar 2024
Still not a 64-bit available?
MathWorks MATLAB Hardware Team
il 14 Mar 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
il 14 Mar 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 Commenti
Manmeet
il 10 Dic 2024
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
il 10 Dic 2024
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
il 10 Dic 2024
0 voti
- 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?
Manmeet
il 11 Dic 2024
0 voti
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.
Manmeet
il 7 Gen 2025
0 voti
for Pi5 running Bookworm function and Matlab 2024b, I followed the steps (command window) below to get the code deployed. These steps are similar to what is metioned here with very minor difference.
1) r=raspi
2)board = targetHardware('Raspberry Pi')
3)board.CoderConfig.TargetLang = 'C++' % by default it is C
4)dlcfg = coder.DeepLearningConfig('arm-compute') % This version will be '20.02.1' and architecture 'armv8'
5)dlcfg.ArmArchitecture = 'armv7' % in my case I have to change the version 7 from 8 to download
6) deploy(board,'YOUR_FUNCTION') %
Note: after installation of arm compute library using add on "matlab support package for Raspberry Pi hardware" check the location of the file "libarm_compute.so" inside "/opt/ComputeLibrary". It shall be here. If Its somewhere else then envirnment must be changed for that location.
Categorie
Scopri di più su Introduction to Installation and Licensing in Centro assistenza e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!