gdb-arm-none-eabi's manpage clashes with gdb's manpage

Bug #1320305 reported by Brendan
22
This bug affects 4 people
Affects Status Importance Assigned to Milestone
gdb-arm-none-eabi (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

When installing gdb-arm-none-eabi with gdb already installed, there is an error when trying install the manpage:

$ sudo apt-get install gdb-arm-none-eabi
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following NEW packages will be installed
  gdb-arm-none-eabi
0 to upgrade, 1 to newly install, 0 to remove and 21 not to upgrade.
Need to get 2,480 kB of archives.
After this operation, 6,544 kB of additional disk space will be used.
Get:1 http://gb.archive.ubuntu.com/ubuntu/ trusty/universe gdb-arm-none-eabi amd64 7.6.50.20131218-0ubuntu1+1 [2,480 kB]
Fetched 2,480 kB in 0s (4,030 kB/s)
Selecting previously unselected package gdb-arm-none-eabi.
(Reading database ... 181605 files and directories currently installed.)
Preparing to unpack .../gdb-arm-none-eabi_7.6.50.20131218-0ubuntu1+1_amd64.deb ...
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
dpkg-deb: error: subprocess paste was killed by signal (Broken pipe)
Processing triggers for man-db (2.6.7.1-1) ...
Errors were encountered while processing:
 /var/cache/apt/archives/gdb-arm-none-eabi_7.6.50.20131218-0ubuntu1+1_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)

ProblemType: Bug
DistroRelease: Ubuntu 14.04
Package: gdb-arm-none-eabi (not installed)
ProcVersionSignature: Ubuntu 3.13.0-24.47-generic 3.13.9
Uname: Linux 3.13.0-24-generic x86_64
ApportVersion: 2.14.1-0ubuntu3
Architecture: amd64
Date: Fri May 16 18:09:40 2014
InstallationDate: Installed on 2014-05-15 (1 days ago)
InstallationMedia: Ubuntu 14.04 LTS "Trusty Tahr" - Release amd64 (20140417)
SourcePackage: gdb-arm-none-eabi
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
Brendan (bhenryj0117) wrote :
Revision history for this message
Brendan (bhenryj0117) wrote :

To clarify: When I say "gdb" in the report I mean GDB for a native target - that is for AMD64 target. gdb-arm-none-eabi is a cross-debugger: GDB for ARM targets (but still for AMD64 *hosts*!).

Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in gdb-arm-none-eabi (Ubuntu):
status: New → Confirmed
Revision history for this message
rew (r-e-wolff) wrote :

For those who land here like me:

Some more googling gave me this workaround.
```sudo apt-get -o Dpkg::Options::="--force-overwrite" install gdb-arm-none-eabi```

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.