stuartpb / aur.sh

A Bash script to install packages from the Arch User Repository
http://aur.sh/
The Unlicense
39 stars 7 forks source link

[BUG] Unable to find packages in the AUR. #6

Closed trusktr closed 9 years ago

trusktr commented 9 years ago

Probably the URL format changed?

Here's example output:

┌─[13:55:48/hypership/trusktr//tmp/tmp.Mg2MzZFkY2]
└─╼ bash <(curl aur.sh) -si adroid-sdk android-sdk-platform-tools
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100   167  100   167    0     0    635      0 --:--:-- --:--:-- --:--:--   637
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100   168  100   168    0     0    196      0 --:--:-- --:--:-- --:--:--   196

gzip: stdin: not in gzip format
tar: Child returned status 1
tar: Error is not recoverable: exiting now
/dev/fd/63: line 7: cd: adroid-sdk: No such file or directory
==> ERROR: PKGBUILD does not exist.
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100   168  100   168    0     0    198      0 --:--:-- --:--:-- --:--:--   198

gzip: stdin: not in gzip format
tar: Child returned status 1
tar: Error is not recoverable: exiting now
/dev/fd/63: line 7: cd: android-sdk-platform-tools: No such file or directory
==> ERROR: PKGBUILD does not exist.
stuartpb commented 9 years ago

I just pushed the version from #5 to https://aur.sh - hopefully, I can switch the site over to https://meta.sh at some point in the future.

trusktr commented 9 years ago

@stuartpb Sweet. How does it know which dependencies to get?

stuartpb commented 9 years ago

It doesn't, makepkg -s does. Per the README, if you need to get multiple AUR packages to satisfy dependencies, you have to explicitly specify them on the command line.

trusktr commented 9 years ago

An example of that while using aur.sh would be great!

On Thu, Oct 22, 2015 at 2:42 PM, Stuart P. Bentley <notifications@github.com

wrote:

It doesn't, makepkg -si does. Per the README, if you need to get multiple AUR packages to satisfy dependencies, you have to explicitly specify them on the command line.

— Reply to this email directly or view it on GitHub https://github.com/stuartpb/aur.sh/issues/6#issuecomment-150364460.