def nopackages(pkg_list):
    pkg_list = [pkg for pkg in pkg_list if is_installed(pkg)]
    if pkg_list:
        uninstall(pkg_list)
Require several opkg packages to be uninstalled.
dataset/ETHPy150Open ronnix/fabtools/fabtools/require/opkg.py/nopackages