I am trying to run the following command in my system after navigating to the directory cd /etc/apt   Clean update: cd /etc/apt #out put stella@stella-box:/etc/apt$  sudo mv sources.list sources.list.ok   #output mv: cannot stat ‘sources.list’: No such file or directory  #Recreate sources.list and add these 4 lines to it. deb mirror://mirrors.ubuntu.com/mirrors.txt xenial main restricted  universe multiverse  deb mirror://mirrors.ubuntu.com/mirrors.txt xenial-updates main  restricted universe multiverse  deb mirror://mirrors.ubuntu.com/mirrors.txt xenial-backports main  restricted universe multiverse  deb mirror://mirrors.ubuntu.com/mirrors.txt xenial-security main  restricted universe multiverse    sudo apt-get clean  sudo apt-get update sudo apt install python3-pip sudo apt-get install cmake     I enter the next line it returns " mv: cannot stat ‘sources.list’: No such file or directory" please guys how do I fixed this error?
I have Ubuntu 12.04 LTS. I need the correct output because I edited it because it wasn't working but it has only made it worse.
Possible Duplicate:          How do you convert a C++ string to an int?  Assume you are expecting the string to have actual numbers in it ("1", "345", "38944", for example).  Also, let's assume you don't have boost, and you really want to do it the C++ way, not the crufty old C way. Accessing my Windows 7 files from my Ubuntu account How do I programmatically log in a user with a POST request? How do I unload (reload) a Python module? I have a long-running Python server and would like to be able to upgrade a service without restarting the server. What's the best way do do this?  if foo.py has changed:     unimport foo  &lt;-- How do I do this?     import foo     myfoo = foo.Foo() Is there Markdown to create tables? It seems like a lot of people try to display tables in Stack&nbsp;Overflow questions, but don't do a very good job. Is there Markdown syntax that supports creating a proper table? How do you performance test JavaScript code? Tiny navigation buttons and tags on responsive mobile I know it will be hard for you to tell on desktop because the resolution is so high, but the clickable text in the upper left, the icons on the upper right, and the navigation buttons at the bottom are all tiny. I have to squint to read the tags, I can't reasonably tap any navigation button except for Next without zooming, and selecting the achievements dialog, etc. is all very difficult. It seems to me that this would not be terribly difficult to change, so I am posting this feature request. I'm using a relatively large Samsung phone (Note 8), so I can imagine it would be worse on smaller phones.  Edit: I see from posted images that the responsive design on other phones looks nothing like mine. I'm wondering if it has something to do with the high resolution  where it thinks it is bigger than it is, or it's picking the wrong sizes because it's a tiny bit over some size threshold, in which case this would be a bug. What is the difference between == and equals() in Java? Pre-image of a measurable set A is always measurable? In email applications should the text of the cover letter be stated directly in the email or be attached in a separate file? Prove that for any natural number $n>1$, we have $(2n)!<(n(n+1))^n$ Prove that for any natural number $n&gt;1$, we have $(2n)!&lt;(n(n+1))^n$    I tried using induction, but I failed in that approach, I rather found it was untrue, but on several case testing, I found it to be true. I am out of ideas here, please help. Thank you. I am getting FATAL_ERROR|System.QueryException: List has no rows for assignment to SObject. I know that it is because it is not returning any rows in the SOQL query but what I want is that if it returns any row, it should update ALO field on contact object, if it is null then ALO field should be set to null.  Here is my code:  ziptoLOD = [SELECT Id, Name, LOD__c             FROM Zip_3_to_LOD__c             WHERE Name =: contact.Extract_Zipcode__c ];  Zip_3_to_LOD__c ziptoLOD2 = (ziptoLOD != null) ? ziptoLOD : null;  if (ziptoLOD2 == null) {     contact.ALO__c = ' ';    } else {     System.debug(System.LoggingLevel.ERROR, 'Zip to LOD' + ziptoLOD2);     contact.ALO__c = ziptoLOD2.LOD__c; }   My code gets stuck at the SOQL query and gives me the list has no rows error. How does the built-in debugger decide what to highlight? I need to rename a bunch of files in order to fix their sort order, therefore I need to be able to do a sort of "find and replace" so I can replace chunks of the filenames at a time.  What tools should I use? I prefer GUI but a command line tool recommendation would also be fine. Upper bound on $\chi(G)$ for a triangle-free graph I'm struggling with the following question;     For every graph $G$ such that $K_3 \not\subseteq G$ (i.e. $G$ does not contain a triangle), prove that $\chi(G) \leq 2\sqrt{n} +1$ (where $\chi(G)$ denotes the chromatic number).   Any hints? I really cannot see the connection between the triangle-free nature of $G$ and a chromatic number being bounded above by $O(\sqrt{n})$. How to make read-only file system writable? At some point, the filesystem on my digital audio player has become read-only. I cannot copy files into it or remove files on it.  Are there some possible reasons for the player's file system to change permissions in this way?  I tried using chmod:  $ sudo chmod a+rw SGTL\ MSCN/  chmod: changing permissions of `SGTL MSCN/': Read-only file system   SGTL MSCN is the mount point of the digital audio player.  What else can I try to make it writeable? Problem with the header/ footer width I have recently started using the geometry package to format the margins of my documents. Although, I've noticed that the width of the header/ footer remains the same. How can I correct this?    Here's a MWE:  \documentclass{article}  \usepackage{geometry} \usepackage{fancyhdr}     \pagestyle{fancy} \usepackage{blindtext}  \lhead{} \chead{Header} \rhead{} \lfoot{} \cfoot{Footer} \rfoot{\thepage} \renewcommand{\headrulewidth}{1pt} \renewcommand{\footrulewidth}{1pt}  \begin{document}  \newgeometry{margin=0.5in, bottom=1in, top=1in} \Blinddocument  \end{document} I've searched websites, written to Mr. Barth and William Safire, scanned bookstore shelves, and buttonholed likely prospects in search of a grammar text that would address matters in the manner of the following, which is from John Barth's "The End of the Road".  If such a text exists, I'd be much obliged to learn of it:  " ... it gives a man a great sense of lucidity and well-being, if not downright formidability, to be able not only to say, but to understand perfectly, that predicate complements of infinitives of copulative verbs without expressed subjects go into the nominative case, whereas predicate complements of infinitives of copulative verbs with expressed subjects go into the objective case.  I made this observation to my assemblage of young scholars and concluded triumphantly, "I was thought to be he, but I thought John to be him."  Thank you. I'm working from the URL I found here:    My ssh client is Ubuntu 64 bit 11.10 desktop and my server is Centos 6.2 64 bit. I have followed the directions. I still get a password prompt on ssh.  I'm not sure what to do next. The shop is five minutes away.     According to the dictionary, away is an adverb. An adverb modifies a verb. In the above example, what word does away modify? Why is away not an adjective?       The shop is five meters tall.     tall is an adjective in the second example. It modifies five meters (does it?). So why is away an adverb?