You are not logged in.

#1 2017-06-21 22:49:05

Zazzman
Member
Registered: 2011-12-26
Posts: 34

[SOLVED]When fetching yaourt.git, weird error.

sudo git clone https://aur.archlinux.org/package-query.git

yields

Cloning into 'package-query'...
fatal: The remote end hung up unexpectedly

This appears even for the github-hosted variant, or anything else git-related. On a fresh install.

Any suggestions?

Last edited by Zazzman (2017-06-21 23:50:32)

Offline

#2 2017-06-21 22:50:37

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,424
Website

Re: [SOLVED]When fetching yaourt.git, weird error.

Please paste the full command and error output: https://bbs.archlinux.org/viewtopic.php?id=57855


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#3 2017-06-21 22:53:03

Zazzman
Member
Registered: 2011-12-26
Posts: 34

Re: [SOLVED]When fetching yaourt.git, weird error.

sorry. updated op with that.

Offline

#4 2017-06-21 23:03:42

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,424
Website

Re: [SOLVED]When fetching yaourt.git, weird error.

You don't need elevated privileges for that: https://en.wikipedia.org/wiki/Principle … _privilege


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#5 2017-06-21 23:16:54

Xyne
Administrator/PM
Registered: 2008-08-03
Posts: 6,963
Website

Re: [SOLVED]When fetching yaourt.git, weird error.

Zazzman wrote:
sudo git clone https://aur.archlinux.org/package-query.git

Why are you running git with root privileges? hmm


My Arch Linux StuffForum EtiquetteCommunity Ethos - Arch is not for everyone

Offline

#6 2017-06-21 23:49:27

Zazzman
Member
Registered: 2011-12-26
Posts: 34

Re: [SOLVED]When fetching yaourt.git, weird error.

Xyne wrote:
Zazzman wrote:
sudo git clone https://aur.archlinux.org/package-query.git

Why are you running git with root privileges? hmm

Because I don't yet have a user for that. And I'm deliberately keeping my "daily use" user from that functionality.

Solved the issue by purging the install - had some artifacts left over from a botched install of the 'git' package in the chroot. Reinstalled *everything* afterwards to make sure there wasn't some similar issue lurking.

Solved.

Offline

#7 2017-06-22 00:19:18

Xyne
Administrator/PM
Registered: 2008-08-03
Posts: 6,963
Website

Re: [SOLVED]When fetching yaourt.git, weird error.

Zazzman wrote:
Xyne wrote:

Why are you running git with root privileges? hmm

Because I don't yet have a user for that. And I'm deliberately keeping my "daily use" user from that functionality.

Why do you want to keep your "daily use" user from using git, and why is it better for root to use git?


My Arch Linux StuffForum EtiquetteCommunity Ethos - Arch is not for everyone

Offline

#8 2017-06-22 06:08:22

x33a
Forum Fellow
Registered: 2009-08-15
Posts: 4,587

Re: [SOLVED]When fetching yaourt.git, weird error.

I think that Zazzman hasn't added their regular user to the sudo/wheel group. But why is sudo required with git irrespective of the user is beyond me.

Offline

Board footer

Powered by FluxBB