You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I got rather confused and spent some time debugging when calling the following:
$ asdf install postgres 14
** Resuming transfer from byte position 146
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 146 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
gzip: stdin: not in gzip format
tar: Child returned status 1
tar: Error is not recoverable: exiting now
/home/bogn/.asdf/plugins/postgres/bin/download: line 38: fail: command not found
First I focused on the fail command which was a bit of a dead end. After some time I found out the file is a HTML page with a 404 text in it. Then I looked at the actually available versions and noticed that there's no notion of latest minor of a given version and specified one from asdf list-all postgres which made it work. Other plugins handle a wrongly passed version with a helpful error message like this:
ruby-build: definition not found: 3
Regarding the fail command please note:
The fail command which is called in the download bin (see error message in above code block), is not installed in ubuntu 22.04 and there are actually no package candidates for it. It's also not findable via dedicated search in the packages site.
Thanks for your work on the postgres plugin.
I got rather confused and spent some time debugging when calling the following:
First I focused on the
fail
command which was a bit of a dead end. After some time I found out the file is a HTML page with a 404 text in it. Then I looked at the actually available versions and noticed that there's no notion of latest minor of a given version and specified one fromasdf list-all postgres
which made it work. Other plugins handle a wrongly passed version with a helpful error message like this:Regarding the
fail
command please note:The
fail
command which is called in the download bin (see error message in above code block), is not installed in ubuntu 22.04 and there are actually no package candidates for it. It's also not findable via dedicated search in the packages site.asdf-postgres/bin/download
Line 38 in acbbc49
I couldn't actually find out, where this command exists.
The text was updated successfully, but these errors were encountered: