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

** Changed in: golang-juju-loggo (Ubuntu)
   Importance: Undecided => High

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1680442

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

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/golang-juju-loggo/+bug/1680442/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to