所有这些都是在Ubuntu 10.04.4 LTS服务器
- 我按照以下步骤安装了 LUA 5.1.4 -http://ubuntuforums.org/showthread.php?t=1874860
- 我按照这个命令安装了 prosody(下载软件包后)- sudo dpkg -i prosody_0.8.2-1_i386.deb
安装后,我收到以下错误:我尝试按照建议使用 luarock 和 sudo apt-get install 来修复这些问题。但它仍然不断显示这些错误。
Selecting previously deselected package prosody. (Reading database ...
59416 files and directories currently installed.) Unpacking prosody
(from prosody_0.8.2-1_i386.deb) ... Setting up prosody (0.8.2-1) ...
* Starting Prosody XMPP Server prosody
************************** Prosody was unable to find luaexpat This package can be obtained in the following ways:
Source: www[dot]keplerproject[dot]org/luaexpat/
Debian/Ubuntu: sudo apt-get install liblua5.1-expat0
luarocks: luarocks install luaexpat
luaexpat is required for Prosody to run, so we will now exit. More
help can be found on our website, at prosody[dot]im/doc/depends
**************************
************************** Prosody was unable to find luasocket This package can be obtained in the following ways:
Source: www[dot]tecgraf[dot]puc-rio[dot]br/~diego/professional/luasocket/
Debian/Ubuntu: sudo apt-get install liblua5.1-socket2
luarocks: luarocks install luasocket
luasocket is required for Prosody to run, so we will now exit. More
help can be found on our website, at prosody[dot]im/doc/depends
**************************
************************** Prosody was unable to find LuaSec This package can be obtained in the following ways:
Source: www[dot]inf[dot]puc-rio[dot]br/~brunoos/luasec/
Debian/Ubuntu: prosody[dot]im/download/start#debian_and_ubuntu
luarocks: luarocks install luasec
SSL/TLS support will not be available More help can be found on our
website, at prosody[dot]im/doc/depends
**************************
[fail] invoke-rc.d: initscript prosody, action "start" failed. dpkg:
error processing prosody (--install): subprocess installed
post-installation script returned error exit status 1 Processing
triggers for man-db ... Processing triggers for ureadahead ... Errors
were encountered while processing: prosody
非常感谢您的耐心和回答。
答案1
尝试
sudo apt-get install --fix-missing