Линуксы : установка Prosody для невнимательных - трабл с LuaSec

Понадобилось поднять резервный jabber-сервер на arch-linux. Ну тут все понятно - обновляем пакетный менеджер и
# pacman -S prosody resolving dependencies... looking for conflicting packages... Packages (5) lua52-5.2.4-5 lua52-expat-1.3.0-5 lua52-filesystem-1.8.0-3 lua52-socket-20200329-1 prosody-1:0.11.13-1 Total Download Size: 0.59 MiB Total Installed Size: 2.67 MiB :: Proceed with installation? [Y/n] y :: Retrieving packages... prosody-1:0.11.13-1-x86_64 307.0 KiB 1955 KiB/s 00:00 [################################################] 100% lua52-5.2.4-5-x86_64 222.5 KiB 9.05 MiB/s 00:00 [################################################] 100% lua52-socket-20200329-1-x86_64 53.2 KiB 3.06 MiB/s 00:00 [################################################] 100% lua52-expat-1.3.0-5-x86_64 11.7 KiB 686 KiB/s 00:00 [################################################] 100% lua52-filesystem-1.8.0-3-x86_64 9.3 KiB 716 KiB/s 00:00 [################################################] 100% Total (5/5) 603.7 KiB 2033 KiB/s 00:00 [################################################] 100% (5/5) checking keys in keyring [################################################] 100% (5/5) checking package integrity [################################################] 100% (5/5) loading package files [################################################] 100% (5/5) checking for file conflicts [################################################] 100% (5/5) checking available disk space [################################################] 100% :: Processing package changes... (1/5) installing lua52 [################################################] 100% (2/5) installing lua52-socket [################################################] 100% (3/5) installing lua52-expat [################################################] 100% (4/5) installing lua52-filesystem [################################################] 100% (5/5) installing prosody [################################################] 100% >> Documentation: http://wiki.archlinux.org/index.php/Prosody >> Probably you need to do 'chown prosody:jabber /var/lib/prosody' Optional dependencies for prosody lua52-sec: TLS encryption support lua52-dbi: SQL storage support :: Running post-transaction hooks... (1/4) Creating system user accounts... Creating group 'jabber' with GID 17. Creating group 'prosody' with GID 969. Creating user 'prosody' (Prosody XMPP Server) with UID 969 and GID 969. (2/4) Reloading system manager configuration... (3/4) Creating temporary files... (4/4) Arming ConditionNeedsUpdate...

Вместо того чтобы сразу прочитать все, полез в дебри. А там в логах

Mar 05 09:46:23 startup info Hello and welcome to Prosody version 0.11.13 Mar 05 09:46:23 startup info Prosody is using the select backend for connection handling Mar 05 09:46:23 localhost:tls error Error creating context for c2s: LuaSec (required for encryption) was not found Mar 05 09:46:23 localhost:tls error Error creating contexts for s2sout: LuaSec (required for encryption) was not found Mar 05 09:46:23 localhost:tls error Error creating contexts for s2sin: LuaSec (required for encryption) was not found

То есть нет LuaSec. Поставил luasec через pacman -S luasec, и естественно под свежую версию Lua - 5.4, а #просоди запускается через 5.2


А надо было просто:

# pacman -S lua52-sec resolving dependencies... looking for conflicting packages... Packages (1) lua52-sec-2:1.0.2-1 Total Download Size: 0.04 MiB Total Installed Size: 0.19 MiB :: Proceed with installation? [Y/n] y :: Retrieving packages... lua52-sec-2:1.0.2-1-x86_64 45.9 KiB 127 KiB/s 00:00 [################################################] 100% (1/1) checking keys in keyring [################################################] 100% (1/1) checking package integrity [################################################] 100% (1/1) loading package files [################################################] 100% (1/1) checking for file conflicts [################################################] 100% (1/1) checking available disk space [################################################] 100% :: Processing package changes... (1/1) installing lua52-sec [################################################] 100% :: Running post-transaction hooks... (1/1) Arming ConditionNeedsUpdate...

и
# pacman -S lua52-dbi resolving dependencies... looking for conflicting packages... Packages (1) lua52-dbi-0.7.2-2 Total Download Size: 0.02 MiB Total Installed Size: 0.07 MiB :: Proceed with installation? [Y/n] y :: Retrieving packages... lua52-dbi-0.7.2-2-x86_64 18.8 KiB 27.4 KiB/s 00:01 [################################################] 100% (1/1) checking keys in keyring [################################################] 100% (1/1) checking package integrity [################################################] 100% (1/1) loading package files [################################################] 100% (1/1) checking for file conflicts [################################################] 100% (1/1) checking available disk space [################################################] 100% :: Processing package changes... (1/1) installing lua52-dbi [################################################] 100% Optional dependencies for lua52-dbi sqlite3: sqlite3 Support [installed] postgresql-libs: postgresql Support mariadb-libs: mysql Support :: Running post-transaction hooks... (1/1) Arming ConditionNeedsUpdate...
Вы только посетили наш сайт, КОММЕНТИРОВАНИЕ будет доступно через несколько минут.
возможно у Вас отключен javascript, если включен - просто обновите страницу