[MacPorts] #63503: Installing kubectl-1.21 1.21.5_0 fails: unexpected signal during runtime execution
MacPorts
noreply at macports.org
Fri Oct 1 05:25:51 UTC 2021
#63503: Installing kubectl-1.21 1.21.5_0 fails: unexpected signal during runtime
execution
-------------------------+-------------------------------------------------
Reporter: breun | Owner: patarra, lbschenkel, pedrohdz,
| herbygillot
Type: defect | Status: assigned
Priority: Normal | Milestone:
Component: ports | Version:
Resolution: | Keywords:
Port: |
kubectl-1.21 |
-------------------------+-------------------------------------------------
Comment (by rkrenzis):
kubectl package has been replaced by kubectl-1.22.
{{{
# port install kubectl
---> Fetching distfiles for kubectl
---> Verifying checksums for kubectl
---> Extracting kubectl
---> Configuring kubectl
Error: kubectl has been replaced by kubectl-1.22; please install that
instead.
Error: Failed to configure kubectl: obsolete port
Error: See
/opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_sysutils_kubectl/kubectl/main.log
for details.
Error: Follow https://guide.macports.org/#project.tickets if you believe
there is a bug.
Error: Processing of port kubectl failed
}}}
**Resolution** is to install kubectl_select and kubectl-1.22. Then use
kube_select to set the active version.
{{{
# port install kubectl-1.22 kubectl_select
---> Computing dependencies for kubectl-1.22
---> Fetching archive for kubectl-1.22
---> Attempting to fetch kubectl-1.22-1.22.2_0.darwin_20.x86_64.tbz2 from
https://packages.macports.org/kubectl-1.22
---> Attempting to fetch
kubectl-1.22-1.22.2_0.darwin_20.x86_64.tbz2.rmd160 from
https://packages.macports.org/kubectl-1.22
---> Installing kubectl-1.22 @1.22.2_0
---> Activating kubectl-1.22 @1.22.2_0
---> Cleaning kubectl-1.22
---> Cleaning kubectl_select
---> Scanning binaries for linking errors
---> No broken files found.
---> No broken ports found.
---> Some of the ports you installed have notes:
kubectl-1.22 has the following notes:
To make this the default kubectl run:
sudo port select --set kubectl kubectl1.22
root at dhcp-int-192 ~ # port select --set kubectl kubectl1.22
Selecting 'kubectl1.22' for 'kubectl' succeeded. 'kubectl1.22' is now
active.
# kubectl version
Client Version: version.Info{Major:"1", Minor:"22", GitVersion:"v1.22.2",
GitCommit:"8b5a19147530eaac9476b0ab82980b4088bbc1b2",
GitTreeState:"archive", BuildDate:"2021-09-16T04:22:31Z",
GoVersion:"go1.17.1", Compiler:"gc", Platform:"darwin/amd64"}
}}}
--
Ticket URL: <https://trac.macports.org/ticket/63503#comment:10>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list