ilia_kr Posted May 2, 2007 Report Share Posted May 2, 2007 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. Quote Link to comment Share on other sites More sharing options...
Gowator Posted May 2, 2007 Report Share Posted May 2, 2007 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 Quote Link to comment Share on other sites More sharing options...
ilia_kr Posted May 2, 2007 Author Report Share Posted May 2, 2007 Thanks ! Quote Link to comment Share on other sites More sharing options...
ilia_kr Posted May 2, 2007 Author Report Share Posted May 2, 2007 New one: every time i reboot, i can't connect to the internet. I have to deactivate and then activate back my NIC. That is strange, because right after the install i had a working connection. Any ideas? Quote Link to comment Share on other sites More sharing options...
Mhn Posted May 2, 2007 Report Share Posted May 2, 2007 Have you set it up in /etc/network/interfaces? Quote Link to comment Share on other sites More sharing options...
ilia_kr Posted May 2, 2007 Author Report Share Posted May 2, 2007 no... how should i do that? Quote Link to comment Share on other sites More sharing options...
Mhn Posted May 2, 2007 Report Share Posted May 2, 2007 (edited) 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 May 2, 2007 by Mhn Quote Link to comment Share on other sites More sharing options...
ilia_kr Posted May 5, 2007 Author Report Share Posted May 5, 2007 So i should add "auto eth0" ? Quote Link to comment Share on other sites More sharing options...
Gowator Posted May 5, 2007 Report Share Posted May 5, 2007 So i should add "auto eth0" ? I have auto eth0 iface eth0 inet dhcp Quote Link to comment Share on other sites More sharing options...
ilia_kr Posted May 6, 2007 Author Report Share Posted May 6, 2007 Thank you, it does the trick. Quote Link to comment Share on other sites More sharing options...
ilia_kr Posted October 25, 2007 Author Report Share Posted October 25, 2007 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? Quote Link to comment Share on other sites More sharing options...
ilia_kr Posted October 25, 2007 Author Report Share Posted October 25, 2007 Can i chose a different update mirror ? Quote Link to comment Share on other sites More sharing options...
ianw1974 Posted October 25, 2007 Report Share Posted October 25, 2007 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. Quote Link to comment Share on other sites More sharing options...
ianw1974 Posted October 25, 2007 Report Share Posted October 25, 2007 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. Quote Link to comment Share on other sites More sharing options...
Greg2 Posted October 25, 2007 Report Share Posted October 25, 2007 if i want to install the newest version of certain program, can i install it from sid mirror? I agree with Ian. I would 'not' recommend mixing them... I would suggest using the backports for more up to date packages. Debian Backports Quote Link to comment Share on other sites More sharing options...
Recommended Posts
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.