尝试使用最新的 cf 客户端从Bluemix Plugin Repository安装插件:
cf version 6.14.0+2654a47-2015-11-18
在 Mac OSX 和 Centos 7 上,尝试从 repo 安装时出现以下错误(以下来自 Centos 机器):
[michael@oracle ~]$ cf install-plugin -r bluemix vpn
Attention: Plugins are binaries written by potentially untrusted authors. Install and use plugins at your own risk.
Do you want to install the plugin vpn? (y or n)> y
Looking up 'vpn' from repository 'bluemix'
9741777 bytes downloaded...
FAILED
Downloaded plugin binary's checksum does not match repo metadata
下载二进制插件并尝试本地安装,给了我:
cf install-plugin bluemix-admin-linux_x64
Attention: Plugins are binaries written by potentially untrusted authors. Install and use plugins at your own risk.
Do you want to install the plugin bluemix-admin-linux_x64? (y or n)> y
Installing plugin ./bluemix-admin-linux_x64...
FAILED
exit status 127
进一步检查产生:
ldd bluemix-admin-linux_x64
./bluemix-admin-linux_x64: error while loading shared libraries: ./bluemix-admin-linux_x64: unsupported version 6773 of Verneed record
虽然此示例适用于 vpn 插件,但 IBM-Containers 之外的所有插件在远程安装尝试(校验和错误)时产生相同的结果,并且在检查二进制文件本身时会出现一些变化,例如使用 active_deploy:
ldd active-deploy-linux-amd64-0.1.67
linux-vdso.so.1 => (0x00007ffc649d4000)
libpthread.so.0 => /lib64/libpthread.so.0 (0x00000036a0a00000)
libc.so.6 => /lib64/libc.so.6 (0x000000369fe00000)
/lib64/ld-linux-x86-64.so.2 (0x000000369fa00000)
我没有在其他社区 Cloud Foundry 插件中看到过这种情况,因此这种现象似乎是 IBM 生成这些插件的方式所独有的。关于我如何自己解决这个问题的任何建议或想法(我可以自己编译这些的源代码库,虽然很不幸,但在这一点上就足够了)。
谢邀,