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

Bug#145575: This is a documentation shortcoming



severity 145575 minor
thanks

What seems to happen is that the priority in /etc/apt/preferences
is only used if the priority is not set via /etc/apt/apt.conf or -t.

Thus the man page is misleading where it says:
        The preferences  file  may  further override
        this setting.

Perhaps it should say:
        If this configuration is not set using this option
        or by a line in apt.conf then it may be set in the
        preferences file.
or something like that.


jdthood@thanatos:/etc/apt$ cat apt.conf
APT::Default-Release "testing";
jdthood@thanatos:/etc/apt$ cat preferences
Package: *
Pin: release a=stable
Pin-Priority: 900

Package: *
Pin: release a=testing
Pin-Priority: 997

Package: *
Pin: release a=unstable
Pin-Priority: 200

Package: *
Pin: release o=Debian
Pin-Priority: -10
jdthood@thanatos:/etc/apt$ apt-cache policy mutt
mutt:
  Installed: (none)
  Candidate: 1.4.0-4
  Version Table:
     1.4.0-4 0
        990 http://ftp.debian.org sarge/main Packages
        200 http://ftp.debian.org sid/main Packages
     1.3.28-2 0
        900 http://ftp.debian.org woody/main Packages





Reply to: