linux - How to properly set installed-size for deb package? -


i'm developing debian packages , have troubles correctly defining 'installed-size' under debian/control.
have created script continuously checks svn repository new revisions, , if found changes calculates code's size (excluding debian folder) du -s command , value placed 'installed-size'.

debian/control file looks follows:

package: myfirstdebpackage version: 1.0 architecture: maintainer: me installed-size: 16664 depends: python (>=2.7), python-appindicator, python-numpy, python-suds section: extras priority: optional homepage: www.example.com description: first deb package 

application's folder structure:

myfirstdebpackage/debian myfirstdebpackage/usr/bin/myfirstdebpackage/<files> 

first installation goes (via apt repository) after creating newer version , trying update package got 'size-mismatch' or 'hash sum mismatch' error.

what's wrong?

i don't expect should change value manually. instead, run debuild (part of devscripts package) in root directory of package. binary package created in root's parent directory , will, of course, have field automatically filled in you.


Comments

Popular posts from this blog

assembly - 8086 TASM: Illegal Indexing Mode -

Java, LWJGL, OpenGL 1.1, decoding BufferedImage to Bytebuffer and binding to OpenGL across classes -

javascript - addthis share facebook and google+ url -