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.
It appears that the file: gocode/ src/github. com/juju/ loggo/formatter _test.go' github- juju-loggo- dev' and juju-loggo- dev' [1].
'/usr/share/
Is provided by both 'golang-
'golang-
A simple test case is:
lxc launch ubuntu-daily:zesty z github- juju-loggo- dev golang- juju-loggo- dev
lxc exec z bash
apt update
apt install golang-
To which you will get a message similar to: dpkg-install- qlSp4o/ 42-golang- github- juju-loggo- dev_0.0~ git20150527. 0.8477fc9- 1_all.deb (--unpack): gocode/ src/github. com/juju/ loggo/package_ test.go' , which is also in package golang- juju-loggo- dev 0.0~git20150318 -0ubuntu1
dpkg: error processing archive /tmp/apt-
trying to overwrite '/usr/share/
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