Skip to content

Ignore all packages

Xariann edited this page Oct 3, 2025 · 2 revisions

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 IgnoreAllPackages() {
    mapfile -t ignore_foreign_packages < <(pacman -Qqm)
    mapfile -t ignore_packages < <(pacman -Qqn)
}

Also remember to call the function:

IgnoreAllPackages

Clone this wiki locally