LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 01-31-2015, 05:06 AM   #1
what is
LQ Newbie
 
Registered: Jan 2015
Posts: 28

Rep: Reputation: Disabled
Where is this " /etc/apt/sources.list " in my windows


hello
I'm still having problems.
I use virtual Box and i have ubunto in that.
When I search in google about update not working, I always see the answers about " /etc/apt/sources.list ".
Where is this " /etc/apt/sources.list " in my windows?
How can I find it???

thanks.

Last edited by what is; 01-31-2015 at 05:15 AM.
 
Old 01-31-2015, 05:30 AM   #2
Head_on_a_Stick
Senior Member
 
Registered: Dec 2014
Location: London, England
Distribution: Arch & Debian
Posts: 1,183

Rep: Reputation: 283Reputation: 283Reputation: 283
Open a terminal and type:
Code:
cd /etc/apt
ls
and there it is!


You can also "find" it by opening up your file manager and going to "file system" and then the "etc" folder, then the "apt" folder, then the "sources.list" file will be there -- it is just a text file.

To edit it you will need to open an editor as root using `sudo`
Code:
sudo nano /etc/apt/sources.list
Use <Ctrl>+x to exit, then press "y" and Return to save the modifications.

Last edited by Head_on_a_Stick; 01-31-2015 at 05:30 AM. Reason: silly mistake...
 
1 members found this post helpful.
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] unable to copy paste & Help in editing "sources.list" file Piyush M Debian 18 01-18-2013 04:40 PM
intrepid, PS3, update sources list from "ubuntu" to "ports-ubuntu" evdv Linux - Newbie 7 08-18-2009 10:52 AM
[SOLVED] "failed to verify" lines in /etc/apt/sources.list: catkin Linux - Newbie 2 07-23-2009 02:14 AM
Is there an "apt-get" equivalent of "yum list available"? geeeeky.girl Linux - General 3 07-20-2008 08:40 PM
command gedit "/etc/apt/sources.list" not working secret_force Linux - Newbie 4 08-02-2006 04:28 PM


All times are GMT -5. The time now is 08:41 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration