source.list empty in ubuntu 19.04Trouble updating to 19.04Ubuntu 19.04 incorrect sources.listUbuntu 19.04 Gnome FreezesInstall VSCode on Ubuntu 19.04Speeding Up Ubuntu 19.04 in Dual Monitor with Virtualboxcan't install mysql 8 on ubuntu 19.04

'Cheddar goes "good" with burgers?' Can "go" be seen as a verb of the senses?

Disrespectful employee going above my head and telling me what to do. I am his manager

What are the different ways one can refer to the home in everyday French

If Wish fails, do you suffer the 33% chance to be unable to cast wish ever again?

Applying rules on rules

Why is matter-antimatter asymmetry surprising, if asymmetry can be generated by a random walk in which particles go into black holes?

Can the bass be used instead of drums?

First aid scissors confiscated by Dubai airport security

Is there a practical way of making democratic-like system skewed towards competence?

Get a name removed from a manuscript as co-author

Why did the range based for loop specification change in C++17

Leningrad - Number Theory

SSH from a shared workplace computer

Would Anti-Magic Zone Affect Dragon Breath?

Why are seats at the rear of a plane sometimes unavailable even though many other seats are available in the plane?

Little Endian Number to String Conversion

Slow coworker receiving compliments while I receive complaints

How to use an equalizer?

My first random password generator

A demigod among men

What can I do to avoid potential charges for bribery?

A variant of the Shortest Path Problem

Non-Legendary Planeswalkers

From Plate to State



source.list empty in ubuntu 19.04


Trouble updating to 19.04Ubuntu 19.04 incorrect sources.listUbuntu 19.04 Gnome FreezesInstall VSCode on Ubuntu 19.04Speeding Up Ubuntu 19.04 in Dual Monitor with Virtualboxcan't install mysql 8 on ubuntu 19.04






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









1

















why is source.list empty in the new version of ubuntu? where did they move it to? (the file exists because it is suggested with tab)



 sudo gedit etc/apt/sources.list


enter image description here










share|improve this question





















  • 3





    It looks like you have tried to open etc folder which command line thought it is located in home (~). Use absolute path with /, i.e. /etc/apt/sources.list. Or go to / using cd / and then etc/apt/sources.list

    – Kulfy
    Apr 18 at 18:44


















1

















why is source.list empty in the new version of ubuntu? where did they move it to? (the file exists because it is suggested with tab)



 sudo gedit etc/apt/sources.list


enter image description here










share|improve this question





















  • 3





    It looks like you have tried to open etc folder which command line thought it is located in home (~). Use absolute path with /, i.e. /etc/apt/sources.list. Or go to / using cd / and then etc/apt/sources.list

    – Kulfy
    Apr 18 at 18:44














1












1








1








why is source.list empty in the new version of ubuntu? where did they move it to? (the file exists because it is suggested with tab)



 sudo gedit etc/apt/sources.list


enter image description here










share|improve this question














why is source.list empty in the new version of ubuntu? where did they move it to? (the file exists because it is suggested with tab)



 sudo gedit etc/apt/sources.list


enter image description here







19.04






share|improve this question













share|improve this question











share|improve this question




share|improve this question



share|improve this question










asked Apr 18 at 18:42









tatsutatsu

1,8891 gold badge13 silver badges44 bronze badges




1,8891 gold badge13 silver badges44 bronze badges










  • 3





    It looks like you have tried to open etc folder which command line thought it is located in home (~). Use absolute path with /, i.e. /etc/apt/sources.list. Or go to / using cd / and then etc/apt/sources.list

    – Kulfy
    Apr 18 at 18:44













  • 3





    It looks like you have tried to open etc folder which command line thought it is located in home (~). Use absolute path with /, i.e. /etc/apt/sources.list. Or go to / using cd / and then etc/apt/sources.list

    – Kulfy
    Apr 18 at 18:44








3




3





It looks like you have tried to open etc folder which command line thought it is located in home (~). Use absolute path with /, i.e. /etc/apt/sources.list. Or go to / using cd / and then etc/apt/sources.list

– Kulfy
Apr 18 at 18:44






It looks like you have tried to open etc folder which command line thought it is located in home (~). Use absolute path with /, i.e. /etc/apt/sources.list. Or go to / using cd / and then etc/apt/sources.list

– Kulfy
Apr 18 at 18:44











1 Answer
1






active

oldest

votes


















2


















To edit the sources.list file open the terminal and type:



sudoedit /etc/apt/sources.list 


Note that I used sudoedit to edit sources.list in the default terminal editor instead of gedit, because you shouldn't use normal sudo to start graphical applications as root. The correct path to sources.list is /etc/apt/sources.list not etc/apt/sources.list



