LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Debian Jesse git error (https://www.linuxquestions.org/questions/linux-newbie-8/debian-jesse-git-error-4175626089/)

Woodsmankai 03-22-2018 08:08 AM

Debian Jesse git error
 
Ok guys, I have a c.h.i.p computer board, it has Debian Jesse I am having trouble if I try to do anything with git I get an error saying command not found. So I updated and then tried sudo apt-get install git that also gave an error. I also noticed any command with deb also gives an error. Any help would be appreciated

Woodsmankai 03-22-2018 08:09 AM

I also reflashed the o.s. from the manufacturer web page then did another update. Same issues

jsbjsb001 03-23-2018 07:14 AM

Quote:

Originally Posted by Woodsmankai (Post 5833996)
Ok guys, I have a c.h.i.p computer board, it has Debian Jesse I am having trouble if I try to do anything with git I get an error saying command not found. So I updated and then tried sudo apt-get install git that also gave an error. I also noticed any command with deb also gives an error. Any help would be appreciated

Quote:

Originally Posted by Woodsmankai (Post 5833997)
I also reflashed the o.s. from the manufacturer web page then did another update. Same issues

Just a little tip: Try editing your first post if no one has replied to it. I say that because you have knocked it off the ZRT list, and therefore it's less visible to those that might be able to help you.

Anyhow, the "command not found" error message means it cannot find the command you are trying to run, it would be a different message if it was something else, that was the problem. I can't say I'm a Debian user myself, but have you gone into your package manager and checked to see if the "git" command (or other relevant command) is installed?

Another possibility is that the command your system cannot find might not be in your $PATH You can check that with the following command:

Code:

echo $PATH
If the command your system is saying it cannot find is not in any of the folders listed by the above command, you'll need to add the folder the command your trying to run is in to your $PATH

Try making sure that the necessary package(s) are installed and report back with the answers.

AwesomeMachine 03-23-2018 04:13 PM

What error do you get with
Code:

$ apt-get install git
?

ondoho 03-24-2018 03:20 AM

a little more information about that computer please, where is its website & wiki, how did you get it working, did you have to install a specialised OS?

jlinkels 03-24-2018 03:45 AM

Please post verbatim the commands you enter and the error messages you get.

"Gives an error" is by far not accurate enough and we also don't know what command caused that error. Copy the relevant part of your terminal window. Select, SHFT-CTRL-C to copy from the terminal. CTRL-V to paste it on this page.

I am saying this because installing and using git on Debian Jessie is without problems. So it is not normal that this happens, neither is it a bug in Jessie. We can not reproduce it because for us it works fine. That is why we need exact information.

jlinkels


All times are GMT -5. The time now is 01:14 AM.