Torch7: cannot download packages using luarocks

Created on 13 Mar 2015  路  6Comments  路  Source: torch/torch7

I tried luarocks in the terminal:
$ luarocks install image

but it said this:
Warning: Failed searching manifest: Failed fetching manifest for https://raw.githubusercontent.com/torch/rocks/master - Failed downloading https://raw.githubusercontent.com/torch/rocks/master/manifest
Warning: Failed searching manifest: Failed fetching manifest for https://raw.githubusercontent.com/rocks-moonscript-org/moonrocks-mirror/master - Failed downloading https://raw.githubusercontent.com/rocks-moonscript-org/moonrocks-mirror/master/manifest

Error: No results matching query were found.

How can I get rid of this problem? Thanks!

Most helpful comment

I am trying to download qtlua and facing the same issue:
sudo luarocks install qtlua
Warning: Failed searching manifest: Failed fetching manifest for https://luarocks.org - Failed downloading https://luarocks.org/manifest - /home/ubuntu/.cache/luarocks/https___luarocks.org/manifest

All 6 comments

sudo rm -rf ~/.cache/luarocks

Then try again.
On Mar 13, 2015 5:57 AM, "Thomas Wang-Yiwen" [email protected]
wrote:

I tried luarocks in the terminal:
$ luarocks install image

but it said this:
Warning: Failed searching manifest: Failed fetching manifest for
https://raw.githubusercontent.com/torch/rocks/master - Failed downloading
https://raw.githubusercontent.com/torch/rocks/master/manifest
Warning: Failed searching manifest: Failed fetching manifest for
https://raw.githubusercontent.com/rocks-moonscript-org/moonrocks-mirror/master

Error: No results matching query were found.

How can I get rid of this problem. Thanks!

Reply to this email directly or view it on GitHub
https://github.com/torch/torch7/issues/169.

Thanks. Problem solved.

Hi,
Running into the same problem.
already tried the sudo rm -rf ~/.cache/luarocks and tried again.
And still get the same error. @soumith

I'm running the torch7 on a ubuntu 14.04 LTS pc behind a proxy. I have already made environment variables Http_proxy and proxy.

The default options for wget and curl and git has been set to run via this proxy. here are the steps I used to change the settings of the packages of Wget proxy, Curl proxy & git proxy

The env variables are available in my .bashrc and /etc/enviornmentfiles.

I have also added the proxy in the config.lua file as per this post as well.

The error I get when i try to install this is

$sudo luarocks install cunn
Warning: Failed searching manifest: Failed loading manifest: 
Failed fetching manifest for http://luarocks.org/repositories/rocks 
- Error fetching file: Failed downloading 
http://luarocks.org/repositories/rocks/manifest


Error: No results matching query were found.

I am trying to download qtlua and facing the same issue:
sudo luarocks install qtlua
Warning: Failed searching manifest: Failed fetching manifest for https://luarocks.org - Failed downloading https://luarocks.org/manifest - /home/ubuntu/.cache/luarocks/https___luarocks.org/manifest

In my case, the following code solved the problem. In ubuntu 16.04
sudo rm -rf ~/.luarocks

@RudyQ Don't have that directory

Was this page helpful?
0 / 5 - 0 ratings

Related issues

Nate1874 picture Nate1874  路  3Comments

stonebig picture stonebig  路  7Comments

kaleem0002 picture kaleem0002  路  10Comments

i55code picture i55code  路  4Comments

hanbim520 picture hanbim520  路  5Comments