How to downgrade Git from version 2.38.1 to 2.37.3 on Ubuntu 20.04?
This is needed because Atlassian Bitbucket Server 8.+ do not support latest version of Git. Please se at: https://confluence.atlassian.com/bitbucketserver/supported-platforms-776640981.html
I installed latest git wit adding this repo to source.list: ppa:git-core/ppa
Command apt policy git makes:
git:
Installed: 1:2.38.1-0ppa1~ubuntu20.04.1
Candidate: 1:2.38.1-0ppa1~ubuntu20.04.1
Version table:
*** 1:2.38.1-0ppa1~ubuntu20.04.1 500
500 http://ppa.launchpad.net/git-core/ppa/ubuntu focal/main amd64 Packages
100 /var/lib/dpkg/status
1:2.25.1-1ubuntu3.6 500
500 http://mirror.leaseweb.com/ubuntu focal-updates/main amd64 Packages
500 http://security.ubuntu.com/ubuntu focal-security/main amd64 Packages
1:2.25.1-1ubuntu3 500
500 http://mirror.leaseweb.com/ubuntu focal/main amd64 Packages
After running a sudo apt install -f ./git-all_2.37.3-0ppa1~ubuntu20.04.1_all.deb I get error below:
The following packages have unmet dependencies:
git-all : Depends: git (< 1:2.37.3-.)
E: Unable to correct problems, you have held broken packages.
Thanks, Matti
ppa:git-core/ppa
? Please include in your question.