[MacPorts] #54761: ssh-copy-id needs to use deactivate hack
MacPorts
noreply at macports.org
Tue Sep 5 22:16:18 UTC 2017
#54761: ssh-copy-id needs to use deactivate hack
------------------------+-------------------------
Reporter: ryandesign | Owner: l2dy
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version:
Keywords: | Port: ssh-copy-id
------------------------+-------------------------
openssh depends on ssh-copy-id but ssh-copy-id installs files that were
installed by openssh. This results in activation failure on upgrade:
{{{
$ sudo port -u upgr openssh
---> Fetching archive for ssh-copy-id
---> Attempting to fetch ssh-copy-id-7.5p1_1.darwin_16.noarch.tbz2 from
https://packages.macports.org/ssh-copy-id
---> Attempting to fetch ssh-copy-id-7.5p1_1.darwin_16.noarch.tbz2.rmd160
from https://packages.macports.org/ssh-copy-id
---> Installing ssh-copy-id @7.5p1_1
---> Activating ssh-copy-id @7.5p1_1
Error: Failed to activate ssh-copy-id: Image error: /opt/local/bin/ssh-
copy-id is being used by the active openssh port. Please deactivate this
port first, or use 'port -f activate ssh-copy-id' to force the activation.
Error: See /opt/local/var/macports/logs/_Users_rschmidt_macports_macports-
ports-svn-trunk_net_ssh-copy-id/ssh-copy-id/main.log for details.
Error: Problem while installing ssh-copy-id
Error: Follow https://guide.macports.org/#project.tickets to report a bug.
}}}
To fix this, ssh-copy-id should use the
[wiki:PortfileRecipes#deactivatehack deactivate hack].
--
Ticket URL: <https://trac.macports.org/ticket/54761>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list