Yay error "fatal: not a git repository (or any parent up to mount point /)"

Hello, I get these errors. Any help, please?
Thanks

[magogi@box ~]$ yay
:: Ricerca di aggiornamenti su AUR in corso...
 -> Pacchetti AUR con flag obsoleto: librewolf-bin  mhonarc  pyside2  python-shiboken2  ymuse-bin
:: 9 pacchetti da aggiornare/installare.
9  aur/7-zip-full          24.06-1         -> 24.07-1
8  aur/brave-bin           1:1.67.116-1    -> 1:1.67.119-1
7  aur/btrfsmaintenance    0.5-2           -> 0.5.1-1
6  aur/google-chrome       126.0.6478.61-1 -> 126.0.6478.114-1
5  aur/librewolf-bin       126.0.1-1       -> 127.0-1
4  aur/onlyoffice-bin      8.0.1-1         -> 8.1.0-1
1  aur/you-get             0.4.1650-2      -> 0.4.1700-1
==> Pacchetti da escludere: (es: "1 2 3", "1-3", "^4" o il nome del repo)
 -> L'esclusione di pacchetti potrebbe causare aggiornamenti parziali e danneggiare i sistemi
==>
AUR Explicit (9): 7-zip-full-24.07-1, librewolf-bin-127.0-1, onlyoffice-bin-8.1.0-1, google-chrome-126.0.6478.114-1, brave-bin-1:1.67.119-1, btrfsmaintenance-0.5.1-1, realvnc-vnc-viewer-7.12.0-1, you-get-0.4.1700-1, realvnc-vnc-server-7.12.0-1
:: PKGBUILD aggiornato, scaricamento ignorato: you-get
:: (0/8) Scaricamento PKGBUILD non riuscito: onlyoffice-bin
:: (0/8) Scaricamento PKGBUILD non riuscito: brave-bin
:: (0/8) Scaricamento PKGBUILD non riuscito: google-chrome
:: (0/8) Scaricamento PKGBUILD non riuscito: librewolf-bin
:: (0/8) Scaricamento PKGBUILD non riuscito: 7-zip-full
:: (0/8) Scaricamento PKGBUILD non riuscito: btrfsmaintenance
 -> errore durante il recupero di onlyoffice-bin: fatal: non è un repository Git (né lo è alcun genitore fino al punto di mount /)
