Bug#222267: Example in apt_preferences(5) does not match descriptive text
Package: apt
Version: 0.5.14
Severity: minor
The man page for apt_preferences(5) includes an example with some
associated descriptive text stating what the example does. However, the
example does not match what the text says.
The following patch fixes the example to match the descriptive text.
--- apt_preferences.5.old 2003-11-26 15:00:00.000000000 -0800
+++ apt_preferences.5 2003-11-26 14:59:50.000000000 -0800
@@ -163,8 +163,8 @@ and whose release Version number is "3.0
.nf
Package: *
-Pin: release a=unstable, v=3.0
-Pin-Priority: 50
+Pin: release a=stable, v=3.0
+Pin-Priority: 500
.fi
.SS "HOW APT INTERPRETS PRIORITIES"
.PP
-- Package-specific info:
-- apt-config dump --
APT "";
APT::Architecture "i386";
APT::Build-Essential "";
APT::Build-Essential:: "build-essential";
APT::Default-Release "testing";
Dir "/";
Dir::State "var/lib/apt/";
Dir::State::lists "lists/";
Dir::State::cdroms "cdroms.list";
Dir::State::userstatus "status.user";
Dir::State::status "/var/lib/dpkg/status";
Dir::Cache "var/cache/apt/";
Dir::Cache::archives "archives/";
Dir::Cache::srcpkgcache "srcpkgcache.bin";
Dir::Cache::pkgcache "pkgcache.bin";
Dir::Etc "etc/apt/";
Dir::Etc::sourcelist "sources.list";
Dir::Etc::vendorlist "vendors.list";
Dir::Etc::vendorparts "vendors.list.d";
Dir::Etc::main "apt.conf";
Dir::Etc::parts "apt.conf.d";
Dir::Etc::preferences "preferences";
Dir::Bin "";
Dir::Bin::methods "/usr/lib/apt/methods";
Dir::Bin::dpkg "/usr/bin/dpkg";
DPkg "";
DPkg::Pre-Install-Pkgs "";
DPkg::Pre-Install-Pkgs:: "/usr/sbin/dpkg-preconfigure --apt || true";
-- /etc/apt/preferences --
Package: *
Pin: release testing
Pin-Priority: 900
Package: *
Pin: release unstable
Pin-Priority: 600
-- /etc/apt/sources.list --
deb http://http.us.debian.org/debian testing main
deb http://http.us.debian.org/debian unstable main
deb http://non-us.debian.org/debian-non-US testing/non-US main
deb http://non-us.debian.org/debian-non-US unstable/non-US main
deb http://security.debian.org testing/updates main
-- System Information:
Debian Release: testing/unstable
Architecture: i386
Kernel: Linux zzyzx 2.4.22-1-386 #1 Fri Sep 5 20:56:48 EST 2003 i686
Locale: LANG=en_US.ISO-8859-1, LC_CTYPE=en_US.ISO-8859-1
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-4 GCC support library
ii libstdc++5 1:3.3.2-4 The GNU Standard C++ Library v3
-- no debconf information
Reply to: