golang-github-juju-loggo-dev and golang-juju-loggo-dev conflict

Bug #1680442 reported by csakalinuxjo
10
This bug affects 1 person
Affects Status Importance Assigned to Milestone
golang-github-juju-loggo (Ubuntu)
Confirmed
Undecided
Unassigned
golang-juju-loggo (Ubuntu)
Confirmed
High
Unassigned

Bug Description

package golang-juju-loggo-dev (not installed) failed to install/upgrade: a(z) „/usr/share/gocode/src/github.com/juju/loggo/formatter_test.go” felülírási kísérlete, amely a(z) golang-github-juju-loggo-dev 0.0~git20150527.0.8477fc9-1 csomagban is szerepel

ProblemType: Package
DistroRelease: Ubuntu 17.04
Package: golang-juju-loggo-dev (not installed)
ProcVersionSignature: Ubuntu 4.10.0-15.17-generic 4.10.5
Uname: Linux 4.10.0-15-generic x86_64
ApportVersion: 2.20.4-0ubuntu3
Architecture: amd64
Date: Thu Apr 6 13:47:18 2017
ErrorMessage: a(z) „/usr/share/gocode/src/github.com/juju/loggo/formatter_test.go” felülírási kísérlete, amely a(z) golang-github-juju-loggo-dev 0.0~git20150527.0.8477fc9-1 csomagban is szerepel
RelatedPackageVersions:
 dpkg 1.18.10ubuntu1
 apt 1.4
SourcePackage: golang-juju-loggo
Title: package golang-juju-loggo-dev (not installed) failed to install/upgrade: a(z) „/usr/share/gocode/src/github.com/juju/loggo/formatter_test.go” felülírási kísérlete, amely a(z) golang-github-juju-loggo-dev 0.0~git20150527.0.8477fc9-1 csomagban is szerepel
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
csakalinuxjo (csakalinuxjo) wrote :
Revision history for this message
Joshua Powers (powersj) wrote :

From log (translated as best as I could find):

dpkg: Error while processing the archive: /tmp/apt-dpkg-install-dKWy7w/643-golang-juju-loggo-dev_0.0~git20150318-0ubuntu1_all.deb (--unpack):
 a(z) „/usr/share/gocode/src/github.com/juju/loggo/formatter_test.go” Override attempt to
 a(z) golang-github-juju-loggo-dev 0.0~git20150527.0.8477fc9-1
also included in package

Revision history for this message
Joshua Powers (powersj) wrote :

It appears that the file:
'/usr/share/gocode/src/github.com/juju/loggo/formatter_test.go'
Is provided by both 'golang-github-juju-loggo-dev' and
'golang-juju-loggo-dev' [1].

A simple test case is:

lxc launch ubuntu-daily:zesty z
lxc exec z bash
apt update
apt install golang-github-juju-loggo-dev golang-juju-loggo-dev

To which you will get a message similar to:
dpkg: error processing archive /tmp/apt-dpkg-install-qlSp4o/42-golang-github-juju-loggo-dev_0.0~git20150527.0.8477fc9-1_all.deb (--unpack):
 trying to overwrite '/usr/share/gocode/src/github.com/juju/loggo/package_test.go', which is also in package golang-juju-loggo-dev 0.0~git20150318-0ubuntu1

At the very least these packages should conflict with other another to prevent this error from occurring.

[1] http://packages.ubuntu.com/search?suite=zesty&arch=any&searchon=contents&keywords=%2Fusr%2Fshare%2Fgocode%2Fsrc%2Fgithub.com%2Fjuju%2Floggo%2Fformatter_test.go

Changed in golang-juju-loggo (Ubuntu):
status: New → Confirmed
importance: Undecided → High
Joshua Powers (powersj)
summary: - package golang-juju-loggo-dev (not installed) failed to install/upgrade:
- a(z) „/usr/share/gocode/src/github.com/juju/loggo/formatter_test.go”
- felülírási kísérlete, amely a(z) golang-github-juju-loggo-dev
- 0.0~git20150527.0.8477fc9-1 csomagban is szerepel
+ golang-github-juju-loggo-dev and golang-juju-loggo-dev conflict
Revision history for this message
Launchpad Janitor (janitor) wrote :

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

Changed in golang-github-juju-loggo (Ubuntu):
status: New → Confirmed
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.