Re: Package versioning troubles
Svata Dedic <[EMAIL PROTECTED]> 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 include testing iptraf*changes and reprepro adds the source (if any), the debs, updates the Sources, Pckages, Release and Release.gpg files. MfG Goswin -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: Package versioning troubles
On Nov 23 2005, Roberto C. Sanchez wrote: > What is the output of `apt-cache policy iptraf` ? The thing is that if the original poster is running a sufficiently new apt, then it will give preference to "trusted" (i.e., signed) repositories and ignore those that aren't. Hope this helps, Rogério Brito. -- Rogério Brito : [EMAIL PROTECTED] : http://www.ime.usp.br/~rbrito Homepage of the algorithms package : http://algorithms.berlios.de Homepage on freshmeat: http://freshmeat.net/projects/algorithms/ -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: Package versioning troubles
On Wed, Nov 23, 2005 at 10:11:17PM +0100, Svata Dedic wrote: > Hello, > > Thanks for the pointers, I have already seen them in the past - and now > I hopefully made a proper repository. But to be more specific about the > situation: > - apt-get update proceeds OK, > - aptitude shows the customized package as a version of "iptraf" (this > is OK) > - I can do apt-get install iptraf=2.7.0-8.0.whatever_custom_version and > it works OK, > > but when "official" iptraf (2.7.0-8) is installed, the iptraf package is > not recognized as upgradeable to 2.7.0-8.0.whavever_custom_version > (which I would like to achieve). So plain > apt-get install iptraf > will not do anything > What is the output of `apt-cache policy iptraf` ? -Roberto -- Roberto C. Sanchez http://familiasanchez.net/~roberto pgpdY1YivMuS1.pgp Description: PGP signature
Re: Package versioning troubles
Hello, Thanks for the pointers, I have already seen them in the past - and now I hopefully made a proper repository. But to be more specific about the situation: - apt-get update proceeds OK, - aptitude shows the customized package as a version of "iptraf" (this is OK) - I can do apt-get install iptraf=2.7.0-8.0.whatever_custom_version and it works OK, but when "official" iptraf (2.7.0-8) is installed, the iptraf package is not recognized as upgradeable to 2.7.0-8.0.whavever_custom_version (which I would like to achieve). So plain apt-get install iptraf will not do anything Thanks! -Svata Roberto C. Sanchez wrote: > On Wed, Nov 23, 2005 at 09:06:53PM +0100, Svata Dedic wrote: >>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 > > Maybe these can help? > > http://familiasanchez.net/~roberto/howtos/debrepository > http://familiasanchez.net/~roberto/howtos/debcustomize > -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: Package versioning troubles
On Wed, Nov 23, 2005 at 09:06:53PM +0100, Svata Dedic wrote: > 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). > > 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 > Maybe these can help? http://familiasanchez.net/~roberto/howtos/debrepository http://familiasanchez.net/~roberto/howtos/debcustomize -Roberto -- Roberto C. Sanchez http://familiasanchez.net/~roberto pgpwsABuAWrln.pgp Description: PGP signature
Package versioning troubles
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). 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 -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]