Git is not getting install as its asked in the lab quesion, its asking for some library dependencies

Here’s an issue.

[email protected]:~# 
[email protected]:~# 
[email protected]:~# 
[email protected]:~# sudo apt update
Hit:1 http://security.ubuntu.com/ubuntu bionic-security InRelease
Hit:2 http://archive.ubuntu.com/ubuntu bionic InRelease                                                  
Hit:3 http://archive.ubuntu.com/ubuntu bionic-updates InRelease                                          
Hit:4 http://archive.canonical.com/ubuntu bionic InRelease
Hit:5 http://archive.ubuntu.com/ubuntu bionic-backports InRelease
Reading package lists... Done                     
Building dependency tree       
Reading state information... Done
154 packages can be upgraded. Run 'apt list --upgradable' to see them.
[email protected]:~# sudo apt install git -y
Reading package lists... Done
Building dependency tree       
Reading state information... Done
You might want to run 'apt --fix-broken install' to correct these.
The following packages have unmet dependencies:
 libperl5.26 : Depends: perl-modules-5.26 (>= 5.26.1-6ubuntu0.5) but 5.26.1-6ubuntu0.3 is to be installed
 perl : Depends: perl-modules-5.26 (>= 5.26.1-6ubuntu0.5) but 5.26.1-6ubuntu0.3 is to be installed
E: Unmet dependencies. Try 'apt --fix-broken install' with no packages (or specify a solution).

Hi @rskadam718

Have you tried the lab again since? It’s working fine for me.

I note from the command prompt that you did sudo -i first to become root - which is fine. Note that when you are root, you do not need to prefix any command with sudo - although it won’t make any difference other than more typing.