← Back to team overview

touch-packages team mailing list archive

[Bug 1267680] Re: package gdb-arm-none-eabi (not installed) failed to install/upgrade: trying to overwrite '/usr/share/man/man1/gdb.1.gz', which is also in package gdb 7.6.50.20131218-0ubuntu1

 

> Did it build the older version of gdb before you applied your patch?

I didn't, but I believe it would have gotten much the same result.
Looking at the publishing history, I found version "6" as an example:
https://launchpad.net/ubuntu/+source/gdb-arm-none-eabi/6. So, when I
look at what binary packages it produced, they are actually called "gdb-
arm-none-eabi 7.8-0ubuntu1+6"
(https://launchpad.net/ubuntu/wily/+package/gdb-arm-none-eabi).

Like I mentioned above, I believe this package picks up the first part
of the version number from the gdb package when building. It is
unfortunately not clear to me exactly how this happens. Furthermore, I'm
somewhat worried that in doing so, my tiny little patch has actually
pulled in a ton of other changes when it actually built and the version
number was tweaked.

>It looks like the version in the new changelog entry should probably be
`2` instead of having an ubuntu prefix, since the prefix is already
built into the version number.

Well, the extra "ubuntu" wasn't there when I wrote it. :P In more
seriousness, I'm quite sure what the appropriate version number here is.
Appending ubuntuX is customary when adding a patch in Ubuntu, though I
also considered .1 (I'll explain that one more below).

I can't really use 2, because that version exists upstream. If you look
at the changelog at http://anonscm.debian.org/cgit/collab-maint/gdb-arm-
none-eabi.git/log/, one of the lines is tagged debian/1. Above it is two
(or three, if you include the changelog entry) commits, which are then
tagged as debian/2. This means that version 2 exists and it contains of
those two patches since version 1. Since I've only taken one of the
patches I can't call it version 2 without being confusing and probably
misleading since people would also expect the other patch to be present
if they read this changelog. So in reality, it's simply version 1 "plus
some extra stuff", which is why I also considered version 1.1 to
indicate it has slightly more than version 1, but it isn't a straight
import of a newer version.

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to gdb in Ubuntu.
https://bugs.launchpad.net/bugs/1267680

Title:
  package gdb-arm-none-eabi (not installed) failed to install/upgrade:
  trying to overwrite '/usr/share/man/man1/gdb.1.gz', which is also in
  package gdb 7.6.50.20131218-0ubuntu1

Status in gdb package in Ubuntu:
  Confirmed
Status in gdb-arm-none-eabi package in Ubuntu:
  Confirmed

Bug description:
  Was makin sure every thing worked and install properly for ya peeps
  from Synaptic Package Manager and found a few errors in the process
  got 2 uploaded along with this report also uploaded info to the "error
  tracker" which is named:

  077cac62-1be5-11e3-88e6-e4115b0f8a4a

  which is what i also got while installing hope this helps ya =) peace


  SRU

  [Impact]
  Currently it is not possible to install this package alongside gdb. See also comments #8 and #9.

  [Test case]
  Attempt to install `gdb-arm-none-eabi` where `gdb` is already installed.

  [Regression potential]
  The patch used is one available in a newer version of the package.
  There is some confusion regarding the version number and how much changes has actually gone into this rebuild, see comment #9.

  ProblemType: Package
  DistroRelease: Ubuntu 14.04
  Package: gdb-arm-none-eabi (not installed)
  Uname: Linux 3.13.0-999-generic x86_64
  NonfreeKernelModules: fglrx
  ApportVersion: 2.12.7-0ubuntu6
  Architecture: amd64
  Date: Thu Jan  9 21:39:21 2014
  DuplicateSignature: package:gdb-arm-none-eabi:(not installed):trying to overwrite '/usr/share/man/man1/gdb.1.gz', which is also in package gdb 7.6.50.20131218-0ubuntu1
  ErrorMessage: trying to overwrite '/usr/share/man/man1/gdb.1.gz', which is also in package gdb 7.6.50.20131218-0ubuntu1
  InstallationDate: Installed on 2013-12-10 (30 days ago)
  InstallationMedia: Ubuntu 14.04 LTS "Trusty Tahr" - Alpha amd64 (20131209)
  SourcePackage: gdb-arm-none-eabi
  Title: package gdb-arm-none-eabi (not installed) failed to install/upgrade: trying to overwrite '/usr/share/man/man1/gdb.1.gz', which is also in package gdb 7.6.50.20131218-0ubuntu1
  UpgradeStatus: No upgrade log present (probably fresh install)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/gdb/+bug/1267680/+subscriptions