Repositories in Debian Etch

mayo 13, 2008

Well my friend Roger wants to know how to drop the damn dvd away, because is better download the packages, instead of download dvds that maybe you won’t use again.

This is with debian etch, if you use another version of debian just change etch to lenny, sid, or whatever you use.

These are the principal repositories, there’s a lot, but if you don’t know how this works, don’t get your sources.list stuck because you can get some errors of versions, don’t mix stable with unstable or testing, it’s dangerous, it’s under your own risk.

Well, just edit your sources.list file, to do that in a terminal as root type:

# vim /etc/apt/sources.list

Add a # at the beginning to every line that says something about cdrom

then at the end of the file, if don’t have them, add these lines:

#Etch

deb http://security.debian.org etch/updates main contrib non-free

deb-src http://security.debian.org etch/updates main contrib non-free

deb http://http.us.debian.org/debian etch main contrib non-free

deb-src http://http.us.debian.org/debian etch main contrib non-free

Then your sources.list will be something like this:

# deb cdrom:[Debian GNU/Linux 4.0 r2 _etch_ – Official i386 CD Binary-1 20080102-13:35]/ etch contrib main

#deb cdrom:[Debian GNU/Linux 4.0 r2 _etch_ – Official i386 CD Binary-1 20080102-13:35]/ etch contrib main

#Etch

deb http://security.debian.org etch/updates main contrib non-free

deb-src http://security.debian.org etch/updates main contrib non-free

deb http://http.us.debian.org/debian etch main contrib non-free

deb-src http://http.us.debian.org/debian etch main contrib non-free

Then just update your apt, as root type:

# apt-get update

And the next time you need some package it will be downloaded.

Hope it helps.

Anuncios

Responder

Introduce tus datos o haz clic en un icono para iniciar sesión:

Logo de WordPress.com

Estás comentando usando tu cuenta de WordPress.com. Cerrar sesión / Cambiar )

Imagen de Twitter

Estás comentando usando tu cuenta de Twitter. Cerrar sesión / Cambiar )

Foto de Facebook

Estás comentando usando tu cuenta de Facebook. Cerrar sesión / Cambiar )

Google+ photo

Estás comentando usando tu cuenta de Google+. Cerrar sesión / Cambiar )

Conectando a %s

A %d blogueros les gusta esto: