gdb install fail

Asked by pmeerw

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_amd64.deb (--unpack):
 trying to overwrite '/usr/share/man/man1/gdb.1.gz', which is also in package gdb 7.7-0ubuntu3.2
dpkg-deb: error: subprocess paste was killed by signal (Broken pipe)

Question information

Language:
English Edit question
Status:
Answered
For:
GNU Arm Embedded Toolchain Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Terry Guo (terry.guo) said :
#1

I suspect you are using package with same name but released by Ubuntu because we don't provide separated gdb package. Suggest you to read this https://bugs.launchpad.net/gcc-arm-embedded/+bug/1309060. Just to let you know, we are working with Debian to try to consolidate the two tool chains.

Revision history for this message
Thomas Preud'homme (thomas-preudhomme) said :
#2

In addition to what Terry said, note that this particular bug is already fixed in the version from Utopic Unicorn. So you can either wait for Unicorn to be released and upgrade or try to enable the Unicorn repositories now and upgrade just gdb-arm-none-eabi.

To do this, add lines for Unicorn in your sources.list, run sudo apt-get update and then sudo apt-get install gdb-arm-none-eabi. Hopefully it doesn't need more recent versions of the libraries. If you see it tries to upgrade something else than the toolchain, I suggest that you cancel this operation, remote the Unicorn lines from the sources.list, rerun sudo apt-get update and then wait for Unicorn to be released.

Can you help with this problem?

Provide an answer of your own, or ask pmeerw for more information if necessary.

To post a message you must log in.