Git command not found during install process

The installer will die at ‘git command not found’ while installing the packages it needs

You need “git” installed to run the installation.

Login as root and do:

apt-get install git

Yep that fixed but I traded that error for this one. I am running Debian 8

Checking distribution …
No LSB modules are available.
Distributor ID: Debian
Description: Debian GNU/Linux testing (stretch)
Release: testing
Codename: stretch

Oh drats! You do not appear to be running a supported Debian release.
Release: testing
Codename: stretch

Are you sure about your version? Because it gets reported as “Stretch” which is Debian 9. Debian 8 is Jessie.

To find version:
cat /etc/debian_version

Stretch should technically work, but it is untested. quickbox-setup and updateQuickBox both have version checkers in them though. At this time, if you are interested in running QuickBox in an untested environment you’ll need to comment out the OS checks. However, if you do so, please know you are moving into unsupported and untested territory

Sure enough it says I’m running stretch. Not sure how that happened since I installed from a version 8 DVD. I wouldn’t object to running it on 9 if you could tell me how to comment out the OS checks

I wouldn’t recommend it for a novice user… As I said the install is untested and may break.

What is the output of:

cat /etc/apt/sources.list
# deb http://ftp.debian.org/debian/ jessie-updates main contrib
# deb-src http://ftp.debian.org/debian/ jessie-updates main contrib
deb http://http.debian.net/debian jessie main contrib
deb http://ftp.us.debian.org/debian testing main contrib non-free
deb http://ppa.launchpad.net/git-core/ppa/ubuntu jessie main
deb-src http://ppa.launchpad.net/git-core/ppa/ubuntu jessie main
deb-src ftp://ftp.us.debian.org/debian stable main contrib non-free
#deb http://httpredir.debian.org/debian jessie main
#deb-src http://httpredir.debian.org/debian jessie main
#deb http://httpredir.debian.org/debian jessie-updates main
#deb-src http://httpredir.debian.org/debian jessie-updates main
#deb http://security.debian.org/ jessie/updates main
#deb-src http://security.debian.org/ jessie/updates main
#deb http://httpredir.debian.org/debian jessie main contrib non-free
#deb-src http://httpredir.debian.org/debian jessie main contrib non-free
#deb http://httpredir.debian.org/debian jessie-updates main contrib non-free
#deb-src http://httpredir.debian.org/debian jessie-updates main contrib non-free
deb http://security.debian.org/ jessie/updates main contrib non-free
deb-src http://security.debian.org/ jessie/updates main contrib non-free

Here is the culprit:

deb http://ftp.us.debian.org/debian testing main contrib non-free

Running the following commands as root should hopefully get you on the stable track:

sed -i 's/testing/jessie/g' /etc/apt/sources.list
apt update
apt dist-upgrade

Then reboot your server and check the version of your distro again.

Nope still says version 9. I’ll take that entry out of sources.list and re-install. This isn’t my primary box so I am ok doing that.

Did a re-install, removed that entry from sources list and the install went without a hitch. Many thanks

1 Like