[rocketmouse@archlinux ~]$ pacman -Qi virtualbox-host-dkms | grep Depends Depends On : dkms gcc make linux-headers That's bad. Now that you mention it, I guess no pacman.conf workaround or empty dummy package would prevent trying to build the modules, it just would prevent installing the headers,that are useless for you.