ilia_kr
May 2 2007, 12:22 PM
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.
Gowator
May 2 2007, 12:35 PM
Check this 1st... (do read it else the names will be confusing)
http://www.debian.org/distrib/packagesNext
http://www.debian.org/mirror/listUsually 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
ilia_kr
May 2 2007, 02:36 PM
Thanks !
ilia_kr
May 2 2007, 03:38 PM
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?
Have you set it up in /etc/network/interfaces?
ilia_kr
May 2 2007, 04:18 PM
no...
how should i do that?
QUOTE (ilia_kr @ May 2 2007, 06:18 PM)

no...
how should i do that?
An example from one of my machines:
CODE
# 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:
CODE
iface eth0 inet dhcp
but I'm not sure
ilia_kr
May 5 2007, 12:06 PM
So i should add "auto eth0" ?
Gowator
May 5 2007, 12:29 PM
QUOTE (ilia_kr @ May 5 2007, 01:06 PM)

So i should add "auto eth0" ?
I have
auto eth0
iface eth0 inet dhcp
ilia_kr
May 6 2007, 09:22 PM
Thank you, it does the trick.
ilia_kr
Oct 25 2007, 12:54 PM
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?
ilia_kr
Oct 25 2007, 01:44 PM
Can i chose a different update mirror ?
ianw1974
Oct 25 2007, 02:42 PM
QUOTE (ilia_kr @ Oct 25 2007, 02:54 PM)

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.
ianw1974
Oct 25 2007, 02:43 PM
QUOTE (ilia_kr @ Oct 25 2007, 03:44 PM)

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.
Greg2
Oct 25 2007, 03:00 PM
QUOTE (ilia_kr @ Oct 25 2007, 08:54 AM)

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
ilia_kr
Oct 25 2007, 06:35 PM
QUOTE (Greg2 @ Oct 25 2007, 05:00 PM)

I agree with Ian. I would 'not' recommend mixing them... I would suggest using the backports for more up to date packages.
Debian BackportsThanks for that!
ilia_kr
Oct 25 2007, 06:38 PM
Regarding updates: the current update entry in my sources.list begins with security.debyan and contains "etch/updates" string. What does it mean?
Can i apply that string to any mirror and thus it'll be my upgrade source?
ilia_kr
Oct 26 2007, 10:18 AM
Also, what is the right way to install KDE on debian?
P.S. If you can post links to good Debian sites for newbies it would be great...
Greg2
Oct 26 2007, 06:26 PM
QUOTE (ilia_kr @ Oct 26 2007, 06:18 AM)

Also, what is the right way to install KDE on debian?
P.S. If you can post links to good Debian sites for newbies it would be great...
In a terminal as root do
CODE
apt-get install kde
after it's installed, press Ctrl+Alt+backspace and when gdm comes up click on sessions and select KDE.
Documentation links:
debian.org/docDebian Wikidebiantutorials.org
ilia_kr
Oct 27 2007, 02:09 PM
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please
click here.