Error while installing go language
I'm following the steps from this link to install go.
sudo apt-get install python-software-properties # 12.04
sudo add-apt-repository ppa:duh/golang
sudo apt-get update
sudo apt-get install golang
But for add-apt-repository
, I am getting the following error:
$ sudo add-apt-repository ppa:duh/golang
Cannot add PPA: 'ppa:duh/golang'.
Please check that the PPA name or format is correct.
after googling, I found adding -E worked: sudo -E add-apt-repository ppa:duh/golang
but I am getting the following error for apt-get update
:
W: GPG error: downloads-distro.mongodb.org dist Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 9ECBEC467F0CEB10
W: Failed to fetch <url>/Packages 404 Not Found
W: Failed to fetch <url>//Packages 404 Not Found
E: Some index files failed to download. They have been ignored, or old ones used instead.
where url = http://ppa.launchpad.net/duh/golang/ubuntu/dists/trusty/main/binary-i386/Packages
14.04 golang
add a comment |
I'm following the steps from this link to install go.
sudo apt-get install python-software-properties # 12.04
sudo add-apt-repository ppa:duh/golang
sudo apt-get update
sudo apt-get install golang
But for add-apt-repository
, I am getting the following error:
$ sudo add-apt-repository ppa:duh/golang
Cannot add PPA: 'ppa:duh/golang'.
Please check that the PPA name or format is correct.
after googling, I found adding -E worked: sudo -E add-apt-repository ppa:duh/golang
but I am getting the following error for apt-get update
:
W: GPG error: downloads-distro.mongodb.org dist Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 9ECBEC467F0CEB10
W: Failed to fetch <url>/Packages 404 Not Found
W: Failed to fetch <url>//Packages 404 Not Found
E: Some index files failed to download. They have been ignored, or old ones used instead.
where url = http://ppa.launchpad.net/duh/golang/ubuntu/dists/trusty/main/binary-i386/Packages
14.04 golang
add a comment |
I'm following the steps from this link to install go.
sudo apt-get install python-software-properties # 12.04
sudo add-apt-repository ppa:duh/golang
sudo apt-get update
sudo apt-get install golang
But for add-apt-repository
, I am getting the following error:
$ sudo add-apt-repository ppa:duh/golang
Cannot add PPA: 'ppa:duh/golang'.
Please check that the PPA name or format is correct.
after googling, I found adding -E worked: sudo -E add-apt-repository ppa:duh/golang
but I am getting the following error for apt-get update
:
W: GPG error: downloads-distro.mongodb.org dist Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 9ECBEC467F0CEB10
W: Failed to fetch <url>/Packages 404 Not Found
W: Failed to fetch <url>//Packages 404 Not Found
E: Some index files failed to download. They have been ignored, or old ones used instead.
where url = http://ppa.launchpad.net/duh/golang/ubuntu/dists/trusty/main/binary-i386/Packages
14.04 golang
I'm following the steps from this link to install go.
sudo apt-get install python-software-properties # 12.04
sudo add-apt-repository ppa:duh/golang
sudo apt-get update
sudo apt-get install golang
But for add-apt-repository
, I am getting the following error:
$ sudo add-apt-repository ppa:duh/golang
Cannot add PPA: 'ppa:duh/golang'.
Please check that the PPA name or format is correct.
after googling, I found adding -E worked: sudo -E add-apt-repository ppa:duh/golang
but I am getting the following error for apt-get update
:
W: GPG error: downloads-distro.mongodb.org dist Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 9ECBEC467F0CEB10
W: Failed to fetch <url>/Packages 404 Not Found
W: Failed to fetch <url>//Packages 404 Not Found
E: Some index files failed to download. They have been ignored, or old ones used instead.
where url = http://ppa.launchpad.net/duh/golang/ubuntu/dists/trusty/main/binary-i386/Packages
14.04 golang
14.04 golang
edited 4 hours ago
Pablo Bianchi
2,90521535
2,90521535
asked Sep 3 '15 at 22:43
RedFoxRedFox
1083
1083
add a comment |
add a comment |
1 Answer
1
active
oldest
votes
It complains about "Cannot add PPA" at the very beginning because this package is not available for Trusty 14.04, see the "published packages" here of the PPA's page
(It works fine on my 12.04)
On 14.04 there's an official package called golang-go
You can just install it with:sudo apt-get install golang-go
@RedFox Good to know it works for you, you can close this question by clicking on the checkmark on this answer to accept it, thanks.
– P.-H. Lin
Sep 10 '15 at 7:16
@Lin, it won't let me close it or mark it as answer. I don't have enough reputation.
– RedFox
Sep 11 '15 at 23:42
add a comment |
Your Answer
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "89"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});
function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});
}
});
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%2f669004%2ferror-while-installing-go-language%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
It complains about "Cannot add PPA" at the very beginning because this package is not available for Trusty 14.04, see the "published packages" here of the PPA's page
(It works fine on my 12.04)
On 14.04 there's an official package called golang-go
You can just install it with:sudo apt-get install golang-go
@RedFox Good to know it works for you, you can close this question by clicking on the checkmark on this answer to accept it, thanks.
– P.-H. Lin
Sep 10 '15 at 7:16
@Lin, it won't let me close it or mark it as answer. I don't have enough reputation.
– RedFox
Sep 11 '15 at 23:42
add a comment |
It complains about "Cannot add PPA" at the very beginning because this package is not available for Trusty 14.04, see the "published packages" here of the PPA's page
(It works fine on my 12.04)
On 14.04 there's an official package called golang-go
You can just install it with:sudo apt-get install golang-go
@RedFox Good to know it works for you, you can close this question by clicking on the checkmark on this answer to accept it, thanks.
– P.-H. Lin
Sep 10 '15 at 7:16
@Lin, it won't let me close it or mark it as answer. I don't have enough reputation.
– RedFox
Sep 11 '15 at 23:42
add a comment |
It complains about "Cannot add PPA" at the very beginning because this package is not available for Trusty 14.04, see the "published packages" here of the PPA's page
(It works fine on my 12.04)
On 14.04 there's an official package called golang-go
You can just install it with:sudo apt-get install golang-go
It complains about "Cannot add PPA" at the very beginning because this package is not available for Trusty 14.04, see the "published packages" here of the PPA's page
(It works fine on my 12.04)
On 14.04 there's an official package called golang-go
You can just install it with:sudo apt-get install golang-go
answered Sep 4 '15 at 3:21
P.-H. LinP.-H. Lin
2,4431918
2,4431918
@RedFox Good to know it works for you, you can close this question by clicking on the checkmark on this answer to accept it, thanks.
– P.-H. Lin
Sep 10 '15 at 7:16
@Lin, it won't let me close it or mark it as answer. I don't have enough reputation.
– RedFox
Sep 11 '15 at 23:42
add a comment |
@RedFox Good to know it works for you, you can close this question by clicking on the checkmark on this answer to accept it, thanks.
– P.-H. Lin
Sep 10 '15 at 7:16
@Lin, it won't let me close it or mark it as answer. I don't have enough reputation.
– RedFox
Sep 11 '15 at 23:42
@RedFox Good to know it works for you, you can close this question by clicking on the checkmark on this answer to accept it, thanks.
– P.-H. Lin
Sep 10 '15 at 7:16
@RedFox Good to know it works for you, you can close this question by clicking on the checkmark on this answer to accept it, thanks.
– P.-H. Lin
Sep 10 '15 at 7:16
@Lin, it won't let me close it or mark it as answer. I don't have enough reputation.
– RedFox
Sep 11 '15 at 23:42
@Lin, it won't let me close it or mark it as answer. I don't have enough reputation.
– RedFox
Sep 11 '15 at 23:42
add a comment |
Thanks for contributing an answer to Ask Ubuntu!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
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%2f669004%2ferror-while-installing-go-language%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