The instructions for using the default nano text editor are always found at the bottom of every page. The only two nano keyboard shortcuts that you need to know are for WriteOut and Exit. Press the keyboard combination Ctrl+O and after that press Enter to save the file being edited. Press the keyboard combination Ctrl+X to exit nano.






share|improve this answer




























  • But you can use sudo -H to open graphical applications... ie: sudo -H gedit filename.

    – heynnema
    Apr 19 at 2:55











  • For a new user it's best to keep it simple to begin with, especially a new user who has already taught himself how to do it the wrong way.

    – karel
    Apr 19 at 2:59












  • And control-o, enter, control-x is easier for a new user, than Save and Quit from a menu in gedit? Give a fish to a hungry man and he's feed for a day, but give him a fishing pole, and brief instruction, and he's fed for life.

    – heynnema
    Apr 19 at 3:03












  • Once you've tried it the nice way you'll never forget how to do it because the instructions for using the default nano text editor are always found at the bottom of every page. You don't have to remember any code, just that it's there at the bottom of the page.

    – karel
    Apr 19 at 7:30












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/4.0/"u003ecc by-sa 4.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%2faskubuntu.com%2fquestions%2f1135017%2fsource-list-empty-in-ubuntu-19-04%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









2


















To edit the sources.list file open the terminal and type:



sudoedit /etc/apt/sources.list 


Note that I used sudoedit to edit sources.list in the default terminal editor instead of gedit, because you shouldn't use normal sudo to start graphical applications as root. The correct path to sources.list is /etc/apt/sources.list not etc/apt/sources.list



The instructions for using the default nano text editor are always found at the bottom of every page. The only two nano keyboard shortcuts that you need to know are for WriteOut and Exit. Press the keyboard combination Ctrl+O and after that press Enter to save the file being edited. Press the keyboard combination Ctrl+X to exit nano.






share|improve this answer




























  • But you can use sudo -H to open graphical applications... ie: sudo -H gedit filename.

    – heynnema
    Apr 19 at 2:55











  • For a new user it's best to keep it simple to begin with, especially a new user who has already taught himself how to do it the wrong way.

    – karel
    Apr 19 at 2:59












  • And control-o, enter, control-x is easier for a new user, than Save and Quit from a menu in gedit? Give a fish to a hungry man and he's feed for a day, but give him a fishing pole, and brief instruction, and he's fed for life.

    – heynnema
    Apr 19 at 3:03












  • Once you've tried it the nice way you'll never forget how to do it because the instructions for using the default nano text editor are always found at the bottom of every page. You don't have to remember any code, just that it's there at the bottom of the page.

    – karel
    Apr 19 at 7:30















2


















To edit the sources.list file open the terminal and type:



sudoedit /etc/apt/sources.list 


Note that I used sudoedit to edit sources.list in the default terminal editor instead of gedit, because you shouldn't use normal sudo to start graphical applications as root. The correct path to sources.list is /etc/apt/sources.list not etc/apt/sources.list



The instructions for using the default nano text editor are always found at the bottom of every page. The only two nano keyboard shortcuts that you need to know are for WriteOut and Exit. Press the keyboard combination Ctrl+O and after that press Enter to save the file being edited. Press the keyboard combination Ctrl+X to exit nano.






share|improve this answer




























  • But you can use sudo -H to open graphical applications... ie: sudo -H gedit filename.

    – heynnema
    Apr 19 at 2:55











  • For a new user it's best to keep it simple to begin with, especially a new user who has already taught himself how to do it the wrong way.

    – karel
    Apr 19 at 2:59












  • And control-o, enter, control-x is easier for a new user, than Save and Quit from a menu in gedit? Give a fish to a hungry man and he's feed for a day, but give him a fishing pole, and brief instruction, and he's fed for life.

    – heynnema
    Apr 19 at 3:03












  • Once you've tried it the nice way you'll never forget how to do it because the instructions for using the default nano text editor are always found at the bottom of every page. You don't have to remember any code, just that it's there at the bottom of the page.

    – karel
    Apr 19 at 7:30













2














2










2









To edit the sources.list file open the terminal and type:



sudoedit /etc/apt/sources.list 


Note that I used sudoedit to edit sources.list in the default terminal editor instead of gedit, because you shouldn't use normal sudo to start graphical applications as root. The correct path to sources.list is /etc/apt/sources.list not etc/apt/sources.list



The instructions for using the default nano text editor are always found at the bottom of every page. The only two nano keyboard shortcuts that you need to know are for WriteOut and Exit. Press the keyboard combination Ctrl+O and after that press Enter to save the file being edited. Press the keyboard combination Ctrl+X to exit nano.






share|improve this answer
















To edit the sources.list file open the terminal and type:



sudoedit /etc/apt/sources.list 


Note that I used sudoedit to edit sources.list in the default terminal editor instead of gedit, because you shouldn't use normal sudo to start graphical applications as root. The correct path to sources.list is /etc/apt/sources.list not etc/apt/sources.list



