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

19.04
add a comment
|
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

19.04
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 / usingcd /and thenetc/apt/sources.list
– Kulfy
Apr 18 at 18:44
add a comment
|
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

19.04
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

19.04
19.04
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 / usingcd /and thenetc/apt/sources.list
– Kulfy
Apr 18 at 18:44
add a comment
|
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 / usingcd /and thenetc/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
add a comment
|
1 Answer
1
active
oldest
votes
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.
But you can usesudo -Hto 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
Andcontrol-o, enter, control-xis easier for a new user, thanSaveandQuitfrom 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
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/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
);
);
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%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
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.
But you can usesudo -Hto 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
Andcontrol-o, enter, control-xis easier for a new user, thanSaveandQuitfrom 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
add a comment
|
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.
But you can usesudo -Hto 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
Andcontrol-o, enter, control-xis easier for a new user, thanSaveandQuitfrom 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
add a comment
|
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.
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.
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 usesudo -Hto 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
Andcontrol-o, enter, control-xis easier for a new user, thanSaveandQuitfrom 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
add a comment
|
But you can usesudo -Hto 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
Andcontrol-o, enter, control-xis easier for a new user, thanSaveandQuitfrom 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
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%2f1135017%2fsource-list-empty-in-ubuntu-19-04%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
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 thenetc/apt/sources.list– Kulfy
Apr 18 at 18:44