Skip to content

Ignore all packages

Jakub Szczerbowski edited this page Aug 14, 2023 · 1 revision

For some use cases it might be useful to turn off package management in aconfmgr (e.g. packages are managed by another declarative package manager like pacdef. This can be accomplished by the following helper function:

function IgnorePackagesAll() {
    mapfile -t ignore_foreign_packages < <(pacman -Qqm)
    mapfile -t ignore_packages < <(pacman -Qqn)
}

Also remember to call the function:

IgnoreAllPackages
Clone this wiki locally