1

I am using Ubuntu 18.04.3 LTS (Bionic Beaver) and I installed patroni using command sudo apt-get install patroni.

The version of patroni that got installed is 1.61 but I found that this version has a bug and therefore wanted to upgrade to the latest version of the patroni but through apt

So I looked here https://launchpad.net/ubuntu/+source/patroni and found that the latest stable version that I could install is Patroni 1.6.4

My question is how can I install this latest version of patroni ?

When I try to look for available versions of patroni I get the following output:

sudo apt list -a patroni
Listing... Done
patroni/bionic-pgdg,bionic-pgdg,now 1.6.1-1.pgdg18.04+1 all [installed]
patroni/bionic,bionic 1.4.2-2ubuntu1 all
Monku
  • 623

1 Answers1

3

Manually download patroni 1.6.4 from the officially Ubuntu 20.04 repositories and install it in Ubuntu 18.04 by running the following commands:

cd ~/Desktop/
wget https://launchpad.net/ubuntu/+archive/primary/+files/patroni_1.6.4-2ubuntu1_all.deb
sudo apt remove patroni
sudo apt install ./patroni_1.6.4-2ubuntu1_all.deb
karel
  • 122,292
  • 133
  • 301
  • 332