You are not logged in.

#1 2020-07-23 11:34:10

archnoon
Member
Registered: 2020-05-06
Posts: 6

[Solved] Show the total download progress of updating programs (pacman

Let's say I do a

sudo pacman -Syyu

and 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

#2 2020-07-23 12:10:01

Ropid
Member
Registered: 2015-03-09
Posts: 1,069

Re: [Solved] Show the total download progress of updating programs (pacman

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

#3 2020-07-23 13:13:24

finoderi
Member
Registered: 2020-06-12
Posts: 76

Re: [Solved] Show the total download progress of updating programs (pacman

$ man pacman.conf

Offline

#4 2020-07-23 15:43:23

GaKu999
Member
From: US/Eastern
Registered: 2020-06-21
Posts: 696

Re: [Solved] Show the total download progress of updating programs (pacman

archnoon wrote:

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)


My reposSome snippets

Heisenberg might have been here.

Offline

#5 2020-07-23 20:50:57

eschwartz
Fellow
Registered: 2014-08-08
Posts: 4,097

Re: [Solved] Show the total download progress of updating programs (pacman

GaKu999 wrote:
archnoon wrote:

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...

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

#6 2020-07-23 23:09:03

GaKu999
Member
From: US/Eastern
Registered: 2020-06-21
Posts: 696

Re: [Solved] Show the total download progress of updating programs (pacman

eschwartz wrote:
GaKu999 wrote:
archnoon wrote:

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...

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 tongue.
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)


My reposSome snippets

Heisenberg might have been here.

Offline

Board footer

Powered by FluxBB