xhadesvn@zoo:/home/tlbb/Server$ sudo apt -f install
Reading package lists... Done
Building dependency tree
Reading state information... Done
Correcting dependencies... Done
The following extra packages will be installed:
libltdl-dev:i386
Suggested packages:
libtool-doc:i386
The following NEW packages will be installed:
libltdl-dev:i386
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
1 not fully installed or removed.
Need to get 0 B/157 kB of archives.
After this operation, 924 kB of additional disk space will be used.
Do you want to continue? [Y/n] y
(Reading database ... 46588 files and directories currently installed.)
Preparing to unpack .../libltdl-dev_2.4.2-1.7ubuntu1_i386.deb ...
Unpacking libltdl-dev:i386 (2.4.2-1.7ubuntu1) ......................................]
dpkg: error processing archive /var/cache/apt/archives/libltdl-dev_2.4.2-1.7ubuntu1_i386.deb (--unpack):
trying to overwrite shared '/usr/share/libtool/libltdl/Makefile.in', which is different from other instances of package libltdl-dev:i386
Errors were encountered while processing:
/var/cache/apt/archives/libltdl-dev_2.4.2-1.7ubuntu1_i386.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)当我试图安装libltdl-dev x86时,我收到了这个错误。
我已经搜索了那个错误,但是没有得到修复文档。
发布于 2016-11-29 17:23:14
deb包已损坏。您可以使用sudo rm /var/cache/apt/archives/libltdl-dev_2.4.2-1.7ubuntu1_i386.deb简单地删除损坏的包并尝试重新安装。您正在寻找的包可以找到这里,您可以通过Software (或您最喜欢的软件包安装程序)下载和安装它,或者在删除了违规的包之后,您可以简单地
sudo apt-get update
sudo apt-get install libltdl-devhttps://askubuntu.com/questions/855031
复制相似问题