Closed justin8 closed 8 years ago
This pull request doesn't solve the problem
$ ./apacman62 -Su --devel --auronly apacman-utils
:: Synchronizing aur database...
notice: curl exited with code 22 25 351 [############-----------------------------------------------------------------------------------------------------------------------------------------------------------------------] 7%
notice: curl exited with code 22
manpage: HTTP page not retrieved. The requested url was not found or returned another error with the HTTP error code being 400 or above. This return code only appears if -f, --fail is used.
manpage: HTTP page not retrieved. The requested url was not found or returned another error with the HTTP error code being 400 or above. This return code only appears if -f, --fail is used.------------------------------------------] 7%
Okay I figured it out.
The problem was
basepath=$(echo ${pkgpath##*/} | awk -F . '{print $1}')
changed to:
basepath=$(echo ${pkgpath##*/} | sed 's/\.tar\.gz$//')
Fixed in 565f8289c03f03591ec50368dbf94eaab130031f
Fix for curl error seen in #60
It was trying to download packages from a URL with no sanity checks and no checks if the package exists in the AUR first.