You are not logged in.

#1 2008-05-21 21:56:04

Sjoden
Member
From: WA
Registered: 2007-08-16
Posts: 380
Website

[Solved]Update Download/Install Size

I just did a fresh install and did a pacman -Syu and the download size is 36mb, but the install size is 100mb. What is being compressed that much. This is from a 2008.3 RC3 core iso. Its updating things like kernel26 and mkinitcpio. Do those come really compressed, or do they create something larger when installed? I guess I never really paid attention to the install size...

Thanks,
Zack

Last edited by Sjoden (2008-05-28 21:56:56)

Offline

#2 2008-05-21 22:06:52

lucke
Member
From: Poland
Registered: 2004-11-30
Posts: 4,018

Re: [Solved]Update Download/Install Size

Go to /var/cache/pacman/pkg, uncompress pkg.tar.gzs there and see for yourself.

Offline

#3 2008-05-21 22:08:16

Sjoden
Member
From: WA
Registered: 2007-08-16
Posts: 380
Website

Re: [Solved]Update Download/Install Size

I guess I was asking, is that normal? It just seemed odd to me. I didn't realize how compressed those pkgs were.

Offline

#4 2008-05-21 22:23:05

phrakture
Arch Overlord
From: behind you
Registered: 2003-10-29
Posts: 7,879
Website

Re: [Solved]Update Download/Install Size

It is possible that some info is missing in the DBs. We just rebuilt them to contain all size info, but some members may be missing in the DBs you pulled from your mirrors

Offline

#5 2008-05-21 22:28:35

Sjoden
Member
From: WA
Registered: 2007-08-16
Posts: 380
Website

Re: [Solved]Update Download/Install Size

So... Some packages might not have had an 'installed size' value, so it wouldn't show up in pacman's "Total Installed Size: $$. MB"?

Offline

#6 2008-05-21 22:45:05

shining
Pacman Developer
Registered: 2006-05-10
Posts: 2,043

Re: [Solved]Update Download/Install Size

Sjoden wrote:

So... Some packages might not have had an 'installed size' value, so it wouldn't show up in pacman's "Total Installed Size: $$. MB"?

Yeah, but that could cause the problem in the other direction, like there :
http://www.archlinux.org/pipermail/pacm … 11093.html

There is also the fact that packages already downloaded dont appear in total download size. But if you are doing -Su, this does not apply.
There is also xdelta, but this is not used.
So basically, I  can't explain what you are seeing.


pacman roulette : pacman -S $(pacman -Slq | LANG=C sort -R | head -n $((RANDOM % 10)))

Offline

#7 2008-05-21 23:47:47

bender02
Member
From: UK
Registered: 2007-02-04
Posts: 1,328

Re: [Solved]Update Download/Install Size

I think it's pretty normal. For instance, kernel26's pkg.tar.gz is 25M and unpacked it's 93M. The compression ratio 25%-40% is understandable for files like documents and sources (and kernel package is a bunch of drivers (binary) and looots of header files - text documents). If you're curious, just try to compress some text documents (or something that has a lot of text in it). Other instances of this is stuff like tetex or texlive (also mainly textfiles).

Offline

#8 2008-05-22 05:45:51

shining
Pacman Developer
Registered: 2006-05-10
Posts: 2,043

Re: [Solved]Update Download/Install Size

Ah yeah, good point, it seems to be normal indeed smile
It would be interesting to see the ratios for every arch package.
Now that dbs were rebuilt, it should be very easy to do since pacman -Si has all the information now (yeah!)


pacman roulette : pacman -S $(pacman -Slq | LANG=C sort -R | head -n $((RANDOM % 10)))

Offline

Board footer

Powered by FluxBB