[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
Julien
1267680 at bugs.launchpad.net
Fri Jun 17 18:13:17 UTC 2016
I do not recommend Overwrite as the work-around. Use dpkg-divert to
create a diversion (read: move the files in the way, don't overwrite
them!).
Here's how to move the files from arm-none-eabi-gdb to more appropriate locations:
sudo dpkg-divert --package gdb --divert /usr/share/man/man1/arm-none-eabi-gdbserver.1.gz --rename /usr/share/man/man1/gdbserver.1.gz
sudo dpkg-divert --package gdb --divert /usr/share/man/man1/arm-none-eabi-gdb.1.gz --rename /usr/share/man/man1/gdb.1.gz
Here's how to revert if you don't like the diversion:
sudo dpkg-divert --package gdb --remove /usr/share/man/man1/arm-none-eabi-gdb.1.gz
sudo dpkg-divert --package gdb --remove /usr/share/man/man1/arm-none-eabi-gdbserver.1.gz
Consider what other diversions are already in place with dpkg-divert
--list.
--
You received this bug notification because you are a member of Ubuntu
Sponsors Team, which is subscribed to the bug report.
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-arm-none-eabi package in Ubuntu:
Fix Released
Bug description:
[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-arm-none-eabi/+bug/1267680/+subscriptions
More information about the Ubuntu-sponsors
mailing list