• Multiple package versions in PPA

    From Wookey@21:1/5 to Francis Murtagh on Tue Sep 21 04:20:01 2021
    On 2021-09-13 16:00 +0000, Francis Murtagh wrote:
    Hi,

    I've added a python package called python3-pyarmnn to Debian
    (https://tracker.debian.org/pkg/armnn) but also have it pushed to a Ubuntu
    Launchpad PPA
    (https://launchpad.net/~armnn/+archive/ubuntu/ppa/+packages).
    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.

    Correct.

    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.

    Right. Normally in debian (and Ubuntu) we allow multiple versions of
    libraries so that things linked against the older library still work
    until everything is ugraded, and nothing is using the old library
    (then it can be removed, and often is automatically). But only one
    version of higher-level apps which use those libraries, normally
    linked against the latest library version available.

    What do users gain from being able to install a python3-pyarmnn linked
    against an older version of the library? You could do it by having python3-pyarmnn25 and python3-pyarmnn26 etc, but normally there is not
    enough benefit from this for it to be worth the effort.

    Do you just want to be able to do it for test purposes? If so you could just make multiple PPAs, and install python3-pyarmnn from the appropriate one?

    Wookey
    --
    Principal hats: Linaro, Debian, Wookware, ARM
    http://wookware.org/

    -----BEGIN PGP SIGNATURE-----

    iQIzBAABCgAdFiEER4nvI8Pe/wVWh5yq+4YyUahvnkcFAmFJP2cACgkQ+4YyUahv nke4FRAAyKqN9lmghhiXui+FOqGiNI1g7o4g1hZD0o+81hUV8rsgcVsPZ1kHZXJe JcW/DN8DzdsVROMoGWLHMDStkMe1H9AaDpCrViF/4Y49F19xm78Go+Fmj6CQX1CS BbKG/sDCTzjUrC8hHD2xuwUum98nDAaS9f0iWx6BI6ukKkZrAMnHwuAGXt9MU1+p GqW9klTMuITi+l9cFIdwL/HZbswxsMp/R07lVcm7YQekIwhGTn2Oe1+AQXXFoV+w fABQgQc9rQGMKEAyT6Dq5nFa43PNsuN+FraHVb4tVwB+c3O2shpqh2YWJu7dDXef dhrqUXChKf6eRgHXF47gqWgr5GjU7zDa/7ic09s6P732I8ti2xVUZEoolmN1aLiE ZoulImlpdISRyXBYJqH6oAg6eOm8bZ6JPw6zg2C0bTcQVDCaxBsSLV8QBDyVx3sp RFhg6q2AL8nYY4wWq6mlGTLmJCAsWYjh/T0Z0ccUuGJZR9iqeH6KRlyknUXHhAnR 8vdhRgy3fwy0SR1ODYLNcS2ThtU4Qv+NvNdvUMQe5HP/xsUoWQ6aY/oqdqzD85JT tDOOn4+UL8qDZgpAedcouZzgrJJs3tmB08ca9KFHaP48SdW5wBoVbTASpp7yeItR wIv0XI+QuK/9Bo3D23EF9kYczpoVLdXeB6PQzsPEdgqWcsuMxEU=
    =banI
    -----END PGP SIGNATURE-----

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)