[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: change mirror dvd to internet



On 05/01/2012 16:23, hamed hosseini wrote:
hi
i am install debian 6 from dvd,when i want install some package(app) dabian say insert dvd for install it,but i want install from internet.
how can i change this miror from dvd to some online mirror?
I think the easier way if you change your source.list file.
mv /etc/apt/source.list /etc/apt/source.list.old

and then create a new one and insert this:
###### Debian Main Repos
deb http://ftp.debian.org/debian/ squeeze main contrib non-free
deb-src http://ftp.debian.org/debian/ squeeze main contrib non-free

###### Debian Update Repos
deb http://security.debian.org/ squeeze/updates main contrib non-free
deb http://ftp.debian.org/debian/ squeeze-proposed-updates main contrib non-free
deb-src http://security.debian.org/ squeeze/updates main contrib non-free
deb-src http://ftp.debian.org/debian/ squeeze-proposed-updates main contrib non-free

and at the and
apt-get update


Reply to: