Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

how to check apt upgradable size

for package in `/usr/bin/apt-show-versions -u | tr ' ' / | cut -f1,6 -d'/' | tr / =` ; do echo -n $package ; sudo apt-cache show $package | grep '^Size:' | cut -d: -f2 ; done | sort -k2 -n
Source by askubuntu.com #
 
PREVIOUS NEXT
Tagged: #check #apt #upgradable #size
ADD COMMENT
Topic
Name
3+5 =