pacman doesn’t show download progress correctly

Description:
pacman doesn’t show download progress correctly, it is 0% or 100% after download completes

Additional info:

* package version(s)

Linux linux 5.14.14-arch1-1 #1 SMP PREEMPT Wed, 20 Oct 2021 21:35:18 +0000 x86_64 GNU/Linux

.–. Pacman v6.0.1 – libalpm v13.0.1

/ _.-‘ .-. .-. .-. Copyright (C) 2006-2021 Pacman Development Team

‘-. ‘-‘ ‘-‘ ‘-‘ Copyright (C) 2002-2006 Judd Vinet

‘–‘

This program may be freely redistributed under

the terms of the GNU General Public License.

* config and/or log files etc.

* link to upstream bug report, if any

Steps to reproduce:

pacman -Syyu

Read more here: Source link