E: Malformed entry 7 in list file /etc/apt/sources.list.d/google-cloud-sdk.list (Suite) E: The list of...
Getting this error when trying to sudo apt-get update. E: Malformed entry 7 in list file /etc/apt/sources.list.d/google-cloud-sdk.list (Suite)
E: The list of sources could not be read.
I tried to run sed to remove and no luck.
Please help.
Okay, after following the first 5 steps in the link: cloud.google.com/sdk/docs/quickstart-debian-ubuntu I received the following output:
Your Google Cloud SDK is configured and ready to use!
- Commands that require authentication will use cloud@postaprayer.org by default
- Commands will reference project
post-a-prayer
by default - Compute Engine commands will use region
us-west2
by default - Compute Engine commands will use zone
us-west2-a
by default
Run gcloud help config
to learn how to change individual settings
This gcloud configuration is called [postaprayerdns]. You can create additional configurations if you work with multiple accounts and/or projects.
Run gcloud topic configurations
to learn more.
Some things to try next:
- Run
gcloud --help
to see the Cloud Platform services you can interact with. And rungcloud help COMMAND
to get help on any gcloud command. - Run
gcloud topic --help
to learn about advanced features of the SDK like arg files and output formatting
Okay. I was able to get into the google-cloud-sdk.list file and edit it using sudo nano /etc/apt/sources.list.d/google-cloud-sdk.list
From there I edited the .list file and deleted line 7 (which stated clear)
I edited these instructions to solve this error: https://askubuntu.com/questions/332669/unable-to-edit-etc-apt-sources-list-file
sudo nano /etc/apt/sources.list.d/google-cloud-sdk.list
`
google-cloud-platform
|
show 3 more comments
Getting this error when trying to sudo apt-get update. E: Malformed entry 7 in list file /etc/apt/sources.list.d/google-cloud-sdk.list (Suite)
E: The list of sources could not be read.
I tried to run sed to remove and no luck.
Please help.
Okay, after following the first 5 steps in the link: cloud.google.com/sdk/docs/quickstart-debian-ubuntu I received the following output:
Your Google Cloud SDK is configured and ready to use!
- Commands that require authentication will use cloud@postaprayer.org by default
- Commands will reference project
post-a-prayer
by default - Compute Engine commands will use region
us-west2
by default - Compute Engine commands will use zone
us-west2-a
by default
Run gcloud help config
to learn how to change individual settings
This gcloud configuration is called [postaprayerdns]. You can create additional configurations if you work with multiple accounts and/or projects.
Run gcloud topic configurations
to learn more.
Some things to try next:
- Run
gcloud --help
to see the Cloud Platform services you can interact with. And rungcloud help COMMAND
to get help on any gcloud command. - Run
gcloud topic --help
to learn about advanced features of the SDK like arg files and output formatting
Okay. I was able to get into the google-cloud-sdk.list file and edit it using sudo nano /etc/apt/sources.list.d/google-cloud-sdk.list
From there I edited the .list file and deleted line 7 (which stated clear)
I edited these instructions to solve this error: https://askubuntu.com/questions/332669/unable-to-edit-etc-apt-sources-list-file
sudo nano /etc/apt/sources.list.d/google-cloud-sdk.list
`
google-cloud-platform
What did you do that led up to this error? cloud.google.com/sdk/docs/quickstart-debian-ubuntu
– John Hanley
Dec 30 '18 at 5:33
sudo apt-get update as well as any other commands to install anything. I recently upgraded to 18.04
– MFinder
Jan 1 at 10:44
I get the following when when entering $ sudo -H gedit /etc/apt/sources.list.d/google-cloud-sdk.list No protocol specified Unable to init server: Could not connect: Connection refused (gedit:28434): Gtk-WARNING **: 02:42:15.498: cannot open display: :0
– MFinder
Jan 1 at 10:44
I upgraded recently to 18.04 from 17.?.
– MFinder
Jan 5 at 6:36
Did you follow the steps in the document link that I added to my first comment?
– John Hanley
Jan 5 at 6:41
|
show 3 more comments
Getting this error when trying to sudo apt-get update. E: Malformed entry 7 in list file /etc/apt/sources.list.d/google-cloud-sdk.list (Suite)
E: The list of sources could not be read.
I tried to run sed to remove and no luck.
Please help.
Okay, after following the first 5 steps in the link: cloud.google.com/sdk/docs/quickstart-debian-ubuntu I received the following output:
Your Google Cloud SDK is configured and ready to use!
- Commands that require authentication will use cloud@postaprayer.org by default
- Commands will reference project
post-a-prayer
by default - Compute Engine commands will use region
us-west2
by default - Compute Engine commands will use zone
us-west2-a
by default
Run gcloud help config
to learn how to change individual settings
This gcloud configuration is called [postaprayerdns]. You can create additional configurations if you work with multiple accounts and/or projects.
Run gcloud topic configurations
to learn more.
Some things to try next:
- Run
gcloud --help
to see the Cloud Platform services you can interact with. And rungcloud help COMMAND
to get help on any gcloud command. - Run
gcloud topic --help
to learn about advanced features of the SDK like arg files and output formatting
Okay. I was able to get into the google-cloud-sdk.list file and edit it using sudo nano /etc/apt/sources.list.d/google-cloud-sdk.list
From there I edited the .list file and deleted line 7 (which stated clear)
I edited these instructions to solve this error: https://askubuntu.com/questions/332669/unable-to-edit-etc-apt-sources-list-file
sudo nano /etc/apt/sources.list.d/google-cloud-sdk.list
`
google-cloud-platform
Getting this error when trying to sudo apt-get update. E: Malformed entry 7 in list file /etc/apt/sources.list.d/google-cloud-sdk.list (Suite)
E: The list of sources could not be read.
I tried to run sed to remove and no luck.
Please help.
Okay, after following the first 5 steps in the link: cloud.google.com/sdk/docs/quickstart-debian-ubuntu I received the following output:
Your Google Cloud SDK is configured and ready to use!
- Commands that require authentication will use cloud@postaprayer.org by default
- Commands will reference project
post-a-prayer
by default - Compute Engine commands will use region
us-west2
by default - Compute Engine commands will use zone
us-west2-a
by default
Run gcloud help config
to learn how to change individual settings
This gcloud configuration is called [postaprayerdns]. You can create additional configurations if you work with multiple accounts and/or projects.
Run gcloud topic configurations
to learn more.
Some things to try next:
- Run
gcloud --help
to see the Cloud Platform services you can interact with. And rungcloud help COMMAND
to get help on any gcloud command. - Run
gcloud topic --help
to learn about advanced features of the SDK like arg files and output formatting
Okay. I was able to get into the google-cloud-sdk.list file and edit it using sudo nano /etc/apt/sources.list.d/google-cloud-sdk.list
From there I edited the .list file and deleted line 7 (which stated clear)
I edited these instructions to solve this error: https://askubuntu.com/questions/332669/unable-to-edit-etc-apt-sources-list-file
sudo nano /etc/apt/sources.list.d/google-cloud-sdk.list
`
google-cloud-platform
google-cloud-platform
edited Jan 7 at 7:17
MFinder
asked Dec 30 '18 at 5:21
MFinderMFinder
13
13
What did you do that led up to this error? cloud.google.com/sdk/docs/quickstart-debian-ubuntu
– John Hanley
Dec 30 '18 at 5:33
sudo apt-get update as well as any other commands to install anything. I recently upgraded to 18.04
– MFinder
Jan 1 at 10:44
I get the following when when entering $ sudo -H gedit /etc/apt/sources.list.d/google-cloud-sdk.list No protocol specified Unable to init server: Could not connect: Connection refused (gedit:28434): Gtk-WARNING **: 02:42:15.498: cannot open display: :0
– MFinder
Jan 1 at 10:44
I upgraded recently to 18.04 from 17.?.
– MFinder
Jan 5 at 6:36
Did you follow the steps in the document link that I added to my first comment?
– John Hanley
Jan 5 at 6:41
|
show 3 more comments
What did you do that led up to this error? cloud.google.com/sdk/docs/quickstart-debian-ubuntu
– John Hanley
Dec 30 '18 at 5:33
sudo apt-get update as well as any other commands to install anything. I recently upgraded to 18.04
– MFinder
Jan 1 at 10:44
I get the following when when entering $ sudo -H gedit /etc/apt/sources.list.d/google-cloud-sdk.list No protocol specified Unable to init server: Could not connect: Connection refused (gedit:28434): Gtk-WARNING **: 02:42:15.498: cannot open display: :0
– MFinder
Jan 1 at 10:44
I upgraded recently to 18.04 from 17.?.
– MFinder
Jan 5 at 6:36
Did you follow the steps in the document link that I added to my first comment?
– John Hanley
Jan 5 at 6:41
What did you do that led up to this error? cloud.google.com/sdk/docs/quickstart-debian-ubuntu
– John Hanley
Dec 30 '18 at 5:33
What did you do that led up to this error? cloud.google.com/sdk/docs/quickstart-debian-ubuntu
– John Hanley
Dec 30 '18 at 5:33
sudo apt-get update as well as any other commands to install anything. I recently upgraded to 18.04
– MFinder
Jan 1 at 10:44
sudo apt-get update as well as any other commands to install anything. I recently upgraded to 18.04
– MFinder
Jan 1 at 10:44
I get the following when when entering $ sudo -H gedit /etc/apt/sources.list.d/google-cloud-sdk.list No protocol specified Unable to init server: Could not connect: Connection refused (gedit:28434): Gtk-WARNING **: 02:42:15.498: cannot open display: :0
– MFinder
Jan 1 at 10:44
I get the following when when entering $ sudo -H gedit /etc/apt/sources.list.d/google-cloud-sdk.list No protocol specified Unable to init server: Could not connect: Connection refused (gedit:28434): Gtk-WARNING **: 02:42:15.498: cannot open display: :0
– MFinder
Jan 1 at 10:44
I upgraded recently to 18.04 from 17.?.
– MFinder
Jan 5 at 6:36
I upgraded recently to 18.04 from 17.?.
– MFinder
Jan 5 at 6:36
Did you follow the steps in the document link that I added to my first comment?
– John Hanley
Jan 5 at 6:41
Did you follow the steps in the document link that I added to my first comment?
– John Hanley
Jan 5 at 6:41
|
show 3 more comments
1 Answer
1
active
oldest
votes
Solved. Used Nano command to edit *.list file, deleted corrupt entry 7, and then saved.
Summary:
sudo nano /etc/apt/sources.list.d/google-cloud-sdk.list
From there I edited the .list file and deleted line 7 (which stated clear)
I edited these instructions to solve this error: https://askubuntu.com/questions/332669/unable-to-edit-etc-apt-sources-list-file
sudo nano /etc/apt/sources.list.d/google-cloud-sdk.list
add a comment |
Your Answer
StackExchange.ifUsing("editor", function () {
StackExchange.using("externalEditor", function () {
StackExchange.using("snippets", function () {
StackExchange.snippets.init();
});
});
}, "code-snippets");
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "1"
};
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%2fstackoverflow.com%2fquestions%2f53975458%2fe-malformed-entry-7-in-list-file-etc-apt-sources-list-d-google-cloud-sdk-list%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
Solved. Used Nano command to edit *.list file, deleted corrupt entry 7, and then saved.
Summary:
sudo nano /etc/apt/sources.list.d/google-cloud-sdk.list
From there I edited the .list file and deleted line 7 (which stated clear)
I edited these instructions to solve this error: https://askubuntu.com/questions/332669/unable-to-edit-etc-apt-sources-list-file
sudo nano /etc/apt/sources.list.d/google-cloud-sdk.list
add a comment |
Solved. Used Nano command to edit *.list file, deleted corrupt entry 7, and then saved.
Summary:
sudo nano /etc/apt/sources.list.d/google-cloud-sdk.list
From there I edited the .list file and deleted line 7 (which stated clear)
I edited these instructions to solve this error: https://askubuntu.com/questions/332669/unable-to-edit-etc-apt-sources-list-file
sudo nano /etc/apt/sources.list.d/google-cloud-sdk.list
add a comment |
Solved. Used Nano command to edit *.list file, deleted corrupt entry 7, and then saved.
Summary:
sudo nano /etc/apt/sources.list.d/google-cloud-sdk.list
From there I edited the .list file and deleted line 7 (which stated clear)
I edited these instructions to solve this error: https://askubuntu.com/questions/332669/unable-to-edit-etc-apt-sources-list-file
sudo nano /etc/apt/sources.list.d/google-cloud-sdk.list
Solved. Used Nano command to edit *.list file, deleted corrupt entry 7, and then saved.
Summary:
sudo nano /etc/apt/sources.list.d/google-cloud-sdk.list
From there I edited the .list file and deleted line 7 (which stated clear)
I edited these instructions to solve this error: https://askubuntu.com/questions/332669/unable-to-edit-etc-apt-sources-list-file
sudo nano /etc/apt/sources.list.d/google-cloud-sdk.list
answered Jan 7 at 7:21
MFinderMFinder
13
13
add a comment |
add a comment |
Thanks for contributing an answer to Stack Overflow!
- 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%2fstackoverflow.com%2fquestions%2f53975458%2fe-malformed-entry-7-in-list-file-etc-apt-sources-list-d-google-cloud-sdk-list%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
What did you do that led up to this error? cloud.google.com/sdk/docs/quickstart-debian-ubuntu
– John Hanley
Dec 30 '18 at 5:33
sudo apt-get update as well as any other commands to install anything. I recently upgraded to 18.04
– MFinder
Jan 1 at 10:44
I get the following when when entering $ sudo -H gedit /etc/apt/sources.list.d/google-cloud-sdk.list No protocol specified Unable to init server: Could not connect: Connection refused (gedit:28434): Gtk-WARNING **: 02:42:15.498: cannot open display: :0
– MFinder
Jan 1 at 10:44
I upgraded recently to 18.04 from 17.?.
– MFinder
Jan 5 at 6:36
Did you follow the steps in the document link that I added to my first comment?
– John Hanley
Jan 5 at 6:41