Bug 1531: Check for packages 84/11484/2
authorbeierlm <mark.beierl@canonical.com>
Tue, 7 Dec 2021 21:02:22 +0000 (16:02 -0500)
committerbeierlm <mark.beierl@canonical.com>
Fri, 10 Dec 2021 02:15:43 +0000 (03:15 +0100)
Fixes logic to check for packages.  Originally based on dpkg -l, which could
return packages that were once installed, then removed.  Instead a new function
has been created that takes a list of packages to check and uses dpkg -L, which
will return an error if a package is not, or no longer, installed

Fixes bug 1531

Change-Id: Id096cf969aacca62dc7783b803e7925c796e325d
Signed-off-by: beierlm <mark.beierl@canonical.com>

No differences found