Debian repo outdated?

Seems the debian repo is stuck at 2.2.14 while the latest binary release 2.2.18.

 $ curl -fsSL https://apt.releases.hashicorp.com/gpg | sudo apt-key add -

sudo apt-add-repository "deb [arch=amd64] https://apt.releases.hashicorp.com $(lsb_release -cs) main"

sudo apt-get update && sudo apt-get install vagrant
OK
Hit:1 http://deb.debian.org/debian buster InRelease
Hit:2 http://deb.debian.org/debian buster-updates InRelease                                             
Hit:3 http://security.debian.org/debian-security buster/updates InRelease                               
Hit:4 http://ftp.debian.org/debian buster-backports InRelease                                           
Hit:5 https://apt.releases.hashicorp.com buster InRelease                                               
Reading package lists... Done
Reading package lists... Done
Building dependency tree       
Reading state information... Done
vagrant is already the newest version (1:2.2.14).
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.

Hi,

Checked this just now on a ubuntu instance, then a buster instance just to ensure the same environment and the install provided me with the latest version. Are you still experiencing this issue?

seems to be resolved. Thanks.

I could just be doing something stupid, but I’m hitting the exact problem described with 2.2.14 being offered by apt, but 2.2.18 being latest. Brand new Debian 11 install, and I was able to install vault, consul, and terraform from the hashicorp repo using apt commands. Vagrant however, as the OP notes, is not cooperating.

I’m not sure how to resolve it, any suggestions are appreciated - but it might be some kind of conflict with the debian OS repos?

$ apt info vagrant -a
Package: vagrant
Version: 2.2.14+dfsg-1
Priority: optional
Section: admin
Maintainer: Debian Ruby Team <pkg-ruby-extras-maintainers@lists.alioth.debian.org>

With apt info vagrant -a it shows both the above described 2.2.14, and also offers 2.2.3 from the deb maintainers.

When I do the same lookup for terraform, the maintainer is HashiCorp <support@hashicorp.com>.

I don’t know enough about apt to understand how it determines what to offer, but maybe the extra string +dfsg-1 after the version is making apt think the 2.2.18 is an older version? Maybe the priority field?

What does the policy look like (apt-cache policy vagrant)?