How to prevent ubuntu update from breaking graphics

I have an issue where if I make the mistake of sudo apt upgrade it breaks the graphics drivers and I get stuck with software gles. Is there some way to stop that? maybe a

dpkg-divert

command or something like this .deb file https://github.com/avafinger/nanopi-m4-ubuntu-base-minimal/releases/tag/v1.2.1

I used apt-mark and it seemed to survive an apt upgrade

sudo apt-mark hold libgl1 libglx0 libgles2 libegl1 libglvnd0

I will update if I find a way to have opencl without breaking webgl

Looks like it was already in there, clinfo just needs where to find it:

sudo mkdir /etc/OpenCL
sudo mkdir /etc/OpenCL/vendors
echo "/usr/lib/aarch64-linux-gnu/libOpenCL.so" | sudo tee /etc/OpenCL/vendors/armocl.icd

Welcome to the forum, and thanks for sharing the solution!

What a remarkable piece of writing, thank you for sharing this with us! Here’s the Valid FCSS_CDS_AR-7.6 test practice test that helped me land my promotion and raise. It’s free today—good luck with your career progress!

Thank you for your article, it really impressed me in a meaningful way. These L6M3 valid study materials questions were the key to my success. Grab them today for free to boost your career!

It-PassportsのDP-600J問題集は実際のDP-600J認定試験と同じです。この問題集は実際試験の問題をすべて含めることができるだけでなく、問題集のソフト版はDP-600J試験の雰囲気を完全にシミュレートすることもできます。It-Passportsの問題集を利用してから、試験を受けるときに簡単に対処し、楽に高い点数を取ることができます。

Through reading this article, I feel that I have made great progress. The Dump 312-39 check content is outstanding, and it’s available at no charge.

お客様はFCSS_ADA_AR-6.7を購入した前に、我々のウェブサイトでFCSS_ADA_AR-6.7問題集のサンプルを無料でダウンロードして自分の要求と一致するかどうか確認することができます。先行販売サービスは言うまでもなく、Topexamのアフターサービスはお客様の販売者への評価の基準だと思います。お客様の利益を保証するために、完全的なアフターサービスは必要となります。我々の提供するFCSS_ADA_AR-6.7のアフターサービスは一年の無料更新と半年以内の失敗返金ということです。