~alpine/users

get installed size for all installed packages?

Details
Message ID
<VI1PR08MB2911E09DC6FB7661ABAB4F68F76D0@VI1PR08MB2911.eurprd08.prod.outlook.com>
DKIM signature
missing
Download raw message
Hi, I can get a list of canonical names (no version suffix) for all installed packages using 'apk info'.

I can also get the size of several packages, summer installed and some not, using 'apk info -s pkg'. That is, if I call 'apk info -s vim' I will get the size of vim, and also gvim, which is not installed.

I eventually found out that I can use 'info -es' instead of 'info -es' and it will limit itself to existing packages. But I'm not sure this is the right way, and I don't know what kind of pattern matching info does instead of simply displaying the installed package.

Advice?
Reply to thread Export thread (mbox)