我想安装arm-none-eabi-gcc
,但遇到了上述错误。我知道这个问题很普遍,我需要阅读该消息上方的行,但在分析错误行后,我仍然不知道该怎么做才能解决这个问题。以下是错误行,也许有人可以帮助我。
Unpacking gdb-arm-none-eabi (7.6.50.20131218-0ubuntu1+1) ...
dpkg: error processing archive /var/cache/apt/archives/gdb-arm-none-eabi_7.6.50.20131218-0ubuntu1+1_i386.deb (--unpack):
trying to overwrite '/usr/share/man/man1/gdb.1.gz', which is also in package gdb 7.7.1-0ubuntu5~14.04.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/gdb-arm-none-eabi_7.6.50.20131218-0ubuntu1+1_i386.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)