Closed ebell2-macu closed 6 years ago
Removing the aurpkglist()
function results in command not found
lines, but otherwise fixes this.
Edit: I mean that it very specifically fixes this -Syu
.
print debugging suggests the hang doesn't occur in aurpkglist, it happens when selectprovider()
calls pickone()
(Still print debugging) It does not appear to enter pickone()
, it just hangs. This is the limit of my usefulness. Good luck.
Oooh, it appears that this might fix this issue:
@@ -360,7 +360,7 @@ existsinaur() {
regexmatch="$(echo $val | tr -dc '0-9a-z-.\n')"
if [[ $val != $regexmatch ]]; then
matches=$(aurpkglist "$val")
- selectprovider "$val" $matches
+ selectprovider "$val" "${matches[@]}"
if [[ $providepkg ]]; then
eval "$2=\"$providepkg\"" 2>/dev/null
chosenpkg="$providepkg"
That patch solves -Syu
for me
Aaaand the code is being removed with regex mode anyway. Fun distraction.
Deleted my fork pull request #91 was based on. Posting the patch here because relevant issue.
I have libc++ installed as the dependencies require, but everytime i run apacman -Syu, it prints out
and then fails to update anything
Here's the the full bash debug: http://pastebin.com/0Rvge879