You are not logged in.

#1 2014-02-03 09:10:10

rubenvb
Member
Registered: 2011-01-14
Posts: 99

How come "pacman -Syu" usually shows a negative next upgrade size?

I'm used to updates being bigger than the original, or at least equal in size.

The past half year, all my updates on different systems have usually been decreasing in size. I don't think pacman deletes old versions of packages in its cache unless I explicitly do that myself.

So, how come?

Offline

#2 2014-02-03 09:15:41

Kartious
Member
From: UK
Registered: 2013-03-23
Posts: 311

Re: How come "pacman -Syu" usually shows a negative next upgrade size?

Just because the package it updated doesn't mean the size will increase. The integrity of the package is changed to a new version that is released onto the repos, so you can get packages that have been updated that are smaller in size to the original package.

Offline

#3 2014-02-03 12:26:50

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: How come "pacman -Syu" usually shows a negative next upgrade size?

Maybe some old unused / broken code has been removed? Have you checked upstream?
In some cases a different way of packaging stuff resulted in huge differences in size.

Offline

#4 2014-02-03 15:52:25

Scimmia
Fellow
Registered: 2012-09-01
Posts: 11,636

Re: How come "pacman -Syu" usually shows a negative next upgrade size?

The devs have been removing static libs and libtool files from the packages when they're not needed.

Offline

#5 2014-02-03 17:07:23

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: How come "pacman -Syu" usually shows a negative next upgrade size?

Scimmia wrote:

The devs have been removing static libs and libtool files from the packages when they're not needed.

https://mailman.archlinux.org/pipermail … 25454.html
https://mailman.archlinux.org/pipermail … 25542.html

Offline

#6 2014-02-03 17:38:39

alphaniner
Member
From: Ancapistan
Registered: 2010-07-12
Posts: 2,810

Re: How come "pacman -Syu" usually shows a negative next upgrade size?

rubenvb wrote:

I don't think pacman deletes old versions of packages in its cache unless I explicitly do that myself.

FTR, the cache is completely unrelated to upgrade size.


But whether the Constitution really be one thing, or another, this much is certain - that it has either authorized such a government as we have had, or has been powerless to prevent it. In either case, it is unfit to exist.
-Lysander Spooner

Offline

Board footer

Powered by FluxBB