Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Luarocks fails to download files #1188

Open
vadi2 opened this issue May 3, 2020 · 0 comments
Open

Luarocks fails to download files #1188

vadi2 opened this issue May 3, 2020 · 0 comments

Comments

@vadi2
Copy link

vadi2 commented May 3, 2020

Using latest 3.3.1, there are certain rocks that it just fails to download. I can download these files manually and there are no issues with my internet connection.

 vadi  ~  luarocks download i18n
Warning: Failed searching manifest: Failed downloading https://luarocks.org - Failed downloading https://luarocks.org/manifest-5.1 - /home/vadi/.cache/luarocks/https___luarocks.org/manifest-5.1
 vadi  ~  luarocks download i18n
Warning: Failed searching manifest: Failed downloading https://luarocks.org - Failed downloading https://luarocks.org/manifest-5.1 - /home/vadi/.cache/luarocks/https___luarocks.org/manifest-5.1
 vadi  ~  sudo luarocks install i18n
Installing https://luarocks.org/i18n-0.9.2-1.rockspec

Error: Error fetching file: Failed downloading https://github.com/kikito/i18n.lua/archive/v0.9.2.tar.gz - v0.9.2.tar.gz
 vadi  ~  sudo luarocks install --verbose i18n
fs.current_dir()
fs.current_dir()
fs.system_cache_dir()
fs.is_dir("/var/cache")
fs.absolute_name("/var/cache")
fs.current_dir()
fs.check_command_permissions(table: 0x557a7833bf20)
fs.exists("/usr/local/lib/luarocks/rocks-5.1")
fs.is_writable("/usr/local/lib/luarocks/rocks-5.1")
fs.is_dir("/usr/local/lib/luarocks/rocks-5.1")
fs.absolute_name("/usr/local/lib/luarocks/rocks-5.1")
fs.current_dir()
fs.exists("/usr/local/share/lua/5.1")
fs.is_writable("/usr/local/share/lua/5.1")
fs.is_dir("/usr/local/share/lua/5.1")
fs.absolute_name("/usr/local/share/lua/5.1")
fs.current_dir()
fs.exists("/usr/local/bin")
fs.is_writable("/usr/local/bin")
fs.is_dir("/usr/local/bin")
fs.absolute_name("/usr/local/bin")
fs.current_dir()
fs.exists("/usr/local/share/lua/5.1")
fs.is_writable("/usr/local/share/lua/5.1")
fs.is_dir("/usr/local/share/lua/5.1")
fs.absolute_name("/usr/local/share/lua/5.1")
fs.current_dir()

os.execute: 	"/usr/bin/lua5.1" -e "io.write(tostring(jit and jit.version:gsub([[^%S+ ]], [[]])))" > /tmp/lua_GFkxmb
Results: 1
  1 (number): 0
fs.make_dir("/var/cache/luarocks/https___luarocks.org")
fs.download("https://luarocks.org/manifest-5.1.zip", "/var/cache/luarocks/https___luarocks.org/manifest-5.1.zip", true)
fs.absolute_name("/var/cache/luarocks/https___luarocks.org/manifest-5.1.zip")
fs.current_dir()
fs.absolute_name("/var/cache/luarocks/https___luarocks.org/manifest-5.1.zip")
fs.current_dir()
Installing https://luarocks.org/i18n-0.9.2-1.rockspec
fs.check_command_permissions(table: 0x557a7833bf20)
fs.exists("/usr/local/lib/luarocks/rocks-5.1")
fs.is_writable("/usr/local/lib/luarocks/rocks-5.1")
fs.is_dir("/usr/local/lib/luarocks/rocks-5.1")
fs.absolute_name("/usr/local/lib/luarocks/rocks-5.1")
fs.current_dir()
fs.exists("/usr/local/share/lua/5.1")
fs.is_writable("/usr/local/share/lua/5.1")
fs.is_dir("/usr/local/share/lua/5.1")
fs.absolute_name("/usr/local/share/lua/5.1")
fs.current_dir()
fs.exists("/usr/local/bin")
fs.is_writable("/usr/local/bin")
fs.is_dir("/usr/local/bin")
fs.absolute_name("/usr/local/bin")
fs.current_dir()
fs.exists("/usr/local/share/lua/5.1")
fs.is_writable("/usr/local/share/lua/5.1")
fs.is_dir("/usr/local/share/lua/5.1")
fs.absolute_name("/usr/local/share/lua/5.1")
fs.current_dir()
fs.check_command_permissions(table: 0x557a7833bf20)
fs.exists("/usr/local/lib/luarocks/rocks-5.1")
fs.is_writable("/usr/local/lib/luarocks/rocks-5.1")
fs.is_dir("/usr/local/lib/luarocks/rocks-5.1")
fs.absolute_name("/usr/local/lib/luarocks/rocks-5.1")
fs.current_dir()
fs.exists("/usr/local/share/lua/5.1")
fs.is_writable("/usr/local/share/lua/5.1")
fs.is_dir("/usr/local/share/lua/5.1")
fs.absolute_name("/usr/local/share/lua/5.1")
fs.current_dir()
fs.exists("/usr/local/bin")
fs.is_writable("/usr/local/bin")
fs.is_dir("/usr/local/bin")
fs.absolute_name("/usr/local/bin")
fs.current_dir()
fs.exists("/usr/local/share/lua/5.1")
fs.is_writable("/usr/local/share/lua/5.1")
fs.is_dir("/usr/local/share/lua/5.1")
fs.absolute_name("/usr/local/share/lua/5.1")
fs.current_dir()
fs.make_temp_dir("luarocks-rockspec-i18n-0.9.2-1")
fs.system_temp_dir()
fs.change_dir("/tmp/luarocks_luarocks-rockspec-i18n-0.9.2-1-1024743")
fs.make_dir("/var/cache/luarocks/https___luarocks.org")
fs.download("https://luarocks.org/i18n-0.9.2-1.rockspec", "/var/cache/luarocks/https___luarocks.org/i18n-0.9.2-1.rockspec", true)
fs.absolute_name("/var/cache/luarocks/https___luarocks.org/i18n-0.9.2-1.rockspec")
fs.current_dir()
fs.copy("/var/cache/luarocks/https___luarocks.org/i18n-0.9.2-1.rockspec", "/tmp/luarocks_luarocks-rockspec-i18n-0.9.2-1-1024743/i18n-0.9.2-1.rockspec")
fs.set_permissions("/tmp/luarocks_luarocks-rockspec-i18n-0.9.2-1-1024743/i18n-0.9.2-1.rockspec", "read", "all")
fs._unix_moderate_permissions("644")
fs._unix_umask()

io.popen: 	umask -S
fs.execute("chmod", "644", "/tmp/luarocks_luarocks-rockspec-i18n-0.9.2-1-1024743/i18n-0.9.2-1.rockspec")
fs.Q("644")
fs.Q("/tmp/luarocks_luarocks-rockspec-i18n-0.9.2-1-1024743/i18n-0.9.2-1.rockspec")
fs.execute_string("chmod '644' '/tmp/luarocks_luarocks-rockspec-i18n-0.9.2-1-1024743/i18n-0.9.2-1.rockspec'")

os.execute: 	chmod '644' '/tmp/luarocks_luarocks-rockspec-i18n-0.9.2-1-1024743/i18n-0.9.2-1.rockspec'
Results: 1
  1 (number): 0
fs.pop_dir()
fs.absolute_name("/tmp/luarocks_luarocks-rockspec-i18n-0.9.2-1-1024743/i18n-0.9.2-1.rockspec")
fs.current_dir()
fs.make_temp_dir("luarocks-source-i18n-0.9.2-1")
fs.system_temp_dir()
fs.change_dir("/tmp/luarocks_luarocks-source-i18n-0.9.2-1-6876646")
fs.download("https://github.com/kikito/i18n.lua/archive/v0.9.2.tar.gz", "v0.9.2.tar.gz")
fs.absolute_name("v0.9.2.tar.gz")
fs.current_dir()
GET	https://github.com/kikito/i18n.lua/archive/v0.9.2.tar.gz
fs.pop_dir()

Error: Error fetching file: Failed downloading https://github.com/kikito/i18n.lua/archive/v0.9.2.tar.gz - v0.9.2.tar.gz
fs.change_dir_to_root()
fs.delete("/tmp/luarocks_luarocks-source-i18n-0.9.2-1-6876646")
fs.delete("/tmp/luarocks_luarocks-rockspec-i18n-0.9.2-1-1024743")
 vadi  ~  wget https://github.com/kikito/i18n.lua/archive/v0.9.2.tar.gz
--2020-05-03 11:09:25--  https://github.com/kikito/i18n.lua/archive/v0.9.2.tar.gz
Resolving github.com (github.com)... 140.82.118.4
Connecting to github.com (github.com)|140.82.118.4|:443... connected.
HTTP request sent, awaiting response... 302 Found
Location: https://codeload.github.com/kikito/i18n.lua/tar.gz/v0.9.2 [following]
--2020-05-03 11:09:26--  https://codeload.github.com/kikito/i18n.lua/tar.gz/v0.9.2
Resolving codeload.github.com (codeload.github.com)... 140.82.113.9
Connecting to codeload.github.com (codeload.github.com)|140.82.113.9|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: unspecified [application/x-gzip]
Saving to: 'v0.9.2.tar.gz’

v0.9.2.tar.gz                                                 [ <=>                                                                                                                                 ]  11.07K  --.-KB/s    in 0s      

2020-05-03 11:09:26 (62.0 MB/s) - 'v0.9.2.tar.gz’ saved [11338]

 vadi  ~  

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant