[SOLVED] Proxmox and netcat-openbsd

Typhoe

Member
Jan 30, 2019
8
7
23
124
Hi,

I was trying to install netcat-openbsd (for its -X proxy option) on my Proxmox server but got the message that it conflict with Proxmox install

Is there a reason for that?
It seems proxmox wants only netcat-traditionnal package but it should easily be resolved to have both version of netcat installed on the server, update alternative is there for that isn't it?

# update-alternatives --config nc
There is only one alternative in link group nc (providing /bin/nc): /bin/nc.traditional
Nothing to configure.

# apt install netcat-openbsd
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages will be REMOVED:
proxmox-ve pve-manager

The following NEW packages will be installed:
netcat-openbsd
0 upgraded, 1 newly installed, 2 to remove and 0 not upgraded.
Need to get 38.2 kB of archives.
After this operation, 9,512 kB disk space will be freed.
Do you want to continue? [Y/n]

For now, I resolved that problem by extracting the netcat-openbsd binary in /usr/local/bin... but I won't have updates of it that way...
# cd /tmp && apt download netcat-openbsd
# dpkg-deb -R netcat-openbsd_*.deb /tmp/
# cp -p /tmp/bin/nc.openbsd /usr/local/bin/

Thank you
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!