尝试更新 Ubuntu 14.04 LTS 错误代码 (1)

尝试更新 Ubuntu 14.04 LTS 错误代码 (1)

我正在尝试将 Ubuntu 升级到较新的版本,但是当我运行时:

$ sudo apt update
$ sudo apt upgrade
$ sudo apt dist-upgrade

错误信息是:

Do you want to continue? [Y/n] y
(Reading database ... 292477 files and directories currently installed.)
Preparing to unpack .../gdb_7.7.1-0ubuntu5~14.04.3_i386.deb ...
Unpacking gdb (7.7.1-0ubuntu5~14.04.3) over (7.7-0ubuntu3.1) ...
dpkg: error processing archive /var/cache/apt/archives/gdb_7.7.1-0ubuntu5~14.04.3_i386.deb (--unpack):
trying to overwrite '/usr/share/man/man1/gdb.1.gz', which is also in package gdb-arm-none-eabi 7.6.50.20131218-0ubuntu1+1
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_7.7.1-0ubuntu5~14.04.3_i386.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)

有人能帮助我吗?提前致谢。

彼得

答案1

问题出在一个名为“GNU-Debugger”的软件包上。删除它后,一切正常。

相关内容