You are not logged in.

#1 2024-05-26 20:21:10

dprack
Member
Registered: 2024-05-14
Posts: 8

[SOLVED] git clone failed with makepkg -si

I wanna install aur.archlinux.org/packages/pcsx2-git.But, i still get this error even though my internet is even good.

fetch-pack: unexpected disconnect while reading sideband packet
fatal: early EOF
fatal: fetch-pack: invalid index-pack output
==> ERROR: Failure while downloading pcsx2 git repo
    Aborting...

I tried to fix with https://stackoverflow.com/questions/663 … and-packet. The result is still same. But if i cloning with github.com server is running as well.

Last edited by dprack (2024-05-29 16:51:46)

Offline

#2 2024-05-27 09:31:47

Lone_Wolf
Administrator
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 13,012

Re: [SOLVED] git clone failed with makepkg -si

The stackoverflow thread deals with a problem while sending stuff, not receiving .

Does

git clone https://github.com/PCSX2/pcsx2.git

work for you ?


Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.

clean chroot building not flexible enough ?
Try clean chroot manager by graysky

Online

#3 2024-05-27 11:46:58

dprack
Member
Registered: 2024-05-14
Posts: 8

Re: [SOLVED] git clone failed with makepkg -si

Yeah, is working with no problem in first try. Only if clone to AUR server. I tried to fix with https://stackoverflow.com/questions/212 … ack-failed. Change the global config 'core.compression 0'. Then 'core.compression 9' value. Still getting error. But i not yet try to touching PKGBUILD

Offline

#4 2024-05-27 12:52:52

seth
Member
Registered: 2012-09-03
Posts: 59,410

Re: [SOLVED] git clone failed with makepkg -si

I wanna install aur.archlinux.org/packages/pcsx2-git

Only if clone to AUR server.

What exactly are you trying to do there?
Is that your package?
You generally do not "clone to" anything, you'd push commits but you need permission on the git server for that which you won't have if this isn't your package.
It's also completely not required to install anything.

Please don't paraphrase, https://bbs.archlinux.org/viewtopic.php?id=57855
Post the exact IO that leads to the problem.

Offline

#5 2024-05-27 13:30:27

dprack
Member
Registered: 2024-05-14
Posts: 8

Re: [SOLVED] git clone failed with makepkg -si

I get an error when running 'makepkg -si' on AUR pcsx2-git. No, that's not my package.

Thank you for the criticism and suggestions, I will do my best for the next post

Offline

#6 2024-05-27 13:46:25

seth
Member
Registered: 2012-09-03
Posts: 59,410

Re: [SOLVED] git clone failed with makepkg -si

Ok, thanks for clearing that up.

What and how's your network condiition?
Stable ethernet or wifi behind an unstable ISP?
Do you use any kind of VPN?
Does it always fail on the same repo (the PKGBUILD lists a couple of them)?

Finally edit the PKGBUILD and remove the "git+" ie. replace "git+https" w/ "https" in the source array.

Offline

#7 2024-05-28 17:41:26

dprack
Member
Registered: 2024-05-14
Posts: 8

Re: [SOLVED] git clone failed with makepkg -si

The connection is good, and yes Wifi with 270Mbps. No, i turn off the VPN. Do always failed?. So far, just this package(pcsx2-git). Yes, it always failed in proccess https://github.com/PCSX2/pcsx2.git.

Finally edit the PKGBUILD and remove the "git+" ie. replace "git+https" w/ "https" in the source array.

I tried edit PKGBUILD as you said and got:

/home/dprack/ori/pcsx2-git/PKGBUILD: line 75: cd: pcsx2: No such file or directory
==> ERROR: A failure occurred in prepare().
    Aborting...

Offline

#8 2024-05-28 20:49:27

seth
Member
Registered: 2012-09-03
Posts: 59,410

Re: [SOLVED] git clone failed with makepkg -si

What does the edited PKGBUILD actually look like and what/were there errors before that failure?

Offline

#9 2024-05-29 00:48:04

loqs
Member
Registered: 2014-03-06
Posts: 18,105

Re: [SOLVED] git clone failed with makepkg -si

Does the following work:

git clone --origin=origin --mirror https://github.com/PCSX2/pcsx2.git pcsx2

If it does can you then build the package?

Offline

#10 2024-05-29 16:50:33

dprack
Member
Registered: 2024-05-14
Posts: 8

Re: [SOLVED] git clone failed with makepkg -si

UPDATE. I just tried it to run 'makepkg si' it works fine even with the original PKGBUILD. And the same wifi internet, I don't know what's going on. But the build has an error, I don't think it's appropriate to put it here. Thanks for the advertisement. I'll mark this as solved.

Offline

Board footer

Powered by FluxBB