What is the correct output of cat /etc/apt/sources.list

The name of the pictureThe name of the pictureThe name of the pictureClash Royale CLAN TAG#URR8PPP


.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty margin-bottom:0;







up vote
3
down vote

favorite
1












I have ubuntu 12.04 lts and i need the correct output because i edited it because it wasn't working but it has only made it worse thank you for your help







share|improve this question



















  • Easier would be for you to provide yours and we tell you what is wrong (that way you do not need to wait for someone with 12.04 ;) )
    – Rinzwind
    Apr 3 '14 at 20:15






  • 1




    It will depend where you are as you will be using a server close to but I live in the UK and mine is here
    – Warren Hill
    Apr 3 '14 at 20:18






  • 1




    More or less the same with French mirrors: paste.ubuntu.com/7200373
    – Sylvain Pineau
    Apr 3 '14 at 20:21
















up vote
3
down vote

favorite
1












I have ubuntu 12.04 lts and i need the correct output because i edited it because it wasn't working but it has only made it worse thank you for your help







share|improve this question



















  • Easier would be for you to provide yours and we tell you what is wrong (that way you do not need to wait for someone with 12.04 ;) )
    – Rinzwind
    Apr 3 '14 at 20:15






  • 1




    It will depend where you are as you will be using a server close to but I live in the UK and mine is here
    – Warren Hill
    Apr 3 '14 at 20:18






  • 1




    More or less the same with French mirrors: paste.ubuntu.com/7200373
    – Sylvain Pineau
    Apr 3 '14 at 20:21












up vote
3
down vote

favorite
1









up vote
3
down vote

favorite
1






1





I have ubuntu 12.04 lts and i need the correct output because i edited it because it wasn't working but it has only made it worse thank you for your help







share|improve this question











I have ubuntu 12.04 lts and i need the correct output because i edited it because it wasn't working but it has only made it worse thank you for your help









share|improve this question










share|improve this question




share|improve this question









asked Apr 3 '14 at 20:10









jack

214




214











  • Easier would be for you to provide yours and we tell you what is wrong (that way you do not need to wait for someone with 12.04 ;) )
    – Rinzwind
    Apr 3 '14 at 20:15






  • 1




    It will depend where you are as you will be using a server close to but I live in the UK and mine is here
    – Warren Hill
    Apr 3 '14 at 20:18






  • 1




    More or less the same with French mirrors: paste.ubuntu.com/7200373
    – Sylvain Pineau
    Apr 3 '14 at 20:21
















  • Easier would be for you to provide yours and we tell you what is wrong (that way you do not need to wait for someone with 12.04 ;) )
    – Rinzwind
    Apr 3 '14 at 20:15






  • 1




    It will depend where you are as you will be using a server close to but I live in the UK and mine is here
    – Warren Hill
    Apr 3 '14 at 20:18






  • 1




    More or less the same with French mirrors: paste.ubuntu.com/7200373
    – Sylvain Pineau
    Apr 3 '14 at 20:21















Easier would be for you to provide yours and we tell you what is wrong (that way you do not need to wait for someone with 12.04 ;) )
– Rinzwind
Apr 3 '14 at 20:15




Easier would be for you to provide yours and we tell you what is wrong (that way you do not need to wait for someone with 12.04 ;) )
– Rinzwind
Apr 3 '14 at 20:15




1




1




It will depend where you are as you will be using a server close to but I live in the UK and mine is here
– Warren Hill
Apr 3 '14 at 20:18




It will depend where you are as you will be using a server close to but I live in the UK and mine is here
– Warren Hill
Apr 3 '14 at 20:18




1




1




More or less the same with French mirrors: paste.ubuntu.com/7200373
– Sylvain Pineau
Apr 3 '14 at 20:21




More or less the same with French mirrors: paste.ubuntu.com/7200373
– Sylvain Pineau
Apr 3 '14 at 20:21










1 Answer
1






active

oldest

votes

















up vote
5
down vote













Here is a simple example of a standard /etc/apt/sources.list file for Ubuntu 12.04:



deb http://archive.ubuntu.com/ubuntu precise main universe restricted multiverse
deb http://archive.ubuntu.com/ubuntu precise-security universe main multiverse restricted
deb http://archive.ubuntu.com/ubuntu precise-updates universe main multiverse restricted
deb http://archive.ubuntu.com/ubuntu precise-proposed universe main multiverse restricted


The easiest way to edit the sources.list file is from the terminal in nano editor using the following command:



sudo nano /etc/apt/sources.list 


The instructions for using nano are always displayed at the bottom of the page. Use the keyboard combination Ctrl + O and after that press Enter to save the file to its current location. Use the keyboard combination Ctrl + X to exit nano.



A standard sources.list file for Ubuntu 16.04 looks like this:



