LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Debian (https://www.linuxquestions.org/questions/debian-26/)
-   -   I need debian repository URL after offline installation (https://www.linuxquestions.org/questions/debian-26/i-need-debian-repository-url-after-offline-installation-600368/)

crisostomo_enrico 11-17-2007 08:13 AM

I need debian repository URL after offline installation
 
Hi.

I installed for the my first-time Debian (Etch). I installed the system offline from the 3 DVD that I downloaded because this laptop's wireless card needs ndiswrapper to work.

Being offline during installation I could not set up the Debian package repositories and I ended up with this sources.list:
Quote:

deb cdrom:[Debian GNU/Linux 4.0 r1 _Etch_ - Official i386 DVD Binary-1 20070819-11:33]/ etch contrib main
deb cdrom:[Debian GNU/Linux 4.0 r1 _Etch_ - Official i386 DVD Binary-2 20070819-11:33]/ etch contrib main
deb cdrom:[Debian GNU/Linux 4.0 r1 _Etch_ - Official i386 DVD Binary-3 20070819-11:33]/ etch contrib main
deb cdrom:[Debian GNU/Linux 4.0r1 Update CD 20070820: i386 CD 1]/ etch contrib main non-free
deb http://security.debian.org/ etch/updates main contrib
deb-src http://security.debian.org/ etch/updates main contrib
I suppose I need to add an URL of an official debian repository, such as
http://http.us.debian.org/debian/deb. I live in Spain, so I wanted to set up a repository in Spain, which I remember being proposed to me during installation, but after googling, I couldn't find the URL list that was shown by the installation media.

Can you point me to such information? I'm just interested to official Debian repositories.

Thanks,
Enrico

crisostomo_enrico 11-17-2007 08:32 AM

Well, I found the URL list, it was, as I thought, in the official Debian documentation, even if yesterday night I couldn't hit it... I added
Quote:

deb ftp://ftp.es.debian.org/debian/ etch main contrib non-free
I understand that the stable tree doesn't change once released, except for security patches. If I wanted to upgrade the system to testing, would it be sufficent to modify the URL to:
Quote:

deb ftp://ftp.es.debian.org/debian/ testing main contrib non-free
?

Thank you for the help!

brianL 11-17-2007 11:32 AM

Yeah, replace all references to etch with testing in /etc/apt/sources.list, then run:

Code:

# aptitude update

# aptitude dist-upgrade


crisostomo_enrico 11-20-2007 04:34 AM

Thank you BrianL.

Everything went fine. Just a couple of questions:
- when I ran aptitude (or apt-get) it informed me that some recommended packages would not be installed. I tried the -r switch, that according to man page, should instruct aptitude to treat recommendations as dependencies, but I noticed no change. I write their name off and installed later but... how should I invoke aptitude for it to install recommended packages?
- The installation was fine but I wondered: how can I keep sources.list up to date, in the case, let's say, another _official_ repository type (i.e. security) is added?

Thanks in advance,
Enrico


All times are GMT -5. The time now is 05:41 PM.