Repacked proprietary software keeps updating the same deb

Posted by Johannes on Ask Ubuntu See other posts from Ask Ubuntu or by Johannes
Published on 2013-08-20T14:46:15Z Indexed on 2013/10/30 10:22 UTC
Read the original article Hit count: 277

Filed under:
|
|
|

I repacked a proprietary program delivered as tar file to a deb file for having a company wide repository.

I used reprepro to set up a repository and signed it. A unix timestamp is faking a versioning numbering, so I can have different (real) versions installed at the same time. Almost everything works as expected. The deb file looks like this: mysoft8.0v6_1366455181_amd64.deb

Only problem on a client machine it tries to install the same deb file over and over again because it thinks its an update. What do I miss:

control file in deb package looks like this:

Package: mysoft8.0v6
Version: 1366455181
Section: base
Priority: optional
Architecture: amd64
Installed-Size: 1272572 
Depends:
Maintainer: me
Description: mysoft 8.0v6 dpkg repackaging

and the config in the repository: /mirror/mycompany.inc/conf/distributions:

Origin: apt.mycompany.inc
Label: apt repository
Codename: precise
Architectures: amd64 i386
Components: main
Description: Mycompany debian/ubuntu package repo
SignWith: yes
Pull: precise

Help much appreciated

Added guide: This Is the guide I used to create the repository.

© Ask Ubuntu or respective owner

Related posts about apt

Related posts about packages