Skip to content

setup_kernels_arches should not call rpm on Debian/Ubuntu based distros #329

@anbe42

Description

@anbe42

If the distribution is based on Debian/Ubuntu, dkms should not make any calls to rpm.
There are currently unguarded calls in setup_kernels_arches and do_uninstall.

There is an unwanted side effect of creating an empty rpmdb in /.rpmdb/ or /root/.rpmdb/ on Debian and derivatives when performing rpm queries and rpm is installed.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions