View Single Post
qwerty12's Avatar
Posts: 4,274 | Thanked: 5,358 times | Joined on Sep 2007 @ Looking at y'all and sighing
#4
Originally Posted by lardman View Post
I thought the application author had to manually fill in that field in the control file? In which case it's not calculated on-the-fly so it's anyone's guess
That's if the package is made by hand (ar, dpkg-deb --build etc) and not using debhelper like it should be (Installed-Size is filled out when dh_gencontrol is run as part of debian/rules).

To calculate the installed-size manually (for those diehards that do still make packaged by hand) : "ar x foo.deb data.tar.gz ; mkdir tmp ; tar -C tmp -xzf data.tar.gz ; du -sb tmp ; rm -rf rmp data.tar.gz "
 

The Following 2 Users Say Thank You to qwerty12 For This Useful Post: