package gdb-msp430 (not installed) failed to install/upgrade: trying to overwrite '/usr/share/gdb/python/gdb/__init__.py', which is also in package gdb 7.4-2012.04-0ubuntu1

Bug #998571 reported by Jordan Wright
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
gdb-msp430 (Ubuntu)
New
Undecided
Unassigned

Bug Description

Running ubuntu 12.04 LTS

I tried to install gdb-msp430 and got and error

jordan@J-Ubuntu-D610:~$ sudo apt-get install gcc-msp430 gdb-msp430
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following extra packages will be installed:
  binutils-msp430
The following NEW packages will be installed:
  binutils-msp430 gcc-msp430 gdb-msp430
0 upgraded, 3 newly installed, 0 to remove and 0 not upgraded.
Need to get 17.4 MB of archives.
After this operation, 43.0 MB of additional disk space will be used.
Do you want to continue [Y/n]? y
Get:1 http://us.archive.ubuntu.com/ubuntu/ precise/universe binutils-msp430 i386 2.22~msp20110716p5-1 [4,467 kB]
Get:2 http://us.archive.ubuntu.com/ubuntu/ precise/universe gcc-msp430 i386 4.5.3~mspgcc-20110716-4 [9,571 kB]
Get:3 http://us.archive.ubuntu.com/ubuntu/ precise/universe gdb-msp430 i386 7.2~mspgcc-7.2-20110612-1ubuntu1 [3,315 kB]
Fetched 17.4 MB in 7s (2,339 kB/s)
Selecting previously unselected package binutils-msp430.
(Reading database ... 170634 files and directories currently installed.)
Unpacking binutils-msp430 (from .../binutils-msp430_2.22~msp20110716p5-1_i386.deb) ...
Selecting previously unselected package gcc-msp430.
Unpacking gcc-msp430 (from .../gcc-msp430_4.5.3~mspgcc-20110716-4_i386.deb) ...
Selecting previously unselected package gdb-msp430.
Unpacking gdb-msp430 (from .../gdb-msp430_7.2~mspgcc-7.2-20110612-1ubuntu1_i386.deb) ...
dpkg: error processing /var/cache/apt/archives/gdb-msp430_7.2~mspgcc-7.2-20110612-1ubuntu1_i386.deb (--unpack):
 trying to overwrite '/usr/share/gdb/python/gdb/__init__.py', which is also in package gdb 7.4-2012.04-0ubuntu1
Processing triggers for man-db ...
Errors were encountered while processing:
 /var/cache/apt/archives/gdb-msp430_7.2~mspgcc-7.2-20110612-1ubuntu1_i386.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
jordan@J-Ubuntu-D610:~$ sudo apt-get install gcc-msp430 gdb-msp430
Reading package lists... Done
Building dependency tree
Reading state information... Done
gcc-msp430 is already the newest version.
The following NEW packages will be installed:
  gdb-msp430
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
2 not fully installed or removed.
Need to get 0 B/3,315 kB of archives.
After this operation, 7,397 kB of additional disk space will be used.
Do you want to continue [Y/n]? y
(Reading database ... 170940 files and directories currently installed.)
Unpacking gdb-msp430 (from .../gdb-msp430_7.2~mspgcc-7.2-20110612-1ubuntu1_i386.deb) ...
dpkg: error processing /var/cache/apt/archives/gdb-msp430_7.2~mspgcc-7.2-20110612-1ubuntu1_i386.deb (--unpack):
 trying to overwrite '/usr/share/gdb/python/gdb/__init__.py', which is also in package gdb 7.4-2012.04-0ubuntu1
Processing triggers for man-db ...
Errors were encountered while processing:
 /var/cache/apt/archives/gdb-msp430_7.2~mspgcc-7.2-20110612-1ubuntu1_i386.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)

ProblemType: Package
DistroRelease: Ubuntu 12.04
Package: gdb-msp430 (not installed)
ProcVersionSignature: Ubuntu 3.2.0-23.36-generic-pae 3.2.14
Uname: Linux 3.2.0-23-generic-pae i686
ApportVersion: 2.0.1-0ubuntu7
Architecture: i386
Date: Sat May 12 17:54:59 2012
DuplicateSignature:
 Unpacking gdb-msp430 (from .../gdb-msp430_7.2~mspgcc-7.2-20110612-1ubuntu1_i386.deb) ...
 dpkg: error processing /var/cache/apt/archives/gdb-msp430_7.2~mspgcc-7.2-20110612-1ubuntu1_i386.deb (--unpack):
  trying to overwrite '/usr/share/gdb/python/gdb/__init__.py', which is also in package gdb 7.4-2012.04-0ubuntu1
ErrorMessage: trying to overwrite '/usr/share/gdb/python/gdb/__init__.py', which is also in package gdb 7.4-2012.04-0ubuntu1
InstallationMedia: Ubuntu 12.04 LTS "Precise Pangolin" - Release i386 (20120423)
SourcePackage: gdb-msp430
Title: package gdb-msp430 (not installed) failed to install/upgrade: trying to overwrite '/usr/share/gdb/python/gdb/__init__.py', which is also in package gdb 7.4-2012.04-0ubuntu1
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
Jordan Wright (jmw284) wrote :
tags: removed: need-duplicate-check
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.