LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 12-18-2005, 04:18 AM   #1
giraf
Member
 
Registered: Dec 2005
Distribution: Debian
Posts: 135

Rep: Reputation: 15
source list


Hi ,
testing, 2.6 .

1. Looking at the varies source lists (at the "post source list" thread) I see testing ,unstable and stable at the same source list, what's the logic of that and how does the apt behave ?

2. Do you think I should add sources to the one I got at the (testing) installation ?

Thanks.
 
Old 12-18-2005, 09:07 PM   #2
vharishankar
Senior Member
 
Registered: Dec 2003
Distribution: Debian
Posts: 3,178
Blog Entries: 4

Rep: Reputation: 138Reputation: 138
1. You can actually configure your system to use more than one distribution and then you can ask Debian to prefer only a particular distribution during upgrades while having the ability to install from other distributions if you need to.

Eg. You can set the preferred distribution to "testing" while having "unstable" to install apps not present in "testing" as yet.

2. You don't have to unless you really need packages from "unstable". Otherwise you can also use www.apt-get.org to configure unofficial package repositories to install apps which are not present in the official distro.
 
Old 12-21-2005, 05:27 AM   #3
binary
LQ Newbie
 
Registered: Dec 2005
Distribution: Debian
Posts: 20

Rep: Reputation: 0
Quote:
Originally Posted by giraf
Hi ,
testing, 2.6 .

1. Looking at the varies source lists (at the "post source list" thread) I see testing ,unstable and stable at the same source list, what's the logic of that and how does the apt behave ?

2. Do you think I should add sources to the one I got at the (testing) installation ?

Thanks.
1. Debian's packages have three versions: stable, testing, unstable.
The packages in stable are nearly no bugs, but too old. They are fit for server. The testings' are tested by the offical oganization, and the packages are newer, so they are fit for desktop. The unstables' are only tested by developer and are newest, but has too bugs. They are fit for the developers which develop based on linux.

2. If you add stable, testing and unstable sources into your 'sources.list', the package you get is actually unstable. So I think it's needless to add all sources to the 'sources.list'. But you could use different sites' sources. That means you could use 'us.debian.org' and 'ftp.se.debian.org' the same time.
 
Old 12-21-2005, 05:56 AM   #4
nx5000
Senior Member
 
Registered: Sep 2005
Location: Out
Posts: 3,307

Rep: Reputation: 57
It is fuzzy logic

If you have nothing to do for the next hour, have a look at
Code:
man apt_preferences
 
Old 12-22-2005, 03:47 AM   #5
giraf
Member
 
Registered: Dec 2005
Distribution: Debian
Posts: 135

Original Poster
Rep: Reputation: 15
source list

Thanks I understand now, still if I add source list ,specific to a certain package (for example " deb ftp://ftp.nerim.net/debian-marillat/ unstable main" for mplayer)this will add just the mplayer as unstable package ?
 
Old 12-22-2005, 08:01 AM   #6
michapma
Member
 
Registered: Oct 2003
Location: Zürich
Distribution: Debian
Posts: 537

Rep: Reputation: 39
Almost, but not quite. The repository at debian-marillat is not just specific to one package. It doesn't have all the main repository pacakges, but it has more than just mplayer. If you add the line
deb ftp://ftp.nerim.net/debian-marillat/ unstable main
to your sources.list, and then run (as root or with sudo)
apt-get update
then your system will add the unstable packages available at debian-marillat to your packages index. That means that if you apt-get a package (say mplayer) and APT finds a newer version of it there, it will indeed get the unstable version from debian-marillat. Unfortunately, it will also prefer the unstable version of any dependencies since they are newer, and this can quickly lead to a cascading effect and you'll end up with a whole lot of unstable pacakges in your testing, which can definitely be against your intention.

Using a mixed system can be pretty delicate. To avoid problems, you can use apt-pinning that Harishankar referred to. Here is a great place to start:
http://wiki.serios.net/wiki/Apt-Pinning_on_Debian

If you just want mplayer, it's available from the testing repository of debian-marillat. You can just add the following line to sources.list:
deb ftp://ftp.nerim.net/debian-marillat/ etch main

If you really specifically need the package versions from unstable, then I would definitely prefer the apt-pinning method as opposed to just adding unstable repositories to the list without telling APT your preferences.
 
Old 12-22-2005, 09:44 AM   #7
giraf
Member
 
Registered: Dec 2005
Distribution: Debian
Posts: 135

Original Poster
Rep: Reputation: 15
Thanks,
I really like the quick and detailed answers I get in this forum , very helpful for a newbie like myself.
 
Old 12-22-2005, 09:58 AM   #8
michapma
Member
 
Registered: Oct 2003
Location: Zürich
Distribution: Debian
Posts: 537

Rep: Reputation: 39
Yeah, simple problems sometimes get quick answers. The stuff you really need help with can go longer though!

Once you're done with the hard work, check out this article:
http://www.debian-administration.org/articles/201

By the way, it's good to write out such detailed answers, because it saves time later when people are searching the forum for answers. I have to say though that a quick Google search would have turned up your solution pretty quickly.
 
Old 12-22-2005, 01:47 PM   #9
powadha
Member
 
Registered: Nov 2003
Location: Zwolle
Distribution: Arch
Posts: 651

Rep: Reputation: 31
Unstable isn't for developers. Unstable is perfectly fit for desktops if you have some experience. Developers 'dump' their stuff in experimental and that's where you can expect to find buggy stuff.
 
  


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
Post your source.list craigevil Debian 307 07-16-2023 11:34 AM
sid source list. What does yours look like dukeinlondon Debian 4 07-23-2005 04:49 PM
/etc/apt/source list help salahuddin_66 Debian 5 03-07-2005 07:05 AM
what is the best source to put on apt-get source list j.vilon Debian 3 09-28-2004 08:49 PM
swaret source list k0ljat Slackware 3 01-08-2004 06:29 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian

All times are GMT -5. The time now is 04:41 AM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration