Hello, is English your first language because the way you've phrased your information is very tangled, and very hard to understand what you want. I will try to help though.
First let me be clear, i don't know what it is exactly what you are trying to do, but i'm guessing you have screwed up your sources.list and have downloaded a default sources.list which now lyes in your download directory.
For starters:
Quote:
Originally Posted by upindah
# sudo mv/etc/apt/sources.list /etc/apt/sources.list.original
|
This is wrong. It may be a typo but what you will have wanted to do is
Code:
sudo mv /etc/apt/sources.list /etc/apt/sources.list.org
I changed 'original' to 'org' simply because it's easier, but the important part is there's a space between 'mv' and the rest.
Quote:
Originally Posted by upindah
# sudo cp
|
This will achieve nothing. Remember i'm only guessing what you want because you're English is not good, but if i'm guessing correctly, what you desire can be achieved with the following.
Code:
sudo cp ~/Downloads/sources.list /etc/apt/sources.list
then:
Code:
sudo apt-get update && apt-get upgrade
.
Your actual questions are just as hard to understand as the rest of your post, but it seems like you're new to Linux and trying to understand the concepts and what you're doing.
Linux is different to Windows. Linux programs are generally downloaded and installed from a repository which is maintained by the developers of the particular distribution (Ubuntu in this case). Security updates are also downloaded through these repositories. Because all/most of the programs you'd ever want are coming from the same place as the os, it helps keep the Linux distribution secure.
This is one great feature Windows lacks.
Before a program or a security update can be grabbed from the repository, the Linux distribution needs to know where to look. Your sources.list file is the file that contains all repository information, and tells the Linux distribution where to look for programs and security updates. When you run a command "apt-get", that's your package manager in Ubuntu; which means you're about to interact with the programs installed on you Ubuntu distribution in some way. "apt-get update" will interact with the programs by contacting the sources.list and going to the repositories and looks to see if there's any new updates. apt-get upgrade actually applies the updates that are available.
I hoped i've helped, if i haven't try asking again in a different way.