I am developing debian packages, and I am having problems with the correct definition of "Installed-Size" in DEBIAN / control.
I created a script that constantly checks the svn repository for new changes and, if it detects some changes, then calculates the code size (excluding the DEBIAN folder) with the du -s command, and then this value is placed in the 'set size.
The DEBIAN / control file is as follows:
Package: myfirstdebpackage Version: 1.0 Architecture: all Maintainer: me Installed-Size: 16664 Depends: python (>=2.7), python-appindicator, python-numpy, python-suds Section: extras Priority: optional Homepage: www.example.com Description: My first deb package
Application folder structure:
myfirstdebpackage/DEBIAN myfirstdebpackage/usr/bin/myfirstdebpackage/<files>
The first installation is going well (through the apt repository), but after creating a newer version and trying to update the package, I got a "size mismatch" or "hash sum error" error.
What's wrong?
source share