ipspace / netlab

Making virtual networking labs suck less
https://netlab.tools
Other
403 stars 56 forks source link

Install libssh-dev dependency on Ubuntu 2024.4 server #1212

Closed jbemmel closed 1 month ago

jbemmel commented 1 month ago

Install fails on Ubuntu 2024.4 due to missing dependency

ipspace commented 1 month ago

I don't get it. The libssh-dev library is not listed as a dependency of ansible-pylibssh and nobody complained (so far) that they cannot install Ansible.

Just to be on the safe side, I created a brand new Ubuntu 22.04 VM, started the full installation process and it completed without a glitch. What exactly is the problem?

jbemmel commented 1 month ago

On Ubuntu 2024.4 server, the install (inside a venv) fails because libssh-dev is not installed. Installing libssh-dev fixed it

On Thu, Jun 6, 2024 at 9:35 AM Ivan Pepelnjak @.***> wrote:

I don't get it. The libssh-dev library is not listed as a dependency of ansible-pylibssh and nobody complained (so far) that they cannot install Ansible.

Just to be on the safe side, I created a brand new Ubuntu 22.04 VM, started the full installation process and it completed without a glitch. What exactly is the problem?

— Reply to this email directly, view it on GitHub https://github.com/ipspace/netlab/pull/1212#issuecomment-2152699980, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAPQACYZAT5D3T4PW77L4RTZGBXT7AVCNFSM6AAAAABI4XE4YWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCNJSGY4TSOJYGA . You are receiving this because you authored the thread.Message ID: @.***>

ipspace commented 1 month ago

On Ubuntu 2024.4 server, the install (inside a venv) fails because libssh-dev is not installed. Installing libssh-dev fixed it

Ah, so we're facing the first 2404 SNAFUs :( Thank you.

The only remaining question: we're installing all other system library dependencies in install.sh, which makes ansible.sh platform-independent (it has no apt calls, just pip3 and sudo). Wouldn't it be better to add libssh-dev to https://github.com/ipspace/netlab/blob/dev/netsim/install/ubuntu.sh#L66?

jbemmel commented 1 month ago

On Ubuntu 2024.4 server, the install (inside a venv) fails because libssh-dev is not installed. Installing libssh-dev fixed it

Ah, so we're facing the first 2404 SNAFUs :( Thank you.

The only remaining question: we're installing all other system library dependencies in install.sh, which makes ansible.sh platform-independent (it has no apt calls, just pip3 and sudo). Wouldn't it be better to add libssh-dev to https://github.com/ipspace/netlab/blob/dev/netsim/install/ubuntu.sh#L66?

Yes, that's better - feel free to add it there

ipspace commented 1 month ago

Replaced by d0bd5814bc2ce33b6beb9cb326482fd989b29e0c