The instructions for using the default nano text editor are always found at the bottom of every page. The only two nano keyboard shortcuts that you need to know are for WriteOut and Exit. Press the keyboard combination Ctrl+O and after that press Enter to save the file being edited. Press the keyboard combination Ctrl+X to exit nano.







share|improve this answer















share|improve this answer




share|improve this answer



share|improve this answer








edited Apr 18 at 18:53

























answered Apr 18 at 18:48









karelkarel

68.5k15 gold badges154 silver badges175 bronze badges




68.5k15 gold badges154 silver badges175 bronze badges















  • But you can use sudo -H to open graphical applications... ie: sudo -H gedit filename.

    – heynnema
    Apr 19 at 2:55











  • For a new user it's best to keep it simple to begin with, especially a new user who has already taught himself how to do it the wrong way.

    – karel
    Apr 19 at 2:59












  • And control-o, enter, control-x is easier for a new user, than Save and Quit from a menu in gedit? Give a fish to a hungry man and he's feed for a day, but give him a fishing pole, and brief instruction, and he's fed for life.

    – heynnema
    Apr 19 at 3:03












  • Once you've tried it the nice way you'll never forget how to do it because the instructions for using the default nano text editor are always found at the bottom of every page. You don't have to remember any code, just that it's there at the bottom of the page.

    – karel
    Apr 19 at 7:30

















  • But you can use sudo -H to open graphical applications... ie: sudo -H gedit filename.

    – heynnema
    Apr 19 at 2:55











  • For a new user it's best to keep it simple to begin with, especially a new user who has already taught himself how to do it the wrong way.

    – karel
    Apr 19 at 2:59












  • And control-o, enter, control-x is easier for a new user, than Save and Quit from a menu in gedit? Give a fish to a hungry man and he's feed for a day, but give him a fishing pole, and brief instruction, and he's fed for life.

    – heynnema
    Apr 19 at 3:03












  • Once you've tried it the nice way you'll never forget how to do it because the instructions for using the default nano text editor are always found at the bottom of every page. You don't have to remember any code, just that it's there at the bottom of the page.

    – karel
    Apr 19 at 7:30
















But you can use sudo -H to open graphical applications... ie: sudo -H gedit filename.

– heynnema
Apr 19 at 2:55





But you can use sudo -H to open graphical applications... ie: sudo -H gedit filename.

– heynnema
Apr 19 at 2:55













For a new user it's best to keep it simple to begin with, especially a new user who has already taught himself how to do it the wrong way.

– karel
Apr 19 at 2:59






For a new user it's best to keep it simple to begin with, especially a new user who has already taught himself how to do it the wrong way.

– karel
Apr 19 at 2:59














And control-o, enter, control-x is easier for a new user, than Save and Quit from a menu in gedit? Give a fish to a hungry man and he's feed for a day, but give him a fishing pole, and brief instruction, and he's fed for life.

– heynnema
Apr 19 at 3:03






And control-o, enter, control-x is easier for a new user, than Save and Quit from a menu in gedit? Give a fish to a hungry man and he's feed for a day, but give him a fishing pole, and brief instruction, and he's fed for life.

– heynnema
Apr 19 at 3:03














Once you've tried it the nice way you'll never forget how to do it because the instructions for using the default nano text editor are always found at the bottom of every page. You don't have to remember any code, just that it's there at the bottom of the page.

– karel
Apr 19 at 7:30





Once you've tried it the nice way you'll never forget how to do it because the instructions for using the default nano text editor are always found at the bottom of every page. You don't have to remember any code, just that it's there at the bottom of the page.

– karel
Apr 19 at 7:30


















draft saved

draft discarded















































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.




draft saved


draft discarded














StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1135017%2fsource-list-empty-in-ubuntu-19-04%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

Distance measures on a map of a game The 2019 Stack Overflow Developer Survey Results Are Inmin distance in a graphShortest distance path on contour plotHow to plot a tilted map?Finding points outside of a diskDelaunay link distanceAnnulus from GeoDisks: drawing a ring on a mapNegative Correlation DistanceFind distance along a path (GPS coordinates)Finding position at given distance in a GeoPathMathematics behind distance estimation using camera

How to get a smooth, uniform ParametricPlot of a 2D Region?How to plot a complicated Region?How to exclude a region from ParametricPlotHow discretize a region placing vertices on a specific non-uniform gridHow to transform a Plot or a ParametricPlot into a RegionHow can I get a smooth plot of a bounded region?Smooth ParametricPlot3D with RegionFunction?Smooth border of a region ParametricPlotSmooth region boundarySmooth region plot from list of pointsGet minimum y of a certain x in a region

Genealogie vun de Merowenger Vum Merowech bis zum Chilperich I. | Navigatiounsmenü