You might want to run 'apt --fix-broken install' to correct these. The following packages have unmet dependencies: libgles-dev : Depends: libgles1 (= 1.3.1-1ubuntu0.20.04.1) Depends: libgles2 (= 1.3.1-1ubuntu0.20.04.1) E: Unmet dependencies. Try 'apt --fix-broken install' with no packages (or specify a solution).
apt 꼬였을 때 다음 커멘드로 해결
apt-get -o Dpkg::Options::="--force-overwrite" install --fix-broken
출처: https://koodev.tistory.com/61

특정 환경에서는 해당 패키지 버전이 다른 버전과 충돌할 수 있습니다. 제가 직접 테스트해 보니 수동으로 라이브러리를 재설치하는 것이 더 안정적이었습니다.