[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Package versioning troubles



Svata Dedic <belgarat@mail.klfree.net> writes:

> Hello,
>
> sorry for a newbie question, but:
> I have patched a little some package (iptraf, in fact) - and created a
> package with adjusted version number. I added a changelog entry,
> changing the patchlevel number (the number after dash), so the new
> .deb's version is 2.7.0-9 (the original version was 2.7.0-8).

You should pick a version that is compatible with new maintainer
uploads, NMUs and security uploads. I would use 2.7.0-8a0.mrvn.1.

> When I add it to my repository (rebuild Packages.gz), and do apt-get
> update ; apt-get install iptraf, the original iptraf package version
> 2.7.0-8 is not upgraded to 2.7.0-9.
>
> I really don't know why, and I suspect I am making some very stupid
> error. For a short play, the repository is at
> 	deb http://belgarat.klfree.net/klfree-debian/ testing unofficial
>
> Thanks for any help,
> -Svata

I don't know what you are using for the repository but I can recommend
reprepro. After a little configuration you would just do

reprepro -b <root of the repository> include testing iptraf*changes

and reprepro adds the source (if any), the debs, updates the Sources,
Pckages, Release and Release.gpg files.

MfG
        Goswin



Reply to: