hmgle / graftcp

A flexible tool for redirecting a given program's TCP traffic to SOCKS5 or HTTP proxy.
GNU General Public License v3.0
2.14k stars 179 forks source link

graftcp breaks yay #64

Closed tewilove closed 5 months ago

tewilove commented 10 months ago

Configured graft-local to use a local socks5 server only.

[ming@A770 aur]$ graftcp bash
[ming@A770 aur]$ yay -S graftcp
 -> 1 error occurred:
    * request failed: Get "https://aur.archlinux.org/rpc?arg%5B%5D=graftcp&type=info&v=5": EOF

 -> Failed to find AUR package for graftcp:1 error occurred:
    * request failed: Get "https://aur.archlinux.org/rpc?arg=graftcp&by=provides&type=search&v=5": EOF

 -> No AUR package found for graftcp
 there is nothing to do
hmgle commented 10 months ago

It can't be reproduced on my machine. Can you post the graftcp-local log?

hmgle commented 5 months ago

Since I can't reproduce this issue on my host and there are no log to help pinpoint the problem, I'm going to close this issue for now. Additionally, because yay actually invokes sudo pacman ..., you'll need to use the -u parameter to start the command: sudo graftcp sudo -u $USER yay ..., or sudo graftcp -u $USER yay ....