deb http://archive.ubuntu.com/ubuntu/ xenial main restricted universe multiverse 
deb http://archive.ubuntu.com/ubuntu/ xenial-updates main restricted universe multiverse
deb http://archive.ubuntu.com/ubuntu/ xenial-backports main restricted universe multiverse
deb http://security.ubuntu.com/ubuntu xenial-security main restricted universe multiverse
deb http://archive.canonical.com/ubuntu xenial partner


A standard sources.list file for Ubuntu 18.04 looks like this:



deb http://archive.ubuntu.com/ubuntu/ bionic main restricted universe multiverse 
deb http://archive.ubuntu.com/ubuntu/ bionic-updates main restricted universe multiverse
deb http://archive.ubuntu.com/ubuntu/ bionic-backports main restricted universe multiverse
deb http://security.ubuntu.com/ubuntu bionic-security main restricted universe multiverse
deb http://archive.canonical.com/ubuntu bionic partner





share|improve this answer























    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',
    convertImagesToLinks: true,
    noModals: false,
    showLowRepImageUploadWarning: true,
    reputationToPostImages: 10,
    bindNavPrevention: true,
    postfix: "",
    onDemand: true,
    discardSelector: ".discard-answer"
    ,immediatelyShowMarkdownHelp:true
    );



    );








     

    draft saved


    draft discarded


















    StackExchange.ready(
    function ()
    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f443036%2fwhat-is-the-correct-output-of-cat-etc-apt-sources-list%23new-answer', 'question_page');

    );

    Post as a guest






























    1 Answer
    1






    active

    oldest

    votes








    1 Answer
    1






    active

    oldest

    votes









    active

    oldest

    votes






    active

    oldest

    votes








    up vote
    5
    down vote













    Here is a simple example of a standard /etc/apt/sources.list file for Ubuntu 12.04:



    deb http://archive.ubuntu.com/ubuntu precise main universe restricted multiverse
    deb http://archive.ubuntu.com/ubuntu precise-security universe main multiverse restricted
    deb http://archive.ubuntu.com/ubuntu precise-updates universe main multiverse restricted
    deb http://archive.ubuntu.com/ubuntu precise-proposed universe main multiverse restricted


    The easiest way to edit the sources.list file is from the terminal in nano editor using the following command:



    sudo nano /etc/apt/sources.list 


    The instructions for using nano are always displayed at the bottom of the page. Use the keyboard combination Ctrl + O and after that press Enter to save the file to its current location. Use the keyboard combination Ctrl + X to exit nano.



    A standard sources.list file for Ubuntu 16.04 looks like this:



    deb http://archive.ubuntu.com/ubuntu/ xenial main restricted universe multiverse 
    deb http://archive.ubuntu.com/ubuntu/ xenial-updates main restricted universe multiverse
    deb http://archive.ubuntu.com/ubuntu/ xenial-backports main restricted universe multiverse
    deb http://security.ubuntu.com/ubuntu xenial-security main restricted universe multiverse
    deb http://archive.canonical.com/ubuntu xenial partner


    A standard sources.list file for Ubuntu 18.04 looks like this:



    deb http://archive.ubuntu.com/ubuntu/ bionic main restricted universe multiverse 
    deb http://archive.ubuntu.com/ubuntu/ bionic-updates main restricted universe multiverse
    deb http://archive.ubuntu.com/ubuntu/ bionic-backports main restricted universe multiverse
    deb http://security.ubuntu.com/ubuntu bionic-security main restricted universe multiverse
    deb http://archive.canonical.com/ubuntu bionic partner





    share|improve this answer



























      up vote
      5
      down vote













      Here is a simple example of a standard /etc/apt/sources.list file for Ubuntu 12.04:



      deb http://archive.ubuntu.com/ubuntu precise main universe restricted multiverse
      deb http://archive.ubuntu.com/ubuntu precise-security universe main multiverse restricted
      deb http://archive.ubuntu.com/ubuntu precise-updates universe main multiverse restricted
      deb http://archive.ubuntu.com/ubuntu precise-proposed universe main multiverse restricted


      The easiest way to edit the sources.list file is from the terminal in nano editor using the following command:



      sudo nano /etc/apt/sources.list 


      The instructions for using nano are always displayed at the bottom of the page. Use the keyboard combination Ctrl + O and after that press Enter to save the file to its current location. Use the keyboard combination Ctrl + X to exit nano.



      A standard sources.list file for Ubuntu 16.04 looks like this:



      deb http://archive.ubuntu.com/ubuntu/ xenial main restricted universe multiverse 
      deb http://archive.ubuntu.com/ubuntu/ xenial-updates main restricted universe multiverse
      deb http://archive.ubuntu.com/ubuntu/ xenial-backports main restricted universe multiverse
      deb http://security.ubuntu.com/ubuntu xenial-security main restricted universe multiverse
      deb http://archive.canonical.com/ubuntu xenial partner


      A standard sources.list file for Ubuntu 18.04 looks like this:



      deb http://archive.ubuntu.com/ubuntu/ bionic main restricted universe multiverse 
      deb http://archive.ubuntu.com/ubuntu/ bionic-updates main restricted universe multiverse
      deb http://archive.ubuntu.com/ubuntu/ bionic-backports main restricted universe multiverse
      deb http://security.ubuntu.com/ubuntu bionic-security main restricted universe multiverse
      deb http://archive.canonical.com/ubuntu bionic partner





      share|improve this answer

























        up vote
        5
        down vote










        up vote
        5
        down vote









        Here is a simple example of a standard /etc/apt/sources.list file for Ubuntu 12.04:



        deb http://archive.ubuntu.com/ubuntu precise main universe restricted multiverse
        deb http://archive.ubuntu.com/ubuntu precise-security universe main multiverse restricted
        deb http://archive.ubuntu.com/ubuntu precise-updates universe main multiverse restricted
        deb http://archive.ubuntu.com/ubuntu precise-proposed universe main multiverse restricted


        The easiest way to edit the sources.list file is from the terminal in nano editor using the following command:



        sudo nano /etc/apt/sources.list 


        The instructions for using nano are always displayed at the bottom of the page. Use the keyboard combination Ctrl + O and after that press Enter to save the file to its current location. Use the keyboard combination Ctrl + X to exit nano.



        A standard sources.list file for Ubuntu 16.04 looks like this:



        deb http://archive.ubuntu.com/ubuntu/ xenial main restricted universe multiverse 
        deb http://archive.ubuntu.com/ubuntu/ xenial-updates main restricted universe multiverse
        deb http://archive.ubuntu.com/ubuntu/ xenial-backports main restricted universe multiverse
        deb http://security.ubuntu.com/ubuntu xenial-security main restricted universe multiverse
        deb http://archive.canonical.com/ubuntu xenial partner


        A standard sources.list file for Ubuntu 18.04 looks like this:



        deb http://archive.ubuntu.com/ubuntu/ bionic main restricted universe multiverse 
        deb http://archive.ubuntu.com/ubuntu/ bionic-updates main restricted universe multiverse
        deb http://archive.ubuntu.com/ubuntu/ bionic-backports main restricted universe multiverse
        deb http://security.ubuntu.com/ubuntu bionic-security main restricted universe multiverse
        deb http://archive.canonical.com/ubuntu bionic partner





        share|improve this answer















        Here is a simple example of a standard /etc/apt/sources.list file for Ubuntu 12.04:



        deb http://archive.ubuntu.com/ubuntu precise main universe restricted multiverse
        deb http://archive.ubuntu.com/ubuntu precise-security universe main multiverse restricted
        deb http://archive.ubuntu.com/ubuntu precise-updates universe main multiverse restricted
        deb http://archive.ubuntu.com/ubuntu precise-proposed universe main multiverse restricted


        The easiest way to edit the sources.list file is from the terminal in nano editor using the following command:



        sudo nano /etc/apt/sources.list 


        The instructions for using nano are always displayed at the bottom of the page. Use the keyboard combination Ctrl + O and after that press Enter to save the file to its current location. Use the keyboard combination Ctrl + X to exit nano.



        A standard sources.list file for Ubuntu 16.04 looks like this:



        deb http://archive.ubuntu.com/ubuntu/ xenial main restricted universe multiverse 
        deb http://archive.ubuntu.com/ubuntu/ xenial-updates main restricted universe multiverse
        deb http://archive.ubuntu.com/ubuntu/ xenial-backports main restricted universe multiverse
        deb http://security.ubuntu.com/ubuntu xenial-security main restricted universe multiverse
        deb http://archive.canonical.com/ubuntu xenial partner


        A standard sources.list file for Ubuntu 18.04 looks like this:



        deb http://archive.ubuntu.com/ubuntu/ bionic main restricted universe multiverse 
        deb http://archive.ubuntu.com/ubuntu/ bionic-updates main restricted universe multiverse
        deb http://archive.ubuntu.com/ubuntu/ bionic-backports main restricted universe multiverse
        deb http://security.ubuntu.com/ubuntu bionic-security main restricted universe multiverse
        deb http://archive.canonical.com/ubuntu bionic partner






        share|improve this answer















        share|improve this answer



        share|improve this answer








        edited May 16 at 0:48


























        answered Apr 3 '14 at 22:06









        karel

        48.5k1199126




        48.5k1199126






















             

            draft saved


            draft discarded


























             


            draft saved


            draft discarded














            StackExchange.ready(
            function ()
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f443036%2fwhat-is-the-correct-output-of-cat-etc-apt-sources-list%23new-answer', 'question_page');

            );

            Post as a guest













































































            Popular posts from this blog

            pylint3 and pip3 broken

            Missing snmpget and snmpwalk

            How to enroll fingerprints to Ubuntu 17.10 with VFS491