Multiple python package versions in PPA

Asked by Francis Murtagh

I've added a python package called python3-pyarmnn to Debian ( but also have it pushed to a Ubuntu Launchpad PPA (

When I push new versions of the packaging it seems to overwrite the previous, I'm assuming this is by design as the archive should only have one version of the software at a time.

However, this python3-pyarmnn package is just a wrapper for a C++ library libarmnn26, 26 being its major version.
So from the PPA the user can apt install libarmnn26 or libarmnn25 etc, but if they install python3-pyarmnn it's always the latest and so that drags in the latest libarmnn i.e 26.

I tried installing python3-pyarmnn while specifying a version, but it appears only one is visible:

apt-cache policy python3-pyarmnn
  Installed: 21.08-1
  Candidate: 21.08-1
  Version table:
 *** 21.08-1 500
        500 focal/main arm64 Packages
        100 /var/lib/dpkg/status

This is compared to libarmnn2*:
root@ie-gal-n2plus31:~# apt-cache policy libarmnn2*
  Installed: (none)
  Candidate: 21.02-1
  Version table:
     21.02-1 500
        500 focal/main arm64 Packages
  Installed: (none)
  Candidate: 21.05-1
  Version table:
     21.05-1 500
        500 focal/main arm64 Packages
  Installed: 21.08-2
  Candidate: 21.08-2
  Version table:
 *** 21.08-2 500
        500 focal/main arm64 Packages
        100 /var/lib/dpkg/status

As shown above there is python3-pyarmnn version 21.08-1 which is the package version, the python __version__​​ of the module is 26.0.0, the previous being 21.05-1 and 25.0.0 respectively.

How can I make it so that user can install different versions of python3-pyarmnn?

Any help would be appreciated.

Question information

English Edit question
Launchpad itself Edit question
No assignee Edit question
Last query:
Last reply:

Can you help with this problem?

Provide an answer of your own, or ask Francis Murtagh for more information if necessary.

To post a message you must log in.