Fix most (all?) pacman-related issues.