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.
Hi, I also think this would be nice to have. Adding an extra field to sources.list is simpler than having to maintain an additional file for the pinning. Besides the common use case of adding unstable to a system running Debain testing, it would also make it easier to add additional suites to a system running stable to pull in debian-installer-*-netboot-* packages for multiple releases. It would also be nice if there were named values as well, like Pin-Priority: not-automatic Pin-Priority: automatic-upgrades having similar effect as "NotAutomatic: yes" respectively "ButAutomaticUpgrades: yes" in Release. (Obivously choosing a nice name is hard.) Ansgar
Hello, Today I stumbled upon another case where something like this would have been useful, to be able to tweak priorities of APT repositories injected in autopkgtest test chroots with --add-apt-release: https://salsa.debian.org/freexian-team/debusine/-/merge_requests/300#note_432326 This feature request doesn't seem super hard to implement, is there any chance that someone could tackle it? Cheers,