当我尝试使用中央软件安装 nasm 时出现这些错误...
installArchives() failed: (Reading database ...
(Reading database ... 100%
(Reading database ... 221927 files and directories currently installed.)
Preparing to unpack .../nasm_2.10.09-1_amd64.deb ...
Unpacking nasm (2.10.09-1) ...
dpkg: error processing archive /var/cache/apt/archive/nasm_2.10.09-1_amd64.deb (--unpack):
trying to overwrite '/usr/share/man/man1/ldrdf.1.gz', which is also in package nasm-rdoff 2.11.08-2
dpkg-deb: error: subprocess paste was killed by signal (Broken pipe)
Processing triggers for man-db (2.6.7.1-1ubuntu1) ...
Errors were encountered while processing:
/var/cache/apt/archives/nasm_2.10.09-1_amd64.deb
Error in function:
答案1
在打开的终端中运行以下命令:
sudo apt-get clean
sudo apt-get remove nasm-rdoff
sudo apt-get install nasm
如果它给你带来麻烦,请运行以下命令:
sudo apt-get clean
sudo dpkg -r nasm-rdoff
sudo apt-get install nasm
看起来 nasm 提供了 RDOFF 工具,所以可能不需要 nasm-rdoff。