dpkg 1.17.10

Closes #30173.

Signed-off-by: Jack Nagel <jacknagel@gmail.com>
Use a custom test class so we can avoid monkeypatching
Move test helpers into Homebrew::TestCase
Switch to Minitest
Use assert_predicate
Use assert_includes
Use assert_silent