[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#32918: apt: misleading sources.list man page, on "preferred sources"



Package: apt
Version: 0.1.10

hi

the man page says:

       It is important to list sources in  order  of  preference,
       with  the  most  preferred  source listed first. Typically	      
       this will result in sorting by speed from fastest to slow­
       est (CD-ROM followed by hosts on a local network, followed
       by distant Internet hosts, for example).

Now, I would like to do what 22551@bugs.debian.org says
(at least, this is what I understand from 22551):

> It would be very nice if there was some way that I can arrange my
> /etc/apt/sources.list so that it picks up a file from a distribution
> if and only if that file does not exist in the other distributions.

More precisely, I would like that if
there is a stable version of a package 
and there is a unstable (or, frozen) version of a package,
then the stable version of the package be preferred;
so when I read "the  most  preferred  source listed first"
I built the   sources.list   that you see below;
instead,   apt-get  now wants to upgrade all and every package that
I have!


thanks

a.m.



-- System Information
Debian Release: 2.0
Kernel Version: Linux Tonelli 2.0.34 #2 Thu Jul 9 10:57:48 EST 1998 i586 unknown

Versions of the packages apt depends on:
ii  libc6           2.0.7.19981211 GNU Libc: shared libraries
ii  libstdc++2.9    2.91.60-4      The GNU stdc++ library (egcs version)

--- Begin /etc/apt/sources.list (modified conffile)
deb http://non-us.debian.org/debian stable main contrib non-free
deb http://non-us.debian.org/debian-non-US stable non-US
deb http://sunsite.org.uk/packages/debian dists/proposed-updates/
deb http://non-us.debian.org/debian frozen main contrib non-free

--- End /etc/apt/sources.list


Reply to: