Fix Banana Pro error: command failed to execute correctly in Arch Linux

I am a big fan of Arch Linux and I use it everywhere - as my main OS, at all my computers and even on SoCs like Banana Pro. Recently I installed the Arch Linux image on my Banana Pro and faced an issue that every time I would install a package with pacman, it produced the following error:

error: command failed to execute correctly

Here is a fix to get rid of this message.

Banana Pro – change display resolution for framebuffer automatically on boot

If you own a SoC (System-on-a-chip) named Banana Pro, you might face the issue that most Linux distros available for this board do not respect the display resolution that you set in the uEnv.txt file. Especially in case you are using some HDMI -> VGA converter, this resolution-related issue can be expected. Here is a working solution to fix it.