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

Here’s an issue.

root@dev01:~# 
root@dev01:~# 
root@dev01:~# 
root@dev01:~# 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.
root@dev01:~# 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.

Hi

Actually I’m having the same problem right now.
after using SUDO APT UPDATE , I tried installing Git but the process finished with an error.
Restarting the lab was the only solution I found to this problem , as you mentioned.