No, it will install the newest version of whatever it finds.  The order
of the listings in sources.list only is important if it finds two
sources for the *exact* same file.  The file then will get installed
from the first URI.  This is useful if you have a local mirror that may
not be up to date with a web mirror.  If the local copy is listed first
and it contains a file that is the same on the net mirror then the local
copy will be installed.  

I would not recomend mixing slink and potato sources.  Early in the
potato development this was possible as slink and potato were not too
different and only a few files were updated.  But now most files depend
in some way on libc6 v2.1 or perl5.005 and will cause major problems if
they are installed and you are not willing to upgrade yet.



*- On  4 Dec, Bryan Scaringe wrote about "RE: effect of having stable and 
unstable listed in sources.list"
> Opps,
>         When in doubt, I should read the man pages.
> Looks like apt will go through sources.list, and will install the package from
> the first source it finds.  if I am reading "man sources.list" correctly :)
> 
> Bryan
> 
> 
> On 04-Dec-1999 Pollywog wrote:
>> 
>> On 04-Dec-1999 Bryan Scaringe wrote:
>>> I have seen many examples on this list of people putting entries in
>>> sources.list
>>> for both stable and unstable trees at the same time.  How does apt/dselect
>>> handle this?  Would an "apt-get upgrade" always pull from stable or
>>> unstable?
>>> 
>>> Thanks in advance.
>>>         Bryan
>> 
>> I was just thinking about this last night, and it seems to me that to avoid
>> downgrading my system, it is better to explicitly have "potato" or "slink" or
>> whatever in my sources.list.  After all, slink is always slink, but
>> "unstable"
>> can mean different things at different times.
>> 
>> --
>> Andrew
> 
> 

Brian Servis
-- 
------------------------------------------------------------------------
Mechanical Engineering              |  Never criticize anybody until you  
Purdue University                   |  have walked a mile in their shoes,
[EMAIL PROTECTED]                   |  because by that time you will be a
http://www.ecn.purdue.edu/~servis   |  mile away and have their shoes.

Reply via email to