Fix broken APT after JetPack installation

From RidgeRun Developer Wiki




Problem Description

Sometimes when you are installing packages for your a host machine, some dependencies may crash due to the installation of packages of diverse architectures on the same host. For example, NVIDIA's JetPack installs ARM64 dependencies that don't let the packages update process finish properly.

Steps to Solve the Issue

Run this on your host PC
  • Find the ARM64 installed packages:
dpkg --get-selections | awk '/:arm64/{print $1}'
  • Uninstall those ARM64 installed packages:
apt-get remove --purge `dpkg --get-selections | awk '/:arm64/{print $1}'`
  • Remove the ARM64 architecture from apt:
dpkg --remove-architecture arm64
  • Update the packages:
sudo apt update


For direct inquiries, please refer to the contact information available on our Contact page. Alternatively, you may complete and submit the form provided at the same link. We will respond to your request at our earliest opportunity.


Links to RidgeRun Resources and RidgeRun Artificial Intelligence Solutions can be found in the footer below.