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

Bug#36223: Sections in sources.list



Package: apt
Version: 0.3.4
Severity: wishlist

I have a slink system installed from CD-ROM. I get any updates and all 
the non-free stuff from the net. However occasionally I want to get
something from potato. For this reason I have a sources.local that
only contains the cdrom and a local dir, sources.slink that contains
those plus the local ftp mirror and a sources.potato that contains
unstable. I symlink sources.list to the appropriate one depending on
what I want.

However that is a kludge. It would be nicer if the sources.list could
contain sections, i.e. it would something like

# use packages from these sections by default 
default local slink-net

[local]
deb "cdrom:Debian GNU_Linux slink (2.1) 2_4 main binary-i386 section 2, contrib SAM19990302/" debian/dists/frozen/contrib/binary-i386/
deb "cdrom:Debian GNU_Linux slink (2.1) 1_4 main binary-i386 section 1
SAM19990302/" debian/dists/frozen/contrib/binary-i386/
[slink]
deb http://www.debian.org/~mblevin/gnome-apt unstable main
deb http://www.debian.org/~jim/debian-gtk-gnome/gnome-stage-slink unstable main
deb ftp://sunsite.cnlab-switch.ch/mirror/debian stable main contrib non-free
deb ftp://sunsite.cnlab-switch.ch/mirror/debian-non-US stable non-US
[potato]
deb ftp://sunsite.cnlab-switch.ch/mirror/debian unstable main contrib non-free

It would be nice if the various user interfaces were aware of
that. Then you could do

1. I cannot use the modem right now, install the package from
localonly.

2. Dist upgrade (this would then _not_ pick up unstable, but just the
security fixes in slink)

3. Install package fubar from potato but satisfy as much dependencies
as possible from the CDROM.

4. The UI could show the latest version on the CD, in slink and in potato.

5. IF we need to go the net and installing the potato version is not
more costly then getting the slink version, take the potato version.

etc. I think a lot of people have a mixed stable/unstable setup like
me and would appreciate this.

Jan


Reply to: