Git installation failing in the playground
Which playground? How are you trying to install git? Did you do an apt update
first?
Exact issue facing
debconf: delaying package configuration, since apt-utils is not installed
dpkg: error processing package gzip (--configure):
package gzip is not ready for configuration
cannot configure (current status 'half-installed')
Errors were encountered while processing:
gzip
E: Sub-process /usr/bin/dpkg returned an error code (1)
while installing git here i was not able to install git
below are the steps with which i tried to fix the issue.
Sudo apt update
sudo apt install git
sudo apt install git-all
when these command didn’t worked i tried to fix the issue with adding repo in the list and then update ans then install git but out of luck
sudo add-apt-repository ppa:git-core/ppa
sudo apt update
sudo apt install git
Also tried to reconfigure dpkg database.
sudo dpkg --configure -a
I looked at the Git Book link from the lab, and it appears that the key command is:
sudo apt update
sudo apt install git
I tried this in the lab you linked to, and the install worked. No need to add a repo for git – it’s in the standard repos for Ubuntu, which is what the lab uses.
Yeah thnkew so much for the reply…
Now the Lab is working everything is fine.
*Once again thknkew so much for your help… it really mean a lot to me. *
No problem! Happy learning!