lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


Am 09.01.2014 12:05 schröbte cch:
Hi Hisham,

Sorry for my poor English.

I have two box, one is 32bit debian, another is 64bit ubuntu.
I installed the lzmq by luarocks a month ago in ubuntu box, which is
0.3.1-1
I installed the lzmq a few days ago in debian box by luarocks, which is
0.3.3-1
And I noticed that lzmq released a newer version, so I was trying to
update the 0.3.1-1 in ubuntu box to be 0.3.3-1.  But "luarocks install
lzmq" always installed the 0.3.1-1 in ubuntu box.

I guess it may caused by either incorrect caches in my local or
incorrect data from server, because:
I tried the method provided by Alexey 'luarocks install lzmq 0.3.1', it
installs the 0.3.1-1, but says 'Error: No results matching query were
found.' with 'luarocks install lzmq 0.3.3'

I tried the luarocks-admin refresh_cache, it does not help.

Try removing `manifest-5.1` and/or `manifest-5.2` in `.cache/luarocks/http___www.luarocks.org_repositories_rocks`. It seems that luarocks won't overwrite those files when unpacking the zipped manifests. The problem should be fixed in the master branch on github. A similar problem came up on the luarocks mailing list recently.

Philipp



在 2014-01-07二的 13:06 -0200,Hisham写道:
Hello Dirk,

To clarify: you want version 0.3.3-1, but when you run `luarocks
install lzmq` it always installs 0.3.1-1? Is that correct?

The latest rockspec for lzmq is compatible with Lua 5.1 and 5.2, so it
shouldn't be a Lua version issue...

Can you post the full output of the following commands?

    luarocks list

    luarocks install lzmq

Thank you!

-- Hisham

On 7 January 2014 01:44, cch@srdgame <srdgame@gmail.com> wrote:
The LuaRocks were built from source code which is 2.1.1


On Tue, Jan 7, 2014 at 11:42 AM, cch@srdgame <srdgame@gmail.com> wrote:

Hi All,

I was installed the lzmq a month ago in one ubuntu 64bit pc, which is
version 0.3.1.1.  And I was installed the lzmq in another debian 32bit pc,
which I got a 0.3.3.1.  I was tried to install the lzmq again in ubuntu, but
it always download and install the 0.3.1.1.  Event I uninstall and install
lzmq, it always install the older version.

I did not find a option to let LuaRocks update the lzmq.

-Dirk