#1954 Fresh Prosody 13 install on Debian 13 Trixie installing lua 5.1 as dependancies but its no longer compatible

Reporter Michael P
Owner Nobody
Created
Updated
Stars ★ (1)
Tags
  • Type-Defect
  • OpSys-Debian
  • Status-Invalid
  • Priority-Medium
  1. Michael P on

    What steps will reproduce the problem? 1. Install fresh Debian 13 Trixie 2. Use .sources file from https://prosody.im/downloads/repos/$(lsb_release -sc)/prosody.sources 3. Run apt install prosody What is the expected output? Successfully installed and started What do you see instead? Aug 21 19:10:00 debian prosody[6255]: Prosody is no longer compatible with Lua 5.1 Aug 21 19:10:00 debian prosody[6255]: See https://prosody.im/doc/depends#lua for more information What version of the product are you using? On what operating system? michael@debian:~$ head -n1 /etc/os-release PRETTY_NAME="Debian GNU/Linux 13 (trixie)" michael@debian:~$ sudo apt info prosody Package: prosody Version: 13.0.2-1~trixie1 Priority: optional Section: net Maintainer: Matthew James Wild <mwild1@gmail.com> Installed-Size: 3,373 kB Provides: prosody, prosody-xmpp-server, xmpp-server Depends: adduser, lsb-base, lua5.4 | lua5.3 | lua5.2, lua-expat, lua-filesystem, lua-sec, lua-socket, ope> Recommends: ca-certificates, lua-readline, lua-unbound, luarocks Suggests: lua-bitop | lua-bit32, lua-dbi-mysql, lua-dbi-postgresql, lua-lsqlite3 | lua-dbi-sqlite3, lua-e> Conflicts: prosody, prosody-modules (<< 0.0~hg20170719.cd828b1cb5b9+dfsg-2), prosody-xmpp-server Replaces: prosody, prosody-xmpp-server Homepage: https://prosody.im/ Download-Size: 459 kB APT-Manual-Installed: yes APT-Sources: http://packages.prosody.im/debian trixie/main amd64 Packages Description: Lightweight Jabber/XMPP server Prosody IM is a simple-to-use XMPP server. It is designed to be easy to extend via plugins, and light on resources. Please provide any additional information below. Attempting to uninstall lua5.1 installs 5.2 automatically michael@debian:~$ sudo apt remove liblua5.1-0-dev liblua5.1-0 lua5.1 Installing dependencies: liblua5.2-0 liblua5.2-dev libtool-bin lua5.2 REMOVING: liblua5.1-0 liblua5.1-0-dev lua5.1 Summary: Upgrading: 0, Installing: 4, Removing: 3, Not Upgrading: 0 1 not fully installed or removed. Download size: 814 kB Space needed: 879 kB / 28.4 GB available This then let Prosody start as i figure its running lua 5.2, mind you it's also installed 5.4 too, my guess is that 5.1 is installed because of some other dep (eg. lua-expat, lua-filesystem) which then also requires 5.1. Let me know if there's anything i can do to help :)

  2. Zash on

    Thanks for the report. How to handle this is documented in the release notes: https://prosody.im/doc/release/13.0.0#lua-5.1-support-removed It happens because prosody recommends luarocks (for the plugin installer) which depends on lua5.1, 5.2 or 5.3 but *not* 5.4, then lua5.1 usually gets installed and set to be /usr/bin/lua via the alternatives system.

    Changes
    • tags Status-Invalid OpSys-Debian
  3. Michael P on

    ah, makes sense! i didn't think to check the release notes because i was following the documentation for a fresh install. cheers.

New comment

Not published. Used for spam prevention and optional update notifications.