Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Libreqos v1.4] installer problems on Debian 11 in LXC #432

Open
interduo opened this issue Dec 6, 2023 · 0 comments
Open

[Libreqos v1.4] installer problems on Debian 11 in LXC #432

interduo opened this issue Dec 6, 2023 · 0 comments
Labels
bug Something isn't working

Comments

@interduo
Copy link
Collaborator

interduo commented Dec 6, 2023

I tried to run:
apt install libreqos on Debian 11 in LXC container on Proxmox

Installer problems on Debian 11

    create a virtual environment using python3 -m venv path/to/venv.
    Then use path/to/venv/bin/python and path/to/venv/bin/pip. Make
    sure you have python3-full installed.

    If you wish to install a non-Debian packaged Python application,
    it may be easiest to use pipx install xyz, which will manage a
    virtual environment for you. Make sure you have pipx installed.

    See /usr/share/doc/python3.11/README.venv for more information.

note: If you believe this is a mistake, please contact your Python installation or OS distribution provider. You can override this, at the risk of breaking your Python installation or OS, by passing --break-system-packages.
hint: See PEP 668 for the detailed specification.
/var/lib/dpkg/info/libreqos.postinst: line 37: sudo: command not found
                          LibreQoS 1.4 Setup Assistant

/etc/lqos.confdoes not exist, building one.
Which Network Interface faces the INTERNET?
Available Interfaces
eth0 - Ethernet
eth0

additionally You cannot break this instalation script (without killing from another terminal) whitch is problematic
lastly i found in clean envirnoment:
emtpy file in /opt/libreqos with -rw-r--r-- 1 root root 0 Dec 6 17:17 '='

So:

  1. We should check if there is root logged in - if yes then not use sudo - it's not useful
    OR we should add requirement for sudo package for libreqos.deb.
  2. Please add abbility to break instalation script during install.
    I suggest printing:
    Installing LibreQoS is done, now please run configuration script /opt/libreqos/configurelibreqos.sh
    instead of running it script automaticly by /bin/bash /var/lib/dpkg/info/libreqos.postinst configure
@interduo interduo added the bug Something isn't working label Dec 6, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant