Pacman 6 - paralleldownloads

“On pacman it’s automatic now and seems to work very well, then again only time will tell.”

Is this true? I cannot find a line #ParallelDowloads in /etc/pacman.conf to uncomment and enable this.

Add the following line under the [options] line in /etc/pacman.conf

ParallelDownloads = 5

If you have the latest pacman then you likely have /etc/pacman.conf.pacnew which will have all the new options listed. You should try to keep up with these (.pacnew files) and migrate changes or in the very least check them out, pacman does warn when it creates a .pacnew to avoid removing any changes the user may have made.

I have a little script I use for dealing with pacnew files which I’ve posted in the past (need to have/use vim or neovim)


(( UID == 0 )) || { echo "$(basename "$0"): must be run as root" >&2; exit 1; }

typeset -a new
mapfile -t new <<< "$(find /etc -type f -name '*.pacnew')"

for f in "${new[@]}"; do
    nvim -d "$f" "${f%.pacnew}"
	read -re -p "Remove $f? [Y/n]: "
	[[ ${REPLY^} == 'N' ]] && continue
	rm -v "$f"

Yes, I have /etc/pacman.conf.pacnew and I can see the ParallelDownloads option to uncomment. Thank you.

Does this mean that pacman automatically uses /etc/pacman.conf.pacnew by default?

No. This was created so it didn’t override your current pacman.conf file. Just in case you had changed from the default configuration.