Install older version of package on ubuntu/debian

Intro

I had a problem installing gitlab-ce a newer version, because it was a mayor update you first needed to install a older version.

Fixing it

flowchart TD start([Start]) --> step1(apt-get update) --> step2(apt-cache show gitlab-ce | grep Version) --> step3(apt-get install gitlab-ce=14.0.12-ce.0) --> step4(apt-get install gitlab-ce) --> finish([Finished])

So in text

  • apt-get update
  • apt-cache show
  • apt-get install =
  • apt-get install

Later,

Richard

Previous Post Next Post