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


RidgeRun Resources

Quick Start Client Engagement Process RidgeRun Blog Homepage
Technical and Sales Support RidgeRun Online Store RidgeRun Videos Contact Us
RidgeRun.ai: Artificial Intelligence | Generative AI | Machine Learning

Contact Us

Visit our Main Website for the RidgeRun Products and Online Store. RidgeRun Engineering informations are available in RidgeRun Professional Services, RidgeRun Subscription Model and Client Engagement Process wiki pages. Please email to support@ridgerun.com for technical questions and contactus@ridgerun.com for other queries. Contact details for sponsoring the RidgeRun GStreamer projects are available in Sponsor Projects page.