Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7619161
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 31, 20262026-05-31T03:36:45+00:00 2026-05-31T03:36:45+00:00

I have installed git on my server. When I try to do git init,

  • 0

I have installed git on my server.

When I try to do git init, it says git command ‘init’ not found. Does anyone know why? or if there is a solution to this.

–EDIT–

I have tried to install it with yum and then uninstall it from recommendation

# yum remove git
Loaded plugins: fastestmirror
Setting up Remove Process
No Match for argument: git
Loading mirror speeds from cached hostfile
 * base: mirrors.ukfast.co.uk
 * epel: mirror.bytemark.co.uk
 * extras: mirrors.ukfast.co.uk
 * updates: centosr4-msync-dvd.centos.org
Package(s) git available, but not installed.
No Packages marked for removal

Is this maybe a problem of my mirrors not having the files for me to install git?

below is the problem that I get when trying yum install git-core

Downloading Packages:
warning: rpmts_HdrFromFdno: Header V3 DSA signature: NOKEY, key ID 217521f6
epel/gpgkey                                                                                                                                                                                                           | 2.5 kB     00:00
Traceback (most recent call last):
  File "/usr/bin/yum", line 29, in ?
    yummain.user_main(sys.argv[1:], exit_code=True)
  File "/usr/share/yum-cli/yummain.py", line 309, in user_main
    errcode = main(args)
  File "/usr/share/yum-cli/yummain.py", line 261, in main
    return_code = base.doTransaction()
  File "/usr/share/yum-cli/cli.py", line 410, in doTransaction
    if self.gpgsigcheck(downloadpkgs) != 0:
  File "/usr/share/yum-cli/cli.py", line 510, in gpgsigcheck
    self.getKeyForPackage(po, lambda x, y, z: self.userconfirm())
  File "/usr/lib/python2.4/site-packages/yum/__init__.py", line 3519, in getKeyForPackage
    keys = self._retrievePublicKey(keyurl, repo)
  File "/usr/lib/python2.4/site-packages/yum/__init__.py", line 3484, in _retrievePublicKey
    keys_info = misc.getgpgkeyinfo(rawkey, multiple=True)
  File "/usr/lib/python2.4/site-packages/yum/misc.py", line 377, in getgpgkeyinfo
    raise ValueError('No key found in given key data')
ValueError: No key found in given key data
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-31T03:36:46+00:00Added an answer on May 31, 2026 at 3:36 am

    need to change repository and yum install git-core. Will ask a question how to do that

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have GIT running on a Solaris server. From a windows machine I installed
I have setup a git repository in a linux server, and installed the latest
I have two issues. I have Ubuntu 10.10 and I have installed git server
I'm trying to get git up running on a Windows server. I have installed
I have been trying to install Git on my web server. When i try
I still have XP on my laptop and have installed Git so that I
I have installed php5 and mysql5 on my server , I can login to
I have a new server provider and they have no tig installed, I am
I have two servers running git, one main instance with gitorious installed and another
so I have Git GUI installed on windows, and I am wanting to push

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.