You are not logged in.

#1 2021-02-17 22:47:30

elektronek
Member
Registered: 2020-06-27
Posts: 4

Wild yay error while trying to install git package

I'm getting a really weird error that I can't find anything about on the internet when I try to install a git package using yay. When it gets to the point "cloning into 'package-git' " fatal error occurs. Somehow a path gets stuck to the github url and error looks like this:

fatal: unable to access 'https://github.comhome/user/.cache/yay/ … ckage-git/': Could not resolve host: github.comhome

Offline

#2 2021-02-17 23:28:17

sammiev
Member
Registered: 2018-12-22
Posts: 39

Re: Wild yay error while trying to install git package

What package were you trying to install.
There is no such address as github.comhome
You really left no info at all for anyone to help you.
Post everything so maybe someone could actually help you.

Offline

#3 2021-02-17 23:57:53

elektronek
Member
Registered: 2020-06-27
Posts: 4

Re: Wild yay error while trying to install git package

This happens with every git package. Today for example I tried to install awesome-git so error looks like this

Cloning into 'awesome-git'...
fatal: unable to access 'https://github.comhome/username/.cache/ … esome-git/': Could not resolve host: github.comhome
==> ERROR: Failure while creating working copy of awesome-git git repo
    Aborting...

It's trying to fetch github.comhome because package directory is somehow stuck to the url
github.com + home/username/... = github.comhome

You see?

Offline

#4 2021-02-18 00:50:45

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 29,194
Website

Re: Wild yay error while trying to install git package

And if you remove Yay from the equation, and just build it with makepkg?


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#5 2021-02-18 07:18:39

ayekat
Member
Registered: 2011-01-17
Posts: 1,428
Website

Re: Wild yay error while trying to install git package

elektronek wrote:

It's trying to fetch github.comhome because package directory is somehow stuck to the url
github.com + home/username/... = github.comhome

Yes, but more importantly:

https://github.com/awesomeWM/awesome.git

becomes

                  ________________________
https://github.comhome/username/.cache/yay/awesomeWM/awesome.git
                  ¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯

(just in case it isn't obvious enough yet)


{,META,RE}PKGBUILDSpacman-hacks (includes makemetapkg and remakepkg) │ dotfiles

Offline

Board footer

Powered by FluxBB