# Git exit error 128

**URL:** <https://discuss.kde.org/t/git-exit-error-128/10835>\
**Category:** Development\
**Tags:** kdesrc-build\
**Created:** [February 24, 2024, 8:10pm UTC](https://discuss.kde.org/t/git-exit-error-128/10835 "2024-02-24T20:10:04Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![chrislongros](https://discuss-cdn.kde.org/user_avatar/discuss.kde.org/chrislongros/32/33837_2.png) [@chrislongros](https://discuss.kde.org/u/chrislongros)\
**Post date:** [February 24, 2024, 8:10pm UTC](https://discuss.kde.org/t/git-exit-error-128/10835/1 "2024-02-24T20:10:04Z")

</div>

> kdesrc-build --initial-setup  
> === install-distro-packages-perl ===
> 
> - Installing system packages for arch…  
> Installing packages for arch/unknown  
> Using installer for arch
> 
> - All dependencies are already installed. No need to run installer. 🙂
> - Looks like the necessary packages were successfully installed!  
> === install-distro-packages ===
> - git had error exit 128 when verifying master present in repository at \>kde:sysadmin/repo-metadata

---

<div class="post-metadata">

**Author:** ![Duha](https://discuss-cdn.kde.org/user_avatar/discuss.kde.org/duha/32/32926_2.png) [@Duha](https://discuss.kde.org/u/Duha)\
**Post date:** [February 25, 2024, 3:16pm UTC](https://discuss.kde.org/t/git-exit-error-128/10835/2 "2024-02-25T15:16:01Z")

</div>

Which distro are you using?

---

<div class="post-metadata">

**Author:** ![chrislongros](https://discuss-cdn.kde.org/user_avatar/discuss.kde.org/chrislongros/32/33837_2.png) [@chrislongros](https://discuss.kde.org/u/chrislongros)\
**Post date:** [February 25, 2024, 3:30pm UTC](https://discuss.kde.org/t/git-exit-error-128/10835/3 "2024-02-25T15:30:38Z")

</div>

Arch Linux. I already set my git credentials eg. name and email.

I come across this article:

> **[The Process Usr Bin Git Failed with Exit Code 128 - SADA Tech](https://tech.sadaalomma.com/git/the-process-usr-bin-git-failed-with-exit-code-128/)**
>
> When working with Git, you may encounter various error messages that can hinder your progress. One such error is "The process usr bin git failed with exit

---

<div class="post-metadata">

**Author:** ![Duha](https://discuss-cdn.kde.org/user_avatar/discuss.kde.org/duha/32/32926_2.png) [@Duha](https://discuss.kde.org/u/Duha)\
**Post date:** [February 25, 2024, 6:23pm UTC](https://discuss.kde.org/t/git-exit-error-128/10835/4 "2024-02-25T18:23:53Z")

</div>

There is currently an issue with kdesrc-build (will be updated soon)

On the Matrix channels they said they fixed it like this:

```auto
This is what I did:
git config --global --add url.http://invent.kde.org/.insteadOf kde:
git config --global --add url.ssh://git@invent.kde.org/.pushInsteadOf kde:

```

---

<div class="post-metadata">

**Author:** ![Ashark](https://discuss-cdn.kde.org/user_avatar/discuss.kde.org/ashark/32/2921_2.png) [@Ashark](https://discuss.kde.org/u/Ashark)\
**Post date:** [February 28, 2024, 11:04am UTC](https://discuss.kde.org/t/git-exit-error-128/10835/5 "2024-02-28T11:04:39Z")

</div>

This commit fixes it [Fix git 128 exit code at first run (80c3c95d) · Commits · SDK / KDE Builder · GitLab](https://invent.kde.org/sdk/kde-builder/-/commit/80c3c95dadf76eb8cd1d57c9adeb813de41b8d39)
