LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   How to download source.list for ubuntu (https://www.linuxquestions.org/questions/linux-software-2/how-to-download-source-list-for-ubuntu-278567/)

cajunaggie 01-16-2005 03:56 PM

How to download source.list for ubuntu
 
Pardon my ignorance, but how do I download source.list for Ubuntu? I need to download it to use it elsewhere
The instructions are as follows:
Quote:

01) Read General Notes
02) Download sources.list: Here
03) $ cd browse_to_your_download_folder
04) $ sudo cp sources.list /etc/apt/sources.list
05) $ sudo apt-get update
When I go to the "here" link I get this:
Quote:

## Uncomment the following two lines to fetch updated software from the network
deb http://archive.ubuntu.com/ubuntu/ warty main restricted
deb-src http://archive.ubuntu.com/ubuntu/ warty main restricted

## Uncomment the following two lines to add software from the 'universe'
## repository.
## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team, and may not be under a free licence. Please satisfy yourself as to
## your rights to use the software. Also, please note that software in
## universe WILL NOT receive any review or updates from the Ubuntu security
## team.
deb http://archive.ubuntu.com/ubuntu/ warty universe
deb-src http://archive.ubuntu.com/ubuntu/ warty universe

deb http://security.ubuntu.com/ubuntu/ warty-security main restricted
deb-src http://security.ubuntu.com/ubuntu/ warty-security main restricted

deb http://archive.ubuntu.com/ubuntu/ warty multiverse
deb-src http://archive.ubuntu.com/ubuntu/ warty multiverse

deb ftp://ftp.nerim.net/debian-marillat/ stable main
deb ftp://ftp.nerim.net/debian-marillat/ unstable main
deb ftp://ftp.nerim.net/debian-marillat/ testing main
Does anyone understand what this means? What the heck am I supposed to do?

mrcheeks 01-16-2005 04:22 PM

it is the content of the sources.list file i guess

comprookie2000 01-16-2005 04:25 PM

Just copy it to /etc/apt/sources.list,lets say this is the file,I'm going to copy and paste it,or like they suggest use the command line because they use sudo for some reason,you must be root;
Code:

/etc/apt/sources.list
    ## Uncomment the following two lines to fetch updated software from the network
    deb http://archive.ubuntu.com/ubuntu/ warty main restricted
    deb-src http://archive.ubuntu.com/ubuntu/ warty main restricted

    ## Uncomment the following two lines to add software from the 'universe'
    ## repository.
    ## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
    ## team, and may not be under a free licence. Please satisfy yourself as to
    ## your rights to use the software. Also, please note that software in
    ## universe WILL NOT receive any review or updates from the Ubuntu security
    ## team.
    deb http://archive.ubuntu.com/ubuntu/ warty universe
    deb-src http://archive.ubuntu.com/ubuntu/ warty universe

    deb http://security.ubuntu.com/ubuntu/ warty-security main restricted
    deb-src http://security.ubuntu.com/ubuntu/ warty-security main restricted

    deb http://archive.ubuntu.com/ubuntu/ warty multiverse
    deb-src http://archive.ubuntu.com/ubuntu/ warty multiverse

    deb ftp://ftp.nerim.net/debian-marillat/ stable main
    deb ftp://ftp.nerim.net/debian-marillat/ unstable main
    deb ftp://ftp.nerim.net/debian-marillat/ testing main

just add that to the file anyway you can as root.Also you may want to put a ## in front of the universe and multiverse until you know what you are doing,on some distro's installing straight debian will break them because they are a mix of unstable and testing and sometimes experimental

cajunaggie 01-16-2005 04:45 PM

How do I uncomment?

heema 01-17-2005 03:13 AM

u could simply open synaptic and in tools -> repositories

just check all the list then press reload

its the same thing as synaptic will uncomment them

cajunaggie 01-17-2005 11:36 AM

Thank you much


All times are GMT -5. The time now is 11:01 AM.