Performing a rolling upgrade from 5.1.2 to 5.2 on Ubuntu 15.10
Installation of ElasticSearch and Kibana seem successful.
I've then attempted to install the x-pack plugin for kibana:
root@devu1:/usr/share/kibana# bin/kibana-plugin remove x-pack
Unable to remove plugin because of error: "Plugin [x-pack] is not installed"
root@devu1:/usr/share/kibana# bin/kibana-plugin install x-pack
Attempting to transfer from x-pack
Attempting to transfer from https://artifacts.elastic.co/downloads/kibana-plugins/x-pack/x-pack-5.2.0.zip
Transferring 108043702 bytes....................
Transfer complete
Retrieving metadata from plugin archive
Extracting plugin archive
Extraction complete
Optimizing and caching browser bundles...
Plugin installation was unsuccessful due to error "Optimizations failure.
ERROR in ./src/core_plugins/kibana/public/dashboard/styles/main.less
Module build failed: ModuleBuildError: Module build failed: TypeError: postcss.plugin is not a function
at Object.<anonymous> (/usr/share/kibana/node_modules/autoprefixer/lib/autoprefixer.js:32:28)
at Object.<anonymous> (/usr/share/kibana/node_modules/autoprefixer/lib/autoprefixer.js:91:4)
at Module._compile (module.js:570:32)
at Module._extensions..js (module.js:579:10)
at Object.require.extensions.(anonymous function) [as .js] (/usr/share/kibana/node_modules/babel-core/lib/api/register/node.js:214:7)
at Module.load (module.js:487:32)
at tryModuleLoad (module.js:446:12)
at Function.Module._load (module.js:438:3)
at Module.require (module.js:497:17)
at require (internal/module.js:20:19)
at Object.<anonymous> (/usr/share/kibana/src/optimize/postcss.config.js:4:13)
at Module._compile (module.js:570:32)
at requireFromString (/usr/share/kibana/node_modules/require-from-string/index.js:27:4)
at /usr/share/kibana/node_modules/cosmiconfig/lib/loadJs.js:11:15
at DependenciesBlock.onModuleBuildFailed (/usr/share/kibana/node_modules/webpack/node_modules/webpack-core/lib/NormalModuleMixin.js:315:19)
at nextLoader (/usr/share/kibana/node_modules/webpack/node_modules/webpack-core/lib/NormalModuleMixin.js:270:31)
at /usr/share/kibana/node_modules/webpack/node_modules/webpack-core/lib/NormalModuleMixin.js:292:15
at context.callback (/usr/share/kibana/node_modules/webpack/node_modules/webpack-core/lib/NormalModuleMixin.js:148:14)
at /usr/share/kibana/node_modules/postcss-loader/index.js:137:13
@ ./src/core_plugins/kibana/public/dashboard/index.js 33:0-52
Have I missed a step / dependency somewhere?