You are not logged in.

#1 2011-02-22 00:54:27

schmidtbag
Member
From: NH, USA
Registered: 2011-02-08
Posts: 347

Pacman calculate changes

This isn't an issue, (although it can be) but I'd like to know if there are any plans for pacman where if updating packages, pacman will calculate the file size differences.  One thing I really miss about debian was how when updating, it told me exactly how much disk space would be freed or used up, but pacman just simply tells you how much disk space the package could normally consume, even if its already installed.

Offline

#2 2011-02-22 01:54:50

Lux Perpetua
Member
From: The Local Group
Registered: 2009-02-22
Posts: 74

Re: Pacman calculate changes

This sounds like it wouldn't even be difficult. Wouldn't it basically just have to subtract the current "installed size" (i. e., the one reported by pacman -Qi) from the "installed size" of the new package? It would certainly make the output more useful.

On the other hand, remembering my Ubuntu days, new packages were rarely ever smaller than the ones they replaced, so it felt as if I could practically sense the cruft accumulating under my palm rest every time I did an update. So maybe uninformative output is actually better. (No, that's not a serious objection.)

Offline

#3 2011-02-22 02:09:33

schmidtbag
Member
From: NH, USA
Registered: 2011-02-08
Posts: 347

Re: Pacman calculate changes

Lux Perpetua wrote:

This sounds like it wouldn't even be difficult. Wouldn't it basically just have to subtract the current "installed size" (i. e., the one reported by pacman -Qi) from the "installed size" of the new package? It would certainly make the output more useful.

On the other hand, remembering my Ubuntu days, new packages were rarely ever smaller than the ones they replaced, so it felt as if I could practically sense the cruft accumulating under my palm rest every time I did an update. So maybe uninformative output is actually better. (No, that's not a serious objection.)

actually, i just came from debian a little over a week ago and surprisingly, most updates i got did free up space.  sometimes it might have only been as much as 16kb, but 16kb is enough to install an entire python or ruby script.

Offline

#4 2011-02-22 03:08:13

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

Re: Pacman calculate changes

We actually do this calculation in the git version of pacman now (for free disk space checking).  I suppose it would not be too difficult to output.

Offline

Board footer

Powered by FluxBB