Skip to content

Name conflict with inetutils on macOSย #105

@rpdelaney

Description

@rpdelaney

inetutils provides (among other things) GNU ping, symlinked as gping:

$ gping --version
ping (GNU inetutils) 1.9.4
Copyright (C) 2015 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>.
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.

Written by Sergey Poznyakoff.

Thus there is a naming conflict when gping is installed with homebrew:

$ brew install gping
# snip
==> Pouring gping-0.1.7.catalina.bottle.tar.gz
Error: The `brew link` step did not complete successfully
The formula built, but is not symlinked into /usr/local
Could not symlink bin/gping
Target /usr/local/bin/gping
is a symlink belonging to inetutils. You can unlink it:
  brew unlink inetutils

To force the link and overwrite all conflicting files:
  brew link --overwrite gping

To list all files that would be deleted:
  brew link --overwrite --dry-run gping

Possible conflicting files are:
/usr/local/bin/gping -> /usr/local/Cellar/inetutils/1.9.4_2/bin/gping
==> Summary
๐Ÿบ  /usr/local/Cellar/gping/0.1.7: 7 files, 2MB

I wouldn't suggest that gping should be renamed to account for this corner case. But some guidance would be appreciated for those of us who would like to maintain access to both tools.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions