Jump to content

Debian install [solved]


Recommended Posts

Hi,

I've installed Debian 4.0. Now, i want to install new packages and update the system, and here i'm lost. How do i manage my repos in debian? Where do i get all the mirrors? Basicaly, i'm looking for a substitution for an urpmi and its mirrors.

 

Thanks.

Link to comment
Share on other sites

Check this 1st... (do read it else the names will be confusing)

http://www.debian.org/distrib/packages

 

Next

http://www.debian.org/mirror/list

 

Usually closer is better...

 

For me my primary source is either

 

deb http://ftp.fr.debian.org/debian/ sid main contrib non-free

or

my ISP actually prvides a full mirror I get 22Mbit dloads from so I use that...

 

After this is some stuff like

deb http://www.debian-multimedia.org/ sid main

 

This contains mplayer etc. and codecs not on official sites....

Finally

www.apt-get.org

has thousands of unofficial sites....

 

you add them to

/etc/apt/sources.list

in the format above....

you can add them through synaptic etc. but its usually easier to just edit the file directly

after editing it

apt-get update

Link to comment
Share on other sites

no...

 

how should i do that?

An example from one of my machines:

# The loopback network interface
auto lo
iface lo inet loopback

# The primary network interface
allow-hotplug eth0
auto eth0
iface eth0 inet static
	address 192.168.2.7
	gateway 192.168.2.1
	netmask 255.255.255.0

How did you configure it otherwise?

 

Edit: for dhcp I think it is:

iface eth0 inet dhcp

but I'm not sure

Edited by Mhn
Link to comment
Share on other sites

  • 5 months later...
Can i mix Sid packages with stabe ones? I mean, if i want to install the newest version of certain program, can i install it from sid mirror?

 

You could, but then you might get into a bit of a dependency-nightmare. I'd choose between stable/testing/unstable, however new you want to go, and ensure that you don't mix and match, but be fully of one variant.

Link to comment
Share on other sites

Can i chose a different update mirror ?

 

Yup, first find the mirror you want to connect to, you can then edit /etc/apt/sources.list and edit each url for the mirror you found. I don't know of any other way to do this, although I'm sure there must be a better way. I'm using Ubuntu on one of my machines and it's using a polish mirror by default from install. No idea how it figured it out but it did. You can probably get a list of mirrors from Debian's website.

 

http://www.debian.org/CD/http-ftp/

 

this link is for the download mirrors, but I expect they'll also have updates on there too than just iso's. I think I just used the beginning url for a polish mirror when I was using Debian on my laptop, the rest of the url after the domain name would remain the same.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

×
×
  • Create New...