Skip to content

[Bug]: ppa installs -rc1 when final is avalaible #214

@shenki

Description

@shenki

On Ubuntu 22.04 with the tt ppa enabled and the tenstorrent-dkms package is installed.

The version 2.7.0-rc1 is installed but the repo makes 2.7.0 available, which I assume should take precedence.

The Debian policy manual indicates a prerelease version should be separated by a tilde so it sorts with lower precedence than the final:

https://www.debian.org/doc/debian-policy/ch-controlfields.html#version

One common use of ~ is for upstream pre-releases. For example, 1.0beta1svn1245 sorts earlier than 1.0~beta1, which sorts earlier than 1.0.

So the 2.7.0-rc1 package should probably be called 2.7.0~rc1.

ttuser@tt-quietbox:~$ apt policy tenstorrent-dkms
tenstorrent-dkms:
  Installed: 2.7.0-rc1
  Candidate: 2.7.0-rc1
  Version table:
 *** 2.7.0-rc1 500
        500 https://ppa.tenstorrent.com/ubuntu jammy/main amd64 Packages
        500 https://ppa.tenstorrent.com/ubuntu jammy/main all Packages
        100 /var/lib/dpkg/status
     2.7.0 500
        500 https://ppa.tenstorrent.com/ubuntu jammy/main amd64 Packages
        500 https://ppa.tenstorrent.com/ubuntu jammy/main all Packages
     2.6.0-rc1 500
        500 https://ppa.tenstorrent.com/ubuntu jammy/main amd64 Packages
        500 https://ppa.tenstorrent.com/ubuntu jammy/main all Packages
     2.6.0 500
        500 https://ppa.tenstorrent.com/ubuntu jammy/main amd64 Packages
        500 https://ppa.tenstorrent.com/ubuntu jammy/main all Packages
     2.5.0 500
        500 https://ppa.tenstorrent.com/ubuntu jammy/main amd64 Packages
        500 https://ppa.tenstorrent.com/ubuntu jammy/main all Packages
     2.4.1 500
        500 https://ppa.tenstorrent.com/ubuntu jammy/main amd64 Packages
        500 https://ppa.tenstorrent.com/ubuntu jammy/main all Packages
     2.4.0 500
        500 https://ppa.tenstorrent.com/ubuntu jammy/main amd64 Packages
        500 https://ppa.tenstorrent.com/ubuntu jammy/main all Packages
     2.3.0-1 500
        500 https://ppa.tenstorrent.com/ubuntu jammy/main amd64 Packages
        500 https://ppa.tenstorrent.com/ubuntu jammy/main all Packages
     2.2.0-1 500
        500 https://ppa.tenstorrent.com/ubuntu jammy/main amd64 Packages
        500 https://ppa.tenstorrent.com/ubuntu jammy/main all Packages

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions