Thanks.
]]>==> Download PKGBUILD xampp from AUR...
==> ERROR: xampp not found in AUR.
with yajl-2.1.0-1 package-query-1.2-2 yaourt-1.3-1
i have try the solution from this post but don't work
i installed package-query-git and your dependences but don't work:
yajl-2.1.0-1 package-query-git-1.2.6.g333d94a-1 yaourt-git-1.3.36.g64dac00-1
can i do?
tnk
edit:
with sudo yaourt -S xampp i solved the problem, but why?
with yaourt i never used sudo because at the end is required pwd
Before I mark this thread as solved, is there any plan to restore the compact urls, or is everyone expected to use the full urls from now on?
]]>It's not a yaourt issue, it's AUR site issue
The redirects were a courtesy. package-query and packer really need to be updated to use the URLPath from the JSON-RPC reply and not just assume where packages are.
]]>local pkgurl="$AURURL/packages/${pkg:0:2}/$pkg/$pkg.tar.gz"
example of code (packer fix, works for me)
one line 282
short1=${1:0:2}
# Prepare the installation directory
# If there is an old directory and aurversion is not newer, use old directory
if . "$dir/$1/PKGBUILD" &>/dev/null && ! aurversionisnewer "$1" "$pkgver-$pkgrel"; then
cd "$dir/$1"
else
[[ -d $dir ]] && rm -rf $dir
mkdir -p "$dir"
cd "$dir"
curl -Lfs "$PKGURL/$short1/$1/$1.tar.gz" > "$1.tar.gz"
tar xf "$1.tar.gz"
cd "$1"
and
on line 583
shortp=${package:0:2}
for package in "${pkglist[@]}"; do
curl -Lfs "$PKGURL/$shortp/$package/$package.tar.gz" > "$package.tar.gz"
tar xf "$package.tar.gz"
done
fi
local pkgurl="$AURURL/packages/an/$pkg/$pkg.tar.gz"
Seems that the url redirects for AUR packages were removed sometime in the last day or so, which seems to be breaking both pacman packer and yaourt.
For example, packer will try to resolve
https://aur.archlinux.org/packages/andr … ols.tar.gz
which previously redirected to
https://aur.archlinux.org/packages/an/a … ols.tar.gz
but does not anymore.
In addition, my way to fix this issue is very dirty
]]>It's not a yaourt issue, it's AUR site issue
It's a yaourt issue because of the way yaourt access to the AUR. Other AUR helpers work, so why would it be an AUR issue if others work?
]]>