How to apt-get upgrade a specific version?

  • 1
  • Question
  • Updated 10 months ago

we currently run Cumulus 3.2.1 in our production environment, and use VX in VirtualBox to simulate changes and test our ansible automation.  The issue is now that 3.3 is out, whenever an apt-get upgrade is done on the VX images during deployment, they upgrade to 3.3.0.  And this command is recommended to be run after most / all additional installs (NCLU and EVPN, for example)

Since a given Cumulus release is a culmination of specific versions of multiple packages, and not a single binary like other vendors, is there anyway to specify that I effectively want 'the latest 3.2.1 packages' only?

This seems like it could be a big challenge for orgs trying to test / proof out changes in lab environments.

With real hardware I could have it download a 3.2.1 image via ONIE, but if memory serves there are 3.2.1 patches that came out after the binary was released -- and again, the method to get them was simply 'apt-get upgrade'

Photo of Will McLendon

Will McLendon

  • 440 Points 250 badge 2x thumb

Posted 10 months ago

  • 1
Photo of Pete B

Pete B, Official Rep

  • 2,774 Points 2k badge 2x thumb
Hi we really don't have this capability right now, sorry to say. 
Photo of Jason Guy

Jason Guy, Employee

  • 1,562 Points 1k badge 2x thumb

If there is a specific version of a package, you can always use the following command if you know the package name and version. Basically it will install the package, and all dependencies:
apt-get install <package name>=<version>