Project

General

Profile

Actions

Bug #687

closed
VJ PM

ppa: version number issue

Bug #687: ppa: version number issue

Added by Victor Julien over 13 years ago. Updated almost 11 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Target version:
Affected Versions:
Effort:
Difficulty:
Label:

Description

as reported on oisf-users:

Noticed something odd. If I add both the stable and the beta PPA to my
system, it picks the 1.4rc1 (from beta) over 1.4 (from stable). IIRC how
apt/dpkg works is it compares version numbers. It seems in it's logic
1.4rc1 > 1.4.

In another project I worked around this by slightly changing the version
number of the package:

final 1.4
beta 1.4~beta1
rc 1.4~rc1

This works because in Debian/Ubuntu the complete version will look like
this:

1.4-1ubuntu1
1.4~beta1-1ubuntu1
1.4~rc1-1ubuntu1

I guess when comparing these version strings the "-" is considered >
that the "~".

Can you replace the 1.4rc1 pkg from the beta ppa with 1.4~rc1 as a test?

PM Updated by Peter Manev over 13 years ago Actions #1

  • Status changed from Assigned to Resolved
  • % Done changed from 0 to 100

Fixed and updated in Ubuntu PPA

VJ Updated by Victor Julien over 13 years ago Actions #2

  • Status changed from Resolved to Closed

Confirmed, thanks Peter.

VJ Updated by Victor Julien almost 11 years ago Actions #3

  • Target version set to Packaging/PPA
Actions

Also available in: PDF Atom