def unregister_pkg(name, conn=None):
    if conn is None:
        conn = init()

    conn.execute('DELETE FROM packages WHERE package=?', (name, ))
Unregister a package from the package database
dataset/ETHPy150Open saltstack/salt/salt/spm/pkgdb/sqlite3.py/unregister_pkg