← Back to team overview

launchpad-users team mailing list archive

Re: PPA: Newer version available

 

On 12/10/18 08:21, Jim Popovitch wrote:
> Hello,
> 
> I'm creating a PPA for some patched versions of Mailman at https://code.
> 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-version
[1]
https://bazaar.launchpad.net/~jimpop/mailman/mailman-vhost-ppa-recipe/view/head:/debian/changelog

Attachment: signature.asc
Description: OpenPGP digital signature


Follow ups

References