Bug#220799: should include a sample /etc/apt/preferences
Package: apt
Version: 0.5.14
Severity: normal
Tags: patch
A sensible default 'preferences' should be installed, on systems that don't already have one.
The one below appears to be idiot-proof, by barely allowing testing to install anything and not allowing unstable to
install at all (unless I misunderstood the part about the important treshholds being 100 and 999, respectively),
which should protect desktops from Debian newbies who put everything and their mother in their sources.list, but
still allows someone with an understanding of the -t option to pull packages from unstable as needed.
-- Package-specific info:
-- /etc/apt/preferences --
Package: *
Pin: release a=stable
Pin-Priority: 1001
Package: *
Pin: release a=testing
Pin-Priority: 101
Package: *
Pin: release a=unstable
Pin-Priority: 99
-- System Information:
Debian Release: testing/unstable
Architecture: powerpc
Kernel: Linux omena 2.4.22-ben2 #1 ti syyskuun 23. 21:23:03 EEST 2003 ppc
Locale: LANG=fi_FI@euro, LC_CTYPE=fi_FI@euro (ignored: LC_ALL set to fi_FI@euro)
Versions of packages apt depends on:
ii libc6 2.3.2.ds1-10 GNU C Library: Shared libraries an
ii libgcc1 1:3.3.2-1 GCC support library
ii libstdc++5 1:3.3.2-1 The GNU Standard C++ Library v3
-- no debconf information
Package: *
Pin: release a=stable
Pin-Priority: 1001
Package: *
Pin: release a=testing
Pin-Priority: 101
Package: *
Pin: release a=unstable
Pin-Priority: 99
Reply to: