Thanks Steve.

On Wed, Mar 21, 2018 at 05:18:53PM -0700, Steve Langasek wrote:
> When autopkgtest 5.2 was recently rolled out to the Ubuntu infrastructure,
> various package-manager-related test suites began to fail as a result of the
> use of APT::Default-Release introduced in 5.1:
> […]
I see autopkgtest already does:

  for default in default_releases:
      script += 'printf "\nPackage: *\\nPin: release 
a=%(default)s\\nPin-Priority: 990\\n" >> 
/etc/apt/preferences.d/autopkgtest-%(release)s; ' % \
          {'release': release, 'default': default}

if there are default releases passed to this function, which there are
only for -updates. But AIUI (jak?) this is effectively the same as
APT::Default-Release anyway, so I'm proposing that we always do this for
the default release instead of the apt.conf.d snippet.

Cheers,

-- 
Iain Lane                                  [ i...@orangesquash.org.uk ]
Debian Developer                                   [ la...@debian.org ]
Ubuntu Developer                                   [ la...@ubuntu.com ]

Attachment: signature.asc
Description: PGP signature

Reply via email to