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

[Bug]: Ubuntu 23.04 Dependency Check for Netcat #4344

Closed
SeanRudden opened this issue Oct 19, 2023 · 4 comments · Fixed by #4348
Closed

[Bug]: Ubuntu 23.04 Dependency Check for Netcat #4344

SeanRudden opened this issue Oct 19, 2023 · 4 comments · Fixed by #4348

Comments

@SeanRudden
Copy link

User story

I am trying to install a Rust server on Ubuntu 23.04, it fails at installing dependencies for steamcmd.

Game

Rust

Linux distro

Other

Command

command: install

Further information

After running ./rustserver install, I get the following:

E: Package 'netcat' has no installation candidate
sudo dpkg --add-architecture i386; sudo apt update; sudo apt install bsdmainutils bzip2 lib32stdc++6 lib32z1 libsdl2-2.0-0:i386 netcat steamcmd unzip
Failure! Missing dependencies required to run SteamCMD.
fetching GitHub core_exit.sh...OK
~$

after trying to install netcat manually:

~$ sudo apt install netcat
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Package netcat is a virtual package provided by:
  netcat-traditional 1.10-47
  netcat-openbsd 1.219-1ubuntu1
You should explicitly select one to install.

E: Package 'netcat' has no installation candidate
~$

It appears that in Ubuntu 23.04 netcat is now split into 2 versions. I tried Ubuntu 22.04 and 20.04 and they don't have this issue. I believe netcat-traditional should be used instead for the dependency check.

Relevant log output

No response

Steps to reproduce

No response

@d3adwolf
Copy link

Similar problem, i'm install netcat-traditional with apt - didn't help.

[ WARN ] Starting Minecraft: Missing dependencies: netcatInformation! Automatically installing missing dependencies.
Hit:1 http://ru.archive.ubuntu.com/ubuntu lunar InRelease
Hit:2 http://ru.archive.ubuntu.com/ubuntu lunar-updates InRelease
Hit:3 http://ru.archive.ubuntu.com/ubuntu lunar-backports InRelease
Hit:4 http://ru.archive.ubuntu.com/ubuntu lunar-security InRelease
Reading package lists... Done
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Package netcat is a virtual package provided by:
  netcat-traditional 1.10-47
  netcat-openbsd 1.219-1ubuntu1
You should explicitly select one to install.

E: Package 'netcat' has no installation candidate
sudo apt update; sudo apt install netcat

My OS: ⬇️
Linux mcserver 6.2.0-35-generic #35-Ubuntu SMP PREEMPT_DYNAMIC Tue Oct 3 13:14:56 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux

@d3adwolf
Copy link

And the netcat package itself does not exist in Ubuntu 23.04.

@gOOvER
Copy link

gOOvER commented Oct 21, 2023

Ubuntu 23.04 is no lts Version ;) I Bet, only lts is supported

@dgibbs64
Copy link
Member

As per this commend the openbsd version is newer and has more features. I will use that package moving forward https://askubuntu.com/a/426320

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Archived in project
Development

Successfully merging a pull request may close this issue.

4 participants