Mi fermo al limite del filesystem (l'opzione GIT_DISCOVERY_ACROSS_FILESYSTEM non è impostata).
	 context: exit status 128

errore durante il recupero di brave-bin: fatal: non è un repository Git (né lo è alcun genitore fino al punto di mount /)
Mi fermo al limite del filesystem (l'opzione GIT_DISCOVERY_ACROSS_FILESYSTEM non è impostata).
	 context: exit status 128

errore durante il recupero di google-chrome: fatal: non è un repository Git (né lo è alcun genitore fino al punto di mount /)
Mi fermo al limite del filesystem (l'opzione GIT_DISCOVERY_ACROSS_FILESYSTEM non è impostata).
	 context: exit status 128

errore durante il recupero di librewolf-bin: fatal: non è un repository Git (né lo è alcun genitore fino al punto di mount /)
Mi fermo al limite del filesystem (l'opzione GIT_DISCOVERY_ACROSS_FILESYSTEM non è impostata).
	 context: exit status 128

errore durante il recupero di 7-zip-full: fatal: non è un repository Git (né lo è alcun genitore fino al punto di mount /)
Mi fermo al limite del filesystem (l'opzione GIT_DISCOVERY_ACROSS_FILESYSTEM non è impostata).
	 context: exit status 128

errore durante il recupero di btrfsmaintenance: fatal: non è un repository Git (né lo è alcun genitore fino al punto di mount /)
Mi fermo al limite del filesystem (l'opzione GIT_DISCOVERY_ACROSS_FILESYSTEM non è impostata).
	 context: exit status 128

To make more audience available, please use the LANG=C prefix:

LANG=C yay

Sure, here you are:

 [magogi@box ~]$ LANG=C yay
:: Searching AUR for updates...
 -> Flagged Out Of Date AUR Packages: librewolf-bin  mhonarc  pyside2  python-shiboken2  ymuse-bin
:: 9 packages to upgrade/install.
9  aur/7-zip-full          24.06-1         -> 24.07-1
8  aur/brave-bin           1:1.67.116-1    -> 1:1.67.119-1
7  aur/btrfsmaintenance    0.5-2           -> 0.5.1-1
6  aur/google-chrome       126.0.6478.61-1 -> 126.0.6478.114-1
5  aur/librewolf-bin       126.0.1-1       -> 127.0-1
4  aur/onlyoffice-bin      8.0.1-1         -> 8.1.0-1
3  aur/realvnc-vnc-server  7.11.0-1        -> 7.12.0-1
2  aur/realvnc-vnc-viewer  7.11.1-1        -> 7.12.0-1
1  aur/you-get             0.4.1650-2      -> 0.4.1700-1
==> Packages to exclude: (eg: "1 2 3", "1-3", "^4" or repo name)
 -> Excluding packages may cause partial upgrades and break systems
AUR Explicit (9): google-chrome-126.0.6478.114-1, btrfsmaintenance-0.5.1-1, realvnc-vnc-server-7.12.0-1, realvnc-vnc-viewer-7.12.0-1, 7-zip-full-24.07-1, onlyoffice-bin-8.1.0-1, brave-bin-1:1.67.119-1, librewolf-bin-127.0-1, you-get-0.4.1700-1
:: PKGBUILD up to date, skipping download: you-get
:: (0/8) Failed to download PKGBUILD: onlyoffice-bin
:: (0/8) Failed to download PKGBUILD: librewolf-bin
:: (0/8) Failed to download PKGBUILD: brave-bin
:: (0/8) Failed to download PKGBUILD: btrfsmaintenance
:: (0/8) Failed to download PKGBUILD: 7-zip-full
:: (0/8) Failed to download PKGBUILD: realvnc-vnc-server
:: (0/8) Failed to download PKGBUILD: google-chrome
:: (0/8) Failed to download PKGBUILD: realvnc-vnc-viewer
 -> error fetching librewolf-bin: fatal: not a git repository (or any parent up to mount point /)
Stopping at filesystem boundary (GIT_DISCOVERY_ACROSS_FILESYSTEM not set).
	 context: exit status 128

error fetching onlyoffice-bin: fatal: not a git repository (or any parent up to mount point /)
Stopping at filesystem boundary (GIT_DISCOVERY_ACROSS_FILESYSTEM not set).
	 context: exit status 128

error fetching brave-bin: fatal: not a git repository (or any parent up to mount point /)
Stopping at filesystem boundary (GIT_DISCOVERY_ACROSS_FILESYSTEM not set).
	 context: exit status 128

error fetching btrfsmaintenance: fatal: not a git repository (or any parent up to mount point /)
Stopping at filesystem boundary (GIT_DISCOVERY_ACROSS_FILESYSTEM not set).
	 context: exit status 128

error fetching 7-zip-full: fatal: not a git repository (or any parent up to mount point /)
Stopping at filesystem boundary (GIT_DISCOVERY_ACROSS_FILESYSTEM not set).
	 context: exit status 128

error fetching realvnc-vnc-server: fatal: not a git repository (or any parent up to mount point /)
Stopping at filesystem boundary (GIT_DISCOVERY_ACROSS_FILESYSTEM not set).
	 context: exit status 128

error fetching google-chrome: fatal: not a git repository (or any parent up to mount point /)
Stopping at filesystem boundary (GIT_DISCOVERY_ACROSS_FILESYSTEM not set).
	 context: exit status 128

error fetching realvnc-vnc-viewer: fatal: not a git repository (or any parent up to mount point /)
Stopping at filesystem boundary (GIT_DISCOVERY_ACROSS_FILESYSTEM not set).
	 context: exit status 128

Move the affected folders out of the way:

mv ~/.cache/yay/onlyoffice-bin ~/.cache/yay/onlyoffice-bin-old

As an example. Or just nuke the entire cache and start fresh.

2 Likes

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.