You are not logged in.
Let's say I do a
sudo pacman -Syyuand then the download progress of each individual program is showed like this:
sudo-1.9.1-1-x86_64 1071,3 KiB 2033 KiB/s 00:01 [##############################] 100%Now is there a way to keep these information AND display (preferably at the bottom) how the entire update process stands at the moment?
Last edited by archnoon (2020-07-23 14:15:15)
Offline
Yes, look into /etc/pacman.conf and look for the word "TotalDownload" and uncomment that line. This will then change how the numbers and % of the output works, pacman will start showing the total progress. Only the "[######------]" part of the output will still be for the individual packages.
Last edited by Ropid (2020-07-23 12:12:31)
Offline
$ man pacman.confOffline
Let's say I do a
sudo pacman -Syyu
This is solved but please don't use 'pacman -Syyu' or leave it at the forums maybe suggesting other newbies to use it, mistakenly thinking it's the right way, it puts unecesary load to the servers because it downloads the repo files even if they are up to date.
Let's hope this doesn't need a BIG warning somewhere...
Last edited by GaKu999 (2020-07-23 15:43:46)
Offline
archnoon wrote:Let's say I do a
sudo pacman -SyyuThis is solved but please don't use 'pacman -Syyu' or leave it at the forums maybe suggesting other newbies to use it, mistakenly thinking it's the right way, it puts unecesary load to the servers because it downloads the repo files even if they are up to date.
Let's hope this doesn't need a BIG warning somewhere...
Per https://wiki.archlinux.org/index.php/Mi … kage_lists this actually is something that needs being warned against. -Syyu can result in partial upgrades under most conditions that would lead you to actually want to use it. It's generally better to use -Syyuu in that case.
-Syyu is still useful if you didn't change mirrors, but you got corrupted databases (e.g. captive portal returns html files).
Last edited by eschwartz (2020-07-23 20:51:43)
Managing AUR repos The Right Way -- aurpublish (now a standalone tool)
Offline
GaKu999 wrote:archnoon wrote:Let's say I do a
sudo pacman -SyyuThis is solved but please don't use 'pacman -Syyu' or leave it at the forums maybe suggesting other newbies to use it, mistakenly thinking it's the right way, it puts unecesary load to the servers because it downloads the repo files even if they are up to date.
Let's hope this doesn't need a BIG warning somewhere...Per https://wiki.archlinux.org/index.php/Mi … kage_lists this actually is something that needs being warned against. -Syyu can result in partial upgrades under most conditions that would lead you to actually want to use it. It's generally better to use -Syyuu in that case.
-Syyu is still useful if you didn't change mirrors, but you got corrupted databases (e.g. captive portal returns html files).
Huh, good to know that's covered already, still I had to mention because there's more than a few archers that use 'pacman -Syyu' always for no reason, even when it's unneded. and then there are those that do 'pacman -Sy something'...
To make it worse there are folks that follow external "guides" and do 'pacman -Syy something' for every darn package!
Just to waste bandwith and end with a broken system...
But you already know that do you
.
Anyways, lets leave the solved thread rest. All the info here may be a good reminder for any newbie that's still unsure of how to use pacman properly.
At least for a while, before it ends buried in a bazillion threads a while later...jesh mods have hard work...
Last edited by GaKu999 (2020-07-23 23:14:17)
Offline