Manually installed go, auto-update in conflict
up vote
0
down vote
favorite
I have this version of go installed:
$ go version
go version go1.10.3 linux/amd64
My sources list contains:
$ cat /etc/apt/sources.list.d/gophers-ubuntu-archive-bionic.list
deb http://ppa.launchpad.net/gophers/archive/ubuntu bionic main
# deb-src http://ppa.launchpad.net/gophers/archive/ubuntu bionic main
When I do any package updates, I see:
The following packages will be upgraded:
golang-1.10-go
After this operation, 17.4 kB disk space will be freed.
Do you want to continue? [Y/n]
(Reading database ... 377323 files and directories currently installed.)
Preparing to unpack .../golang-1.10-go_1.10.4-2ubuntu1~18.04.1_amd64.deb ...
Unpacking golang-1.10-go (1.10.4-2ubuntu1~18.04.1) over (1.10.1-1ubuntu2) ...
dpkg: error processing archive /var/cache/apt/archives/golang-1.10-go_1.10.4-2ubuntu1~18.04.1_amd64.deb (--unpack):
trying to overwrite '/usr/lib/go-1.10/src', which is also in package golang-1.10-race-detector-runtime 0.0+svn285455-0ubuntu1
Errors were encountered while processing:
/var/cache/apt/archives/golang-1.10-go_1.10.4-2ubuntu1~18.04.1_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
What is going wrong, what is misconfigured, and how can I make the update succeed?
apt 18.04 package-management ppa golang
add a comment |
up vote
0
down vote
favorite
I have this version of go installed:
$ go version
go version go1.10.3 linux/amd64
My sources list contains:
$ cat /etc/apt/sources.list.d/gophers-ubuntu-archive-bionic.list
deb http://ppa.launchpad.net/gophers/archive/ubuntu bionic main
# deb-src http://ppa.launchpad.net/gophers/archive/ubuntu bionic main
When I do any package updates, I see:
The following packages will be upgraded:
golang-1.10-go
After this operation, 17.4 kB disk space will be freed.
Do you want to continue? [Y/n]
(Reading database ... 377323 files and directories currently installed.)
Preparing to unpack .../golang-1.10-go_1.10.4-2ubuntu1~18.04.1_amd64.deb ...
Unpacking golang-1.10-go (1.10.4-2ubuntu1~18.04.1) over (1.10.1-1ubuntu2) ...
dpkg: error processing archive /var/cache/apt/archives/golang-1.10-go_1.10.4-2ubuntu1~18.04.1_amd64.deb (--unpack):
trying to overwrite '/usr/lib/go-1.10/src', which is also in package golang-1.10-race-detector-runtime 0.0+svn285455-0ubuntu1
Errors were encountered while processing:
/var/cache/apt/archives/golang-1.10-go_1.10.4-2ubuntu1~18.04.1_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
What is going wrong, what is misconfigured, and how can I make the update succeed?
apt 18.04 package-management ppa golang
add a comment |
up vote
0
down vote
favorite
up vote
0
down vote
favorite
I have this version of go installed:
$ go version
go version go1.10.3 linux/amd64
My sources list contains:
$ cat /etc/apt/sources.list.d/gophers-ubuntu-archive-bionic.list
deb http://ppa.launchpad.net/gophers/archive/ubuntu bionic main
# deb-src http://ppa.launchpad.net/gophers/archive/ubuntu bionic main
When I do any package updates, I see:
The following packages will be upgraded:
golang-1.10-go
After this operation, 17.4 kB disk space will be freed.
Do you want to continue? [Y/n]
(Reading database ... 377323 files and directories currently installed.)
Preparing to unpack .../golang-1.10-go_1.10.4-2ubuntu1~18.04.1_amd64.deb ...
Unpacking golang-1.10-go (1.10.4-2ubuntu1~18.04.1) over (1.10.1-1ubuntu2) ...
dpkg: error processing archive /var/cache/apt/archives/golang-1.10-go_1.10.4-2ubuntu1~18.04.1_amd64.deb (--unpack):
trying to overwrite '/usr/lib/go-1.10/src', which is also in package golang-1.10-race-detector-runtime 0.0+svn285455-0ubuntu1
Errors were encountered while processing:
/var/cache/apt/archives/golang-1.10-go_1.10.4-2ubuntu1~18.04.1_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
What is going wrong, what is misconfigured, and how can I make the update succeed?
apt 18.04 package-management ppa golang
I have this version of go installed:
$ go version
go version go1.10.3 linux/amd64
My sources list contains:
$ cat /etc/apt/sources.list.d/gophers-ubuntu-archive-bionic.list
deb http://ppa.launchpad.net/gophers/archive/ubuntu bionic main
# deb-src http://ppa.launchpad.net/gophers/archive/ubuntu bionic main
When I do any package updates, I see:
The following packages will be upgraded:
golang-1.10-go
After this operation, 17.4 kB disk space will be freed.
Do you want to continue? [Y/n]
(Reading database ... 377323 files and directories currently installed.)
Preparing to unpack .../golang-1.10-go_1.10.4-2ubuntu1~18.04.1_amd64.deb ...
Unpacking golang-1.10-go (1.10.4-2ubuntu1~18.04.1) over (1.10.1-1ubuntu2) ...
dpkg: error processing archive /var/cache/apt/archives/golang-1.10-go_1.10.4-2ubuntu1~18.04.1_amd64.deb (--unpack):
trying to overwrite '/usr/lib/go-1.10/src', which is also in package golang-1.10-race-detector-runtime 0.0+svn285455-0ubuntu1
Errors were encountered while processing:
/var/cache/apt/archives/golang-1.10-go_1.10.4-2ubuntu1~18.04.1_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
What is going wrong, what is misconfigured, and how can I make the update succeed?
apt 18.04 package-management ppa golang
apt 18.04 package-management ppa golang
asked Nov 23 at 16:56
Mittenchops
69941533
69941533
add a comment |
add a comment |
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1095440%2fmanually-installed-go-auto-update-in-conflict%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown