Can reprepro accept a new version of a package into the repository?

Posted by kai on Server Fault See other posts from Server Fault or by kai
Published on 2011-06-20T16:07:22Z Indexed on 2011/06/20 16:25 UTC
Read the original article Hit count: 544

Filed under:
|
|
|

I have installed a package into my own debian package repository like so:

$ sudo reprepro -b /var/packages/ubuntu includedeb maverick my-package_0.8-0_all.deb 
my-package_0.8-0_all.deb: component guessed as 'main'
Exporting indices...

I have installed my package on a few machines using apt-get install.

I have now added new features to my software and would like to add a new minor version of my package to the repository so that I may update my machines using apt-get upgrade.

I try to do this like so:

$ sudo reprepro -b /var/packages/ubuntu includedeb maverick my-package_0.9-0_all.deb 
my-package_0.9-0_all.deb: component guessed as 'main'
Skipping inclusion of 'my-package' '1.0-0' in 'maverick|main|i386', as it has already '1.0-0'.
Skipping inclusion of 'my-package' '1.0-0' in 'maverick|main|amd64', as it has already '1.0-0'.

It looks like I need to tell reprepro that this is a new version of the same package but I have no idea how to do this. I have read the reprepro man page several times and searched on the net for a couple of hours but I have not found any answers.

Am I missing something?

Many thanks.

© Server Fault or respective owner

Related posts about linux

Related posts about debian