Version numbers in ppa packages don't support ubuntu upgrades

Bug #1446617 reported by Marc Sherman
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
mythtv (Ubuntu)
Won't Fix
Medium
Thomas Mashos

Bug Description

The version numbers you use for your PPA packages don't include the ubuntu release version they're built for, so if I'm running a current ppa version and then upgrade ubuntu (12.04 -> 14.04 in my case), mythtv isn't upgraded to the version built for the new ubuntu version correctly.

You need to include the ubuntu version before the datestamp/git part.

Thomas Mashos (tgm4883)
Changed in mythtv (Ubuntu):
assignee: nobody → Thomas Mashos (tgm4883)
importance: Undecided → Medium
status: New → Confirmed
Revision history for this message
Thomas Mashos (tgm4883) wrote :

I don't think this is something we can fix. Even if we put in the ubuntu release name, there will still be instances where it wouldn't upgrade properly. For instance

2:0.27.4+fixes.20150418.7860e91-0ubuntu0mythbuntu4 is currently the latest PPA build and is available for trusty. Even if we put in the ubuntu release number, a user upgrading to utopic would only get 2:0.27.1, which isn't newer than the PPA.

The correct, recommended method would be to reactivate the PPA after upgrading.

If someone could out a way to do it, I would consider puting it in.

Changed in mythtv (Ubuntu):
status: Confirmed → Won't Fix
Revision history for this message
Marc Sherman (msherman-projectile) wrote : Re: [Bug 1446617] Re: Version numbers in ppa packages don't support ubuntu upgrades

On 4/26/2015 12:57 AM, Thomas Mashos wrote:
> I don't think this is something we can fix. Even if we put in the ubuntu
> release name, there will still be instances where it wouldn't upgrade
> properly. For instance
>
> 2:0.27.4+fixes.20150418.7860e91-0ubuntu0mythbuntu4 is currently the
> latest PPA build and is available for trusty. Even if we put in the
> ubuntu release number, a user upgrading to utopic would only get
> 2:0.27.1, which isn't newer than the PPA.
>
> The correct, recommended method would be to reactivate the PPA after
> upgrading.

I did reactivate the PPA, and it still didn't upgrade.

In your current trusty PPA builds, your version number ends with
"0ubuntu0mythbuntu3". In Precise, which is older, it ends with
"0ubuntu0mythbuntu4". So when trusty and precise have builds based on
the same git version, the Precise version sorts newer than trusty, which
is clearly not correct.

- Marc

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.