The upstream webpage says that this package is obsolete and recommends two alternatives that are both available in Gentoo (ncat, which is part of nmap and openbsd-netcat): http://deepspace6.net/projects/netcat6.html Given that upstream recommends not to use that package it might be reasonable to remove it from Gentoo.
Note that some packages, like libvirt-3.0.0, have net-analyzer/netcat6 explicitly as RDEPENDs. Whether that is actually a correct RDEPEND I don't yet know. (I certainly prefer to have a choice of netcats...)
FYI: * Error: The above package list contains packages which cannot be * installed at the same time on the same system. (net-analyzer/netcat-110-r9:0/0::gentoo, installed) pulled in by net-analyzer/netcat required by @selected net-analyzer/netcat required by (app-emulation/playonlinux-4.2.12:0/0::gentoo, installed) (net-analyzer/netcat6-1.0-r2:0/0::gentoo, ebuild scheduled for merge) pulled in by >=net-analyzer/netcat6-1.0-r2 required by (app-emulation/libvirt-3.3.0:0/3.3.0::gentoo, installed) Cheers.
DESCRIPTION="netcat clone with better IPv6 support, improved code, etc..." This description suggests this clone is newer/better/improved/hot. This is misleading and creates a hard time when choosing between the possible netcat variants. Besides that, its behaviour is quite different compared to RHEL/Ubuntu nmap-ncat/netcat-openbsd versions. After years, I found this package is actually obsolete, so please get rid of it. If we really need to keep this obsolete software in portage, can you at least change the description to something like: DESCRIPTION="obsolete netcat clone ..."
The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=eb79698b68be9f83d1d4547cda774f73d6173f48 commit eb79698b68be9f83d1d4547cda774f73d6173f48 Author: Michał Górny <mgorny@gentoo.org> AuthorDate: 2019-03-13 11:24:26 +0000 Commit: Michał Górny <mgorny@gentoo.org> CommitDate: 2019-03-13 11:25:27 +0000 net-analyzer/netcat6: Indicate obsolescence in DESCRIPTION Bug: https://bugs.gentoo.org/573814 Signed-off-by: Michał Górny <mgorny@gentoo.org> net-analyzer/netcat6/netcat6-1.0-r2.ebuild | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
Unless I'm mistaken, all revdeps support some other implementation (in || dep).
The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c122995db95c2cf9cc6283ae30d70df9714e66f5 commit c122995db95c2cf9cc6283ae30d70df9714e66f5 Author: Michał Górny <mgorny@gentoo.org> AuthorDate: 2019-03-13 11:33:39 +0000 Commit: Michał Górny <mgorny@gentoo.org> CommitDate: 2019-03-13 11:34:59 +0000 package.mask: Last rite net-analyzer/netcat6 Bug: https://bugs.gentoo.org/573814 Signed-off-by: Michał Górny <mgorny@gentoo.org> profiles/package.mask | 8 ++++++++ 1 file changed, 8 insertions(+)
As others have mentioned there exist dependencies on this package. I have libvirt stable version 4.9.0 installed and it depend on: || ( >=net-analyzer/netcat6-1.0-r2 >=net-analyzer/openbsd-netcat-1.105-r1 ) So you can use openbsd-netcat instead. However, there do not exist any version of openbsd-netcat which has been marked stable. So right now, stable libvirt depends on unstable openbsd-netcat or masked netcat6. As I am no expert in netcat versions, I just mention it here, thought it might belong to a libvirt or openbsd-netcat bug report.
I see the issue now, I'll either fix it or revert the last rites ASAP.
@Michał Górny That would be nice, just got a blocker because of the masked and situation Jesper just described. Conflict: 3 blocks (3 unsatisfied) * Error: The above package list contains packages which cannot be * installed at the same time on the same system. (net-analyzer/netcat6-1.0-r2:0/0::gentoo, installed) pulled in by net-analyzer/netcat6 required by @selected (net-analyzer/openbsd-netcat-1.190:0/0::gentoo, ebuild scheduled for merge) pulled in by >=net-analyzer/openbsd-netcat-1.105-r1 required by (app-emulation/libvirt-4.9.0:0/4.9.0::gentoo, installed) (net-analyzer/netcat-110-r9:0/0::gentoo, ebuild scheduled for merge) pulled in by net-analyzer/netcat required by (app-emulation/playonlinux-4.2.12:0/0::gentoo, installed)
This means you've selected netcat6 explicitly. $ emerge --deselect netcat6 should solve it.
THANK YOU for noting suggested replacements in the masking message. Where should such praise best be directed in future?
(In reply to Michał Górny from comment #10) > This means you've selected netcat6 explicitly. > > $ emerge --deselect netcat6 > > should solve it. Without netcat6 in the world file: * Error: The above package list contains packages which cannot be * installed at the same time on the same system. (net-analyzer/netcat-110.20180111:0/0::gentoo, ebuild scheduled for merge) pulled in by net-analyzer/netcat required by (app-emulation/playonlinux-4.2.12:0/0::gentoo, installed) (net-analyzer/openbsd-netcat-1.190:0/0::gentoo, ebuild scheduled for merge) pulled in by >=net-analyzer/openbsd-netcat-1.105-r1 required by (app-emulation/libvirt-5.0.0:0/5.0.0::gentoo, installed) libvirt-5.0.0 has this in RDEPEND: || ( >=net-analyzer/netcat6-1.0-r2 >=net-analyzer/openbsd-netcat-1.105-r1 ) app-emulation/playonlinux-4.2.12 has this in RDEPEND: || ( net-analyzer/netcat net-analyzer/netcat6 ) The only unmasked options block each other.
Guess it is time for a virtual/netcat (provided that they are drop-in replacements)?
(In reply to Matthias Maier from comment #13) > Guess it is time for a virtual/netcat (provided that they are drop-in > replacements)? Most are not drop in replacements.
*** Bug 680352 has been marked as a duplicate of this bug. ***
*** Bug 680594 has been marked as a duplicate of this bug. ***
I can confirm Greg Kubaryk's statement
The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2cfc43e80c722931cebfdb6f969196781e8e3aa6 commit 2cfc43e80c722931cebfdb6f969196781e8e3aa6 Author: Stefan Strogin <stefan.strogin@gmail.com> AuthorDate: 2019-03-14 04:10:45 +0000 Commit: Nick Sarnie <sarnex@gentoo.org> CommitDate: 2019-03-17 18:27:55 +0000 app-emulation/playonlinux: bump version to 4.3.4 - Add app-misc/jq to RDEPEND. - Remove obsolete net-analyzer/netcat6 from RDEPEND, add net-analyzer/openbsd-netcat as an alternative to net-analyzer/netcat. - Switch from gnome2-utils to xdg; inherit desktop and eutils explicitly. - Bump EAPI to 7. Minor and stylistic changes: - empty line after EAPI; - use https; - sort RDEPEND alphabetically. Closes: https://bugs.gentoo.org/672944 Closes: https://github.com/gentoo/gentoo/pull/11360 Bug: https://bugs.gentoo.org/573814 Package-Manager: Portage-2.3.62, Repoman-2.3.12 Signed-off-by: Stefan Strogin <stefan.strogin@gmail.com> Signed-off-by: Nick Sarnie <sarnex@gentoo.org> app-emulation/playonlinux/Manifest | 1 + app-emulation/playonlinux/playonlinux-4.3.4.ebuild | 106 +++++++++++++++++++++ 2 files changed, 107 insertions(+)
Dropped all netcat6 dependencies from app-emulation/libvirt, also see bug #672992
see https://wiki.gentoo.org/wiki/IPv6_router_guide netcat6 should be removed here too.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0a1fdb49b87f169fe7439ac7c556fd18a7d43045 commit 0a1fdb49b87f169fe7439ac7c556fd18a7d43045 Author: Michał Górny <mgorny@gentoo.org> AuthorDate: 2019-04-13 06:52:37 +0000 Commit: Michał Górny <mgorny@gentoo.org> CommitDate: 2019-04-13 06:57:38 +0000 net-analyzer/netcat6: Remove last-rited pkg Closes: https://bugs.gentoo.org/573814 Signed-off-by: Michał Górny <mgorny@gentoo.org> net-analyzer/netcat6/Manifest | 1 - .../netcat6/files/netcat6-1.0-automake-1.14.patch | 14 - .../netcat6/files/netcat6-1.0-unix-sockets.patch | 303 --------------------- net-analyzer/netcat6/metadata.xml | 11 - net-analyzer/netcat6/netcat6-1.0-r2.ebuild | 51 ---- profiles/package.mask | 8 - 6 files changed, 388 deletions(-)
Just a note: netcat6 has the "--exec --continuous" mode where it can handle multiple incoming connections; neither net-analyzer/netcat nor net-analyzer/openbsd-netcat have this functionality, so netcat6 will be missed. Now, ncat, which is installed by net-analyzer/nmap[ncat], has this functionality, but net-analyzer/nmap is a much larger package, and it's difficult to remember that I need to install nmap[ncat] if all I want is just netcat.