Bug#839403: apt: define default pin priority for a source in sources.list directly
Package: apt
Version: 1.3
Severity: wishlist
Hello I would like to be able to use something like this in my
sources.list:
deb [pin-priority=500] http://ftp.debian.org/debian experimental main
(or "Pin-Priority: 500" in a RFC822 formatted sources.list entry)
This would let me easily override the NotAutomatic flag... without having
to modify another file and without having to look up what is the proper
tag to match that specific repository.
-- System Information:
Debian Release: stretch/sid
APT prefers unstable
APT policy: (500, 'unstable'), (500, 'testing'), (500, 'stable'), (500, 'oldstable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 4.7.0-1-amd64 (SMP w/4 CPU cores)
Locale: LANG=fr_FR.utf8, LC_CTYPE=fr_FR.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
Versions of packages apt depends on:
ii adduser 3.115
ii debian-archive-keyring 2014.3
ii gpgv 2.1.15-3
ii init-system-helpers 1.45
ii libapt-pkg5.0 1.3
ii libc6 2.24-3
ii libgcc1 1:6.2.0-5
ii libstdc++6 6.2.0-5
Versions of packages apt recommends:
ii gnupg 2.1.15-3
ii gnupg1 1.4.21-1
ii gnupg2 2.1.15-3
Versions of packages apt suggests:
ii apt-doc 1.3
ii aptitude 0.8.3-1
ii dpkg-dev 1.18.10
ii powermgmt-base 1.31+nmu1
ii python-apt 1.1.0~beta5
ii synaptic 0.83+b1
-- no debconf information
Reply to: