详情如下:
The following package was automatically installed and is no longer required:
libplymouth5
Use 'sudo apt autoremove' to remove it.
The following NEW packages will be installed:
libpng12-0
0 upgraded, 1 newly installed, 0 to remove and 1 not upgraded.
3 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.
(Reading database ... 174419 files and directories currently installed.)
Preparing to unpack .../libpng12-0_1.2.54-1ubuntu1.1_amd64.deb ...
Unpacking libpng12-0:amd64 (1.2.54-1ubuntu1.1) ...
dpkg: error processing archive /var/cache/apt/archives/libpng12-0_1.2.54-1ubuntu1.1_amd64.deb (--unpack):
unable to install new version of '/lib/x86_64-linux-gnu/libpng12.so.0': No such file or directory
No apport report written because the error message indicates an issue on the local system
Errors were encountered while processing:
/var/cache/apt/archives/libpng12-0_1.2.54-1ubuntu1.1_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
试了网上很多种方式,都不行。
参考链接:
上面的链接是很多方法的集合了,但是我的问题还是没有解决。后来我找了这个包的地址:
链接里下面框出来的下载,一个一个试,我是第一个就OK了,祝大家好运!