On Fri, 14 Feb 2025 at 15:46:48 +0100, Drew Parsons wrote:
> I'm launching tests using autopkgtest-virt-null, as
>   autopkgtest -B -- null
> 
> The new error comes from add_apt_preference.

This looks like fallout from having fixed #1052119, for which autopkgtest
tries to install apt preferences that will make sure the packages that we
intend to test are actually being tested.

adt_testbed needs to skip that step for testbeds that don't have the
root-on-testbed capability, and to avoid making undesired changes if
autopkgtest is run as root, it should probably also skip that step for
any testbed that doesn't have the revert capability (which in practice
means virt-null).

    smcv

Reply via email to