Version of modified package
Hi,
I've made a modified php5 package. I have removed some databases, such as mysql and mssql. And also removed some patches.
The main reason I did this, is to learn how to make (or modify) packages for my own needs.
But now I have an issue with the version numbers. When I go to the page of my PPA, next to my package is this line:
5.3.2-1san1 (Newer version available)
The problem is, the 'newer version'. Could someone explain to me why it is detecting ubuntu's main php5 package as being newer? It is the same package, but modified.
My guess is that it is because Ubuntu's package uses '1ubuntu4.5' as version, and I am using a 1 (-1san1) as version. Are these the versions that are being compared? 4.5 versus 1? Is this right?
If it is, I suppose I should either add something to ubuntu's 4.5 (to 4.6 or 4.5.1 maybe?)
OR
I should append something after Ubuntu's version. Like this: php5-1ubuntu4.
Which one is the right way? (If this is necessary of course)
If that's the case that i should modify the version, how do I make sure, that when ubuntu releases for example version 4.6, my personal package isn't being overwritten by ubuntu's php5? Because then I loose my modifications..
The manual says this:
If you're creating an alternative version of a package already available in Ubuntu's repositories, you should ensure that:
* your package supersedes the official Ubuntu version
* future Ubuntu versions will supersede your package.
As far as I know, my version is superseding the official Ubuntu version.
But i don't want future Ubuntu versions to supersede my package (because then, it would overwrite it, or wouldn't it?)
I hope someone can help me,
Thanks.
Sander.
Question information
- Language:
- English Edit question
- Status:
- Solved
- For:
- Ubuntu Edit question
- Assignee:
- No assignee Edit question
- Solved by:
- Mika Wahlroos
- Solved:
- Last query:
- Last reply: