You are not logged in.

#1 2020-10-10 10:05:36

Grant
Member
From: Italy
Registered: 2012-12-15
Posts: 246

Is there a way to get a list of single download sizes for updates?

Hi everyone. I'm sorry if the question title may sound ambiguous but I couldn't get any further text into it; I hope it fits the section properly too.

What I'd like to get is very simple: once you run

pacman -Syu

it shows the _net_ download size that will be done, along with the packets that need be updated of course. Is there a way to get the specific download size for each packet?
For instance, I was wondering something around

Packet_1 50MB
Packet_2 10MB.
.
.
.
Packet_N X MB

where those are the packets that actually need to be updated. I'm looking for that because I could exclude larger packets from updating and have pacman only go through smaller and more important ones (avoiding e.g. icons updates). I thought maybe via expac somehow go through the list and maybe with some text manipulation get such list, but it's beyond my knowledge. Or maybe there's already some app that can sort it out right away would be great.

Thanks for your time.

Last edited by Grant (2020-10-10 10:06:06)

Offline

#2 2020-10-10 10:19:22

loqs
Member
Registered: 2014-03-06
Posts: 18,859

Re: Is there a way to get a list of single download sizes for updates?

Grant wrote:

I could exclude larger packets from updating and have pacman only go through smaller and more important ones (avoiding e.g. icons updates).

That would be a partial upgrade.

Offline

#3 2020-10-10 10:34:13

Grant
Member
From: Italy
Registered: 2012-12-15
Posts: 246

Re: Is there a way to get a list of single download sizes for updates?

I do agree it would loqs, and hence I try being careful. So far I've never run into broken dependencies due to that and e.g. I refrain from hard IgnorePkgs.

Still, it'd help me for bandwidth and disk usage purposes.

Last edited by Grant (2020-10-10 10:35:24)

Offline

#4 2020-10-10 12:56:27

Allan
Pacman
From: Brisbane, AU
Registered: 2007-06-09
Posts: 11,671
Website

Re: Is there a way to get a list of single download sizes for updates?

VerbosePkgLists in pacman.conf

Offline

#5 2020-10-10 13:13:58

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 30,456
Website

Re: Is there a way to get a list of single download sizes for updates?

Grant wrote:

... I refrain from hard IgnorePkgs.

Why?  That would be a better approach.  If you want to avoid updating large packages that you are confident you can (relatively) safely ignore, then just put that list of known-safe(ish)-to-ignore package in IgnorePkgs and be done with it.


"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman

Offline

Board footer

Powered by FluxBB