You are not logged in.
Hello everyone.
I recently installed Arch Linux on a new system using the `archinstall` script and went with the Hyprland starter pack (I guess you could call it).
I have installed `yay` just fine and I have also managed to install some packages with `yay` but I am struggling to install others as I get an error, something along the lines of:
"==> ERROR: /home/mo0rby/.cache/yay/nct6687d-dkms-git/nct6687d-dkms-git is not a clone of https://github.com/Fred78290/nct6687d
Aborting...
-> error making: nct6687d-dkms-git-exit status 17
-> Failed to install the following packages. Manual intervention is required:
nct6687d-dkms-git - exit status 17
"
This particular output is from me trying to install a chip module so I can get `lm_sensors` working.
I get this same error when running `yay -S ${something}` or if I go into the `~/.cache/yay/${something}` directory that gets created and try to run `makepkg -i`.
I have tried deleting the cache data and re-running, I get the same error.
What can I do?
Last edited by Mo0rBy (2026-03-12 21:04:39)
Offline
Just tried using "paru" and I get the exact same error.
Offline
What does /home/mo0rby/.cache/yay/nct6687d-dkms-git/nct6687d-dkms-git/.git/config contain, if it exists?
Mod note: Moving to AUR Issues.
Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD
Making lemonade from lemons since 2015.
Offline
This is the cat of that file:
❯ cat config
[core]
repositoryformatversion = 0
filemode = true
bare = true
[remote "origin"]
url = https://github.com/Fred78290/nct6687d
tagOpt = --no-tags
fetch = +refs/*:refs/*
mirror = true
Offline
Do you have some insteadOf in your ~/.gitconfig?
Offline
Nope, if you want to see it, it's here: https://github.com/Mo0rBy/moorby-dotfil … git/config
And it's path in my system is ~/.config/git/config if that matters.
Last edited by Mo0rBy (2026-03-12 20:10:30)
Offline
printenv | grep -i gitOffline
❯ printenv | grep -i git
GIT_CONFIG=/home/mo0rby/.config/git/config
Offline
Unset that.
Offline
It also shows the same location and expected config options with "git config --list --show-origin"
No unexpected extras:
file:/home/mo0rby/.config/git/config user.name=Will Moorby
file:/home/mo0rby/.config/git/config user.email=will.moorby2@gmail.com
file:/home/mo0rby/.config/git/config user.signingkey=ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIEuyiGZTmETl+gbagjExKLWQiClEVSHVh8AYqpkQMgLW
file:/home/mo0rby/.config/git/config gpg.format=ssh
file:/home/mo0rby/.config/git/config gpg.ssh.program=/opt/1Password/op-ssh-sign
file:/home/mo0rby/.config/git/config gpg.ssh.allowedsignersfile=~/.ssh/allowed_signers
file:/home/mo0rby/.config/git/config commit.gpgsign=true
file:/home/mo0rby/.config/git/config tag.gpgsign=true
file:/home/mo0rby/.config/git/config push.autosetupremote=true
file:/home/mo0rby/.config/git/config diff.external=difft
file:/home/mo0rby/.config/git/config core.eol=lf
file:/home/mo0rby/.config/git/config core.autocrlf=false
file:/home/mo0rby/.config/git/config fsck.zeropaddedfilemode=ignore
file:/home/mo0rby/.config/git/config fetch.fsck.zeropaddedfilemode=ignore
file:/home/mo0rby/.config/git/config receive.fsck.zeropaddedfilemode=ignore
(END)
Offline
It worked!
So whats up with that?
Why should that envVar not be set? And if it is unset, is that going to affect my git config used globally?
Offline
Offline
Oh ok, so it's just an old Git thing thats been kept around for compatibility but has been replaced by XDG_CONFIG_HOME?
Is it Git that sets this envVar in the 1st place?
Just checked on my Mac and it is set there too, I am coming from Mac as my main software dev machine, so it may be that the oh-my-zsh Git plugin is setting it?
I'm just curious what this is at this point.
Thanks for helping!
Offline
Is it Git that sets this envVar in the 1st place?
No.
o it may be that the oh-my-zsh Git plugin is setting it?
OMZ is generally always a good target to blame and usually at fault - so I'd not be surprised.
But you'll have to either trace the shell (zsh -x, gonna be a lot of text) or
grep -r GIT_CONFIG /etc ~/.*to figure where this is coming from if you didn't intentionally put it there.
Offline
I'm a dumb-ass, I set it within my .zshenv file.
Still, I'd like to better understand what are the repercussions of setting/unsetting this are this are and also how can I point Git to a custom git config file (as I have done) without it messing with yay/paru/other AUR helpers?
I suppose I could "alias yay=unset GIT_CONFIG; yay"?
Last edited by Mo0rBy (2026-03-12 20:53:42)
Offline
Well, I removed it from my .zshenv file and "git config --list --show-origin" gives the same results while the "GIT_CONFIG" envVar is not set, so I guess you just don't need that all.
Amazing! Thank you so much for helping with that! I didn't think it would be so simple.
Now how do I mark this as solved?
Last edited by Mo0rBy (2026-03-12 21:05:02)
Offline
Offline
Welcome to the pro-show ![]()
Mark resolved threads by editing your initial posts subject - so others will know that there's no task left, but maybe a solution to find.
Thanks.
Offline