LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices

Reply
 
Search this Thread
Old 11-17-2007, 08:13 AM   #1
crisostomo_enrico
Member
 
Registered: Dec 2005
Location: Madrid
Distribution: Solaris 10, Solaris Express Community Edition
Posts: 547

Rep: Reputation: 35
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
 
Old 11-17-2007, 08:32 AM   #2
crisostomo_enrico
Member
 
Registered: Dec 2005
Location: Madrid
Distribution: Solaris 10, Solaris Express Community Edition
Posts: 547

Original Poster
Rep: Reputation: 35
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!

Last edited by crisostomo_enrico; 11-17-2007 at 11:46 AM.
 
Old 11-17-2007, 11:32 AM   #3
brianL
LQ 5k Club
 
Registered: Jan 2006
Location: Oldham, Lancs, England
Distribution: Slackware & Slackware64 14.1
Posts: 7,038
Blog Entries: 52

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

Code:
# aptitude update

# aptitude dist-upgrade
 
Old 11-20-2007, 04:34 AM   #4
crisostomo_enrico
Member
 
Registered: Dec 2005
Location: Madrid
Distribution: Solaris 10, Solaris Express Community Edition
Posts: 547

Original Poster
Rep: Reputation: 35
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
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
offline installation sulekha Ubuntu 3 09-16-2007 10:34 AM
xwindow installation in debian (offline) in my PowerBook Wallstreet monkeynote Linux - Laptop and Netbook 5 06-04-2007 08:03 PM
LXer: Debian Etch And Xen From The Debian Repository LXer Syndicated Linux News 0 05-04-2007 05:31 PM
repository for offline update seuchato Suse/Novell 1 08-05-2006 06:26 AM
Debian Offline!!!! Occulum Linux - Software 9 08-08-2005 03:18 PM


All times are GMT -5. The time now is 05:55 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration