Hi, I am having the same error, I am running this on JetPack 4.4 R32.4.2
-desktop:~ sudo apt-get install libegl-mesa0
Reading package lists... Done
Building dependency tree
Reading state information... Done
libegl-mesa0 is already the newest version (19.2.8-0ubuntu0~18.04.3).
libegl-mesa0 set to manually installed.
You might want to run 'apt --fix-broken install' to correct these.
The following packages have unmet dependencies:
libegl1:armhf : Depends: libegl-mesa0:armhf but it is not going to be installed
E: Unmet dependencies. Try 'apt --fix-broken install' with no packages (or specify a solution).
-desktop:~ sudo apt-get install nano
Reading package lists… Done
Building dependency tree
Reading state information… Done
You might want to run ‘apt --fix-broken install’ to correct these.
The following packages have unmet dependencies:
libegl1:armhf : Depends: libegl-mesa0:armhf but it is not going to be installed
E: Unmet dependencies. Try ‘apt --fix-broken install’ with no packages (or specify a solution).
-desktop:~$ sudo apt --fix-broken install
Reading package lists… Done
Building dependency tree
Reading state information… Done
Correcting dependencies… Done
The following packages were automatically installed and are no longer required:
iio-sensor-proxy:armhf libavahi-glib1:armhf libmbim-glib4
libmbim-glib4:armhf libmbim-proxy libmm-glib0:armhf
libpolkit-gobject-1-0:armhf libqmi-glib5 libqmi-glib5:armhf libqmi-proxy
modemmanager:armhf usb-modeswitch usb-modeswitch-data
Use ‘sudo apt autoremove’ to remove them.
The following additional packages will be installed:
libegl-mesa0:armhf
The following NEW packages will be installed:
libegl-mesa0:armhf
0 upgraded, 1 newly installed, 0 to remove and 13 not upgraded.
183 not fully installed or removed.
Need to get 0 B/76.6 kB of archives.
After this operation, 240 kB of additional disk space will be used.
Do you want to continue? [Y/n] Y
debconf: delaying package configuration, since apt-utils is not installed
(Reading database … 138736 files and directories currently installed.)
Preparing to unpack …/libegl-mesa0_19.2.8-0ubuntu0~18.04.3_armhf.deb …
Unpacking libegl-mesa0:armhf (19.2.8-0ubuntu0~18.04.3) …
dpkg: error processing archive /var/cache/apt/archives/libegl-mesa0_19.2.8-0ubuntu0~18.04.3_armhf.deb (–unpack):
trying to overwrite shared ‘/usr/share/glvnd/egl_vendor.d/50_mesa.json’, which is different from other instances of package libegl-mesa0:armhf
Errors were encountered while processing:
/var/cache/apt/archives/libegl-mesa0_19.2.8-0ubuntu0~18.04.3_armhf.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
Thanks for the help