← Back to team overview

launchpad-users team mailing list archive

Re: PPA: Newer version available

 

On 12/10/18 11:41, Jim Popovitch wrote:
> On Fri, 2018-10-12 at 11:17 +1100, William Grant wrote:
>> On 12/10/18 08:21, Jim Popovitch wrote:
>>> Hello,
>>>
>>> I'm creating a PPA for some patched versions of Mailman at https://c
>>> ode.
>>> launchpad.net/~jimpop/+archive/ubuntu/mailman but LP is showing
>>> "(Newer
>>> version available)" for pkgs in the PPA.  Is there something wrong
>>> with
>>> my versioning?
> 
>> If you click on the link, you'll see that the current version in
>> bionic is 1:2.1.26-1, while yours is 2.1.29~vhost-
>> 0~1021~ubuntu18.04.1. The 1: at the start of the Ubuntu version is an
>> "epoch", and it makes that version greater than any version without an
>> epoch, so apt won't pick the version from your PPA. See the Debian
>> Policy Manual[0] for a full description of the version syntax.
> 
>> The best way to fix this is probably to add a 1: to the version
>> template on https://code.launchpad.net/~jimpop/+recipe/mailman-vhost.
>> But you should also check your debian/changelog[1], since it has an
>> epoch of 2 rather than 1 and seems to be missing all the changelog
>> entries from Ubuntu.
> 
>> [0]
>> https://www.debian.org/doc/debian-policy/ch-controlfields.html#s-f-ver
>> sion
>> [1]
>> https://bazaar.launchpad.net/~jimpop/mailman/mailman-vhost-ppa-recipe/
>> view/head:/debian/changelog
> 
> 
> 
> Thanks William, and Christian too.  I'll change the epoch to a 1.  I
> always thought that on Debian the epoch 2 took priority over 1, but
> perhaps I'm wrong on that.
> 
> As for the change logs, I stripped out everything because of some
> earlier build/parse errors, and I just failed to restore the full
> contents.

Epoch 2 does take priority over epoch 1, but your recipe has a version
template of "{debupstream}-0~{revno}". The epoch isn't part of the
upstream version, so it isn't pulled across from the changelog.

William.

Attachment: signature.asc
Description: OpenPGP digital signature


References