apt – Unmet Dependencies issue in Ubuntu 20.04

When I try sudo apt command I get the following message:

 libopencv-highgui2.4v5 : Depends: libpng12-0 (>= 1.2.13-4) but it is not installed
E: Unmet dependencies. Try 'apt --fix-broken install' with no packages (or specify a solution).

When I try apt –fix-broken install I get:

0 upgraded, 1 newly installed, 0 to remove and 74 not upgraded.
5 not fully installed or removed.
Need to get 0 B/116 kB of archives.
After this operation, 285 kB of additional disk space will be used.
Do you want to continue? (Y/n) y
(Reading database ... 213917 files and directories currently installed.)
Preparing to unpack .../libpng12-0_1.2.54-1ubuntu1_amd64.deb ...
Unpacking libpng12-0:amd64 (1.2.54-1ubuntu1) ...
dpkg: error processing archive /var/cache/apt/archives/libpng12-0_1.2.54-1ubunt
u1_amd64.deb (--unpack):
 unable to install new version of '/lib/x86_64-linux-gnu/libpng12.so.0': No suc
h file or directory
No apport report written because the error message indicates an issue on the lo
cal system
          Errors were encountered while processing:
E: Sub-process /usr/bin/dpkg returned an error code (1)```