You are not logged in.
Targets (1): firefox-19.0-1
Total Installed Size: 32.52 MiB
Net Upgrade Size: -14.89 MiB
I was really surprised to see the install size change that much? Has anyone heard what Firefox did to achieve this? I would have thought the size would have increased with the addition of a native PDF reader.
I laugh, yet the joke is on me
Offline
Maybe the devs accidentally built it with debug options enabled last time..
I don't know, got it and it works for me so meh.
Offline
Looking at the sources, there is a small increase in size, in fact.
https://ftp.mozilla.org/pub/mozilla.org … .2/source/
https://ftp.mozilla.org/pub/mozilla.org … .0/source/
Looking at the PKGBUILDS, there is no difference apart from the version bump.
Offline
I'm confused by that too.
If I extract the two packages manually, into separate directories, and compare the size with du, 19.0 is slightly bigger than 18.0.2; but pacman reports that firefox is taking up less space than it should be.
/tmp/firefox$ tar -x -C ./firefox18 -f /var/cache/pacman/pkg/firefox-18.0.2-1-x86_64.pkg.tar.xz 2>/dev/null
/tmp/firefox$ tar -x -C ./firefox19 -f /var/cache/pacman/pkg/firefox-19.0-1-x86_64.pkg.tar.xz 2>/dev/null
/tmp/firefox$ du -xd 0 firefox1*
48532 firefox18
48648 firefox19
/tmp/firefox$ pacman -Qi firefox | grep Size
Installed Size : 33296.00 KiB
Weird.
Last edited by WorMzy (2013-02-20 16:12:33)
Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD
Making lemonade from lemons since 2015.
Offline
Hmm... Puzzling. Looking at the git commits it was just a version bump, no changes in build process. Let's see if the package file is larger:
sid ~ > du -h /var/cache/pacman/pkg/firefox-*
16M /var/cache/pacman/pkg/firefox-16.0.1-1-x86_64.pkg.tar.xz
16M /var/cache/pacman/pkg/firefox-16.0.2-1-x86_64.pkg.tar.xz
18M /var/cache/pacman/pkg/firefox-17.0-1-x86_64.pkg.tar.xz
18M /var/cache/pacman/pkg/firefox-17.0.1-1-x86_64.pkg.tar.xz
19M /var/cache/pacman/pkg/firefox-18.0-1-x86_64.pkg.tar.xz
19M /var/cache/pacman/pkg/firefox-18.0-2-x86_64.pkg.tar.xz
19M /var/cache/pacman/pkg/firefox-18.0.1-1-x86_64.pkg.tar.xz
19M /var/cache/pacman/pkg/firefox-18.0.2-1-x86_64.pkg.tar.xz
19M /var/cache/pacman/pkg/firefox-19.0-1-x86_64.pkg.tar.xz
Nope. OK, but that's compressed, what's the installed size of those packages?
sid ~ > pacman -Qi -p /var/cache/pacman/pkg/firefox-* | awk '/^Version/ {printf "%s - ", $3} /^Installed Size/ {print $4 $5} '
16.0.1-1 - 41796.00KiB
16.0.2-1 - 41800.00KiB
17.0-1 - 45172.00KiB
17.0.1-1 - 45152.00KiB
18.0-1 - 48544.00KiB
18.0-2 - 48540.00KiB
18.0.1-1 - 48532.00KiB
18.0.2-1 - 48540.00KiB
19.0-1 - 33296.00KiB
OK. Something did change massively. Let's see which file changed sizes:
(with 19 installed)
~ > pacman -Qlq firefox | grep -vE '/$' | sort | xargs du -h > /tmp/19
(with 18.0.2 installed)
~ > pacman -Qlq firefox | grep -vE '/$' | sort | xargs du -h > /tmp/18
sid tmp > diff 18 19
3c3
< 48K /usr/lib/firefox/blocklist.xml
---
> 52K /usr/lib/firefox/blocklist.xml
25,26c25,26
< 108K /usr/lib/firefox/mozilla-xremote-client
< 8.1M /usr/lib/firefox/omni.ja
---
> 112K /usr/lib/firefox/mozilla-xremote-client
> 8.3M /usr/lib/firefox/omni.ja
Only about a 200k diff there. I can't see what's causing this.
I'm still lost
Offline
Sounds like a bug in makepkg. Something caused it to calculate the installed size wrong and put that into the .PKGINFO
Offline
I used firefox-aurora from heftig's repo (http://pkgbuild.com/~heftig/repo/$arch) for a long time and such huge size jumps happened with every update, although there hasn't changed much, obviously. So I think this is a bug in pacman / makepkg!
Last edited by Army (2013-02-20 16:39:17)
Offline
Ah, so the install size is reading off the PKGINFO and not the actual install size? I'll watch for the next version bump and see if it corrects itself.
I laugh, yet the joke is on me
Offline
Name Old Version New Version Net Change Download Size
firefox 18.0.2-1 19.0-1 0.63 MiB 18.53 MiB
Looks like the PKGINFO is fine for the i686 version.
Last edited by x33a (2013-02-21 08:13:38)
Offline
Ah, so the install size is reading off the PKGINFO and not the actual install size? I'll watch for the next version bump and see if it corrects itself.
If you want the real size you can use this:
>> (echo -n "(" ; stat --printf "%s + " $(pacman -Qql firefox | grep -v '/$') ; echo "0 ) / 1024 / 1024") | bc
47
Last edited by progandy (2013-02-21 07:20:30)
| alias CUTF='LANG=en_XX.UTF-8@POSIX ' |
Offline