package changes size?

seth vidal skvidal at fedoraproject.org
Fri Oct 26 14:04:12 UTC 2007


On Fri, 2007-10-26 at 16:03 +0200, Thorsten Leemhuis wrote:
> On 26.10.2007 14:42, seth vidal wrote:
> > On Fri, 2007-10-26 at 14:19 +0200, Thorsten Leemhuis wrote:
> >> It's likely easier -- the rpm header contains all the needed info
> >> already afaik. And it's even in the data that yum downloads afaics; take
> >> a look at the file /updates/7/x86_64/repodata/primary.xml.gz on your
> >> favorite mirror and you'll for each package see something like this:
> >> [...]
> >>   <size package="400311" installed="1213843" archive="1218576"/>
> >> [...]
> >> I suppose that's the data that is needed and it's likely in the
> >> primary.sqlite.bz2 (which yum prefers these days iirc) as well.
> >> David, maybe just file a bug as RFE and see what happens.
> > 
> > I can tell you what'll happen :)
> 
> :-))
> 
> > The issue is where to put the data on the screen and how to keep from
> > confusing the user.
> 
> Yes.
> 
> > We could definitely say 'total installed size' in
> > the total summary but putting installed size next to download size for
> > each package just eats up valuable screen real-estate on a console.
> 
> Agreed.
> 
> > So if you want to file a bug, no problem, just have a suggestion on
> > where you want this to show up.
> 
> Well, this (and similar mailing list threads; I think I saw others in
> the past that started similar to this one) could just be avoided by
> showing the same numbers on install and uninstall afaics. E.g. during
> install show the size that the package will take on disc instead of the
> download size for the package (which is currently displayed during
> install). In the "Total download size: " of course just continue to show
> the size of the stuff that gets downloaded -- most people are afaics
> used to compression when it comes do downloads and thus won't wonder why
> "sum of all packages != download size".
> 
> Just my 2 cent. But it's mainly a cosmetic problem...
> 

the problem is for installing packages I'm more worried about how long
I'll have to wait to download all of these and not 'how big will they be
on disk'. Do you see what I mean?

if I read 'size will be 1.2GB' when the download is only 400MB I'll be a
bit worried about downloading it all.

understand?

-sv





More information about the fedora-test-list mailing list