E: Malformed entry 7 in list file /etc/apt/sources.list.d/google-cloud-sdk.list (Suite) E: The list of...












0















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 run gcloud 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


`










share|improve this question

























  • 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
















0















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 run gcloud 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


`










share|improve this question

























  • 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














0












0








0








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 run gcloud 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


`










share|improve this question
















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 run gcloud 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






share|improve this question















share|improve this question













share|improve this question




share|improve this question








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



















  • 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












1 Answer
1






active

oldest

votes


















0














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





share|improve this answer























    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
    });


    }
    });














    draft saved

    draft discarded


















    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









    0














    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





    share|improve this answer




























      0














      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





      share|improve this answer


























        0












        0








        0







        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





        share|improve this answer













        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






        share|improve this answer












        share|improve this answer



        share|improve this answer










        answered Jan 7 at 7:21









        MFinderMFinder

        13




        13






























            draft saved

            draft discarded




















































            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.




            draft saved


            draft discarded














            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





















































            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







            Popular posts from this blog

            Monofisismo

            Angular Downloading a file using contenturl with Basic Authentication

            Olmecas