【发布时间】:2020-05-27 16:29:39
【问题描述】:
我添加了存储库“deb http://ftp.de.debian.org/debianjessie main”(我使用了this)。 我开始安装:
sudo apt install libpng12-0
但是错误出来了:
dpkg: error processing archive /var/cache/apt/archives/libpng12-0_1.2.50-2+deb8u3_i386.deb (--unpack):
Failed to install new version “/usr/lib/i386-linux-gnu/libpng12.so.0”: No such file or directory
Errors occurred while processing the following packages:
/var/cache/apt/archives/libpng12-0_1.2.50-2+deb8u3_i386.deb
E: Sub-process / usr / bin / dpkg returned an error code (1)
我从这个包中提取了文件libpng12.so.0并将它放在目录/usr/lib/i386-linux-gnu/中。
但在安装开始时:
sudo apt install libpng12-0
出现同样的错误。
在这种情况下,目录/usr/lib/i386-linux-gnu/ 中的文件libpng12.so.0 会消失。
如果我通过gdebi安装包,报错如下:
/usr/bin/gdebi:113: FutureWarning: Possible nested set at position 1
c = findall("[[(](\S+)/\S+[])]", msg)[0].lower()
【问题讨论】:
-
本题与编程无关,属于Super User。
-
我会尝试在那里问。只是SOF上有类似的问题。
-
对不起,我不想听起来冒犯。只是对于这种问题,在 SU 上得到很好的回答的机会更大。是的,在 SO 上肯定有很多这样的问题,但它们是 off-topic。