Anytime I attempt to install
libpng12-0 with this command:
sudo apt-get install libpng12-0
I get this returned:
Reading package lists... Done Building dependency tree Reading state information... Done The following packages were automatically installed and are no longer required: gstreamer0.10-plugins-base libavformat53 libcdaudio1 libgcrypt11 libgnutls-deb0-28 libgnutls26 libgsoap5 libgstreamer-plugins-bad0.10-0 libgstreamer-plugins-base0.10-0 libgstreamer0.10-0 libhogweed2 libjasper1 libmimic0 libmpg123-0 libnettle4 libpostproc52 libqt4-dbus libqt4-network libqt4-opengl libqt4-xml libqtcore4 libqtdbus4 libqtgui4 librtmp0 libslv2-9 libsoundtouch0 libswscale2 libtasn1-3 libuv1 libvncserver0 libwildmidi1 qdbus qt-at-spi qtchooser qtcore4-l10n virtualbox-dkms Use 'sudo apt autoremove' to remove them. The following NEW packages will be installed: libpng12-0 0 upgraded, 1 newly installed, 0 to remove and 4 not upgraded. Need to get 173 kB of archives. After this operation, 273 kB of additional disk space will be used. Get:1 http://debian.cc.lehigh.edu/debian jessie/main amd64 libpng12-0 amd64 1.2.50-2+deb8u2 [173 kB] Fetched 173 kB in 0s (493 kB/s) (Reading database ... 182049 files and directories currently installed.) Preparing to unpack .../libpng12-0_1.2.50-2+deb8u2_amd64.deb ... Unpacking libpng12-0:amd64 (1.2.50-2+deb8u2) ... dpkg: error processing archive /var/cache/apt/archives/libpng12-0_1.2.50-2+deb8u2_amd64.deb (--unpack): unable to install new version of '/usr/lib/x86_64-linux-gnu/libpng12.so.0': No such file or directory Errors were encountered while processing: /var/cache/apt/archives/libpng12-0_1.2.50-2+deb8u2_amd64.deb E: Sub-process /usr/bin/dpkg returned an error code (1)
I have NO IDEA how to work around this. I do have
libpng16-16 installed, but I don't see why that would cause an issue. I've tried everything from downloading the .deb manually and installing it to trying to symlink the
so to that location. All of it gave me no luck.
Anyone have any advice?
Further information: any attempt to symlink another
.so into the path provided (
/usr/lib/x86_64-linux-gnu/libpng12.so.0) results in the deletion of that symlink and the same error. The
.so I was attempting to symlink as a fix, was
libpng.so which is provided by