Attempting to install GIT using apt-get and it's failing.
All of the web searches turn up different commands none seem to work.
Output of the install command
sudo apt-get install apt-transport-https ca-certificates git curl gnupg -y
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
curl is already the newest version (7.81.0-1ubuntu1.4).
gnupg is already the newest version (2.2.27-3ubuntu2.1).
gnupg set to manually installed.
ca-certificates is already the newest version (20211016).
ca-certificates set to manually installed.
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:
The following packages have unmet dependencies:
git : Depends: liberror-perl but it is not installable
E: Unable to correct problems, you have held broken packages.
Note this is running in VirtualBox but I don't believe that should impact the outcome?
Any help would be greatly appreciated