我在删除ettercap之后,尝试重新安装它,因为它由于某种原因随机关闭,这就是我得到的错误。
# apt-get install ettercap-gtk
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following NEW packages will be installed:
ettercap-gtk
0 upgraded, 1 newly installed, 0 to remove and 4 not upgraded.
Need to get 0B/838kB of archives.
After this operation, 0B of additional disk space will be used.
(Reading database ... 277050 files and directories currently installed.)
Unpacking ettercap-gtk (from .../ettercap-gtk_0.7.3-bt0_amd64.deb) ...
dpkg: error processing /var/cache/apt/archives/ettercap-gtk_0.7.3-bt0_amd64.deb (--unpack):
trying to overwrite '/usr/bin/etterlog', which is also in package ettercap-common 1:0.7.3-1.4ubuntu1
Errors were encountered while processing:
/var/cache/apt/archives/ettercap-gtk_0.7.3-bt0_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)`谢谢您的帮助,我对linux还是很陌生的,所以我对这个错误感到困惑。
发布于 2011-06-20 06:58:52
您似乎正在将Ubuntu存档中的包与来自某些外部源的包混合(0.7.3-bt0看起来不像Ubuntu中的包所使用的版本号)。特别是,ettercap-gtk的非发行版包似乎包含已拆分到Ubuntu中的一个单独的ettercap-common包中的文件。
也许试着禁用附加的包源,运行apt-get update,然后再试一次?
https://askubuntu.com/questions/49630
复制相似问题