pacman -Syuit could download the database updates for the system packages; but could not retrieve the packages and hung up. I found that
wget was able to use the proxy fine. So, I triedpacman --debug -S mkvtoolnixto see what was happening and found that it was stuck after detecting the proxy. As
wget was working, I tried uncommenting the following line in pacman.conf.#XferCommand = /usr/bin/wget --passive-ftp -c -O %o %uThis time the upgrade was smooth and I upgraded 66 packages.