# ERROR: Installation aborted, verification failed for --version

**URL:** <https://discuss.elastic.co/t/error-installation-aborted-verification-failed-for-version/117765>\
**Category:** Logstash\
**Created:** [January 31, 2018, 8:25am UTC](https://discuss.elastic.co/t/error-installation-aborted-verification-failed-for-version/117765 "2018-01-31T08:25:41Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Sjaak01](https://avatars.discourse-cdn.com/v4/letter/s/73ab20/32.png) [@Sjaak01](https://discuss.elastic.co/u/Sjaak01)\
**Post date:** [January 31, 2018, 8:25am UTC](https://discuss.elastic.co/t/error-installation-aborted-verification-failed-for-version/117765/1 "2018-01-31T08:25:41Z")

</div>

Hi,

As per the subject line, how do you install a older version of a plugin? In my case I tried "--version 3.5.1", "--version v3.5.1" and some other variations but they all fail.

/usr/share/logstash# bin/logstash-plugin install logstash-codec-netflow --version v3.5.1  
Validating logstash-codec-netflow  
Validating --version  
Plugin --version does not exist  
ERROR: Installation aborted, verification failed for --version

> **[logstash-plugins/logstash-codec-netflow](https://github.com/logstash-plugins/logstash-codec-netflow/releases?after=v3.5.2)**
>
> Contribute to logstash-codec-netflow development by creating an account on GitHub.

---

<div class="post-metadata">

**Author:** ![magnusbaeck](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/magnusbaeck/32/44943_2.png) [@magnusbaeck](https://discuss.elastic.co/u/magnusbaeck)\
**Post date:** [January 31, 2018, 8:39am UTC](https://discuss.elastic.co/t/error-installation-aborted-verification-failed-for-version/117765/2 "2018-01-31T08:39:16Z")

</div>

Try putting the `--version` argument before the plugin name.

---

<div class="post-metadata">

**Author:** ![Sjaak01](https://avatars.discourse-cdn.com/v4/letter/s/73ab20/32.png) [@Sjaak01](https://discuss.elastic.co/u/Sjaak01)\
**Post date:** [January 31, 2018, 11:44pm UTC](https://discuss.elastic.co/t/error-installation-aborted-verification-failed-for-version/117765/3 "2018-01-31T23:44:32Z")

</div>

I'm afraid that doesn't work either.

> usr/share/logstash# bin/logstash-plugin install --version logstash-codec-netflow v3.5.1  
> Validating v3.5.1-logstash-codec-netflow  
> Gem::Requirement::BadRequirementError: Illformed requirement ["logstash-codec-netflow"]  
> parse at /usr/share/logstash/vendor/jruby/lib/ruby/shared/rubygems/requirement.rb:100  
> initialize at /usr/share/logstash/vendor/jruby/lib/ruby/shared/rubygems/requirement.rb:130  
> map! at org/jruby/RubyArray.java:2446  
> initialize at /usr/share/logstash/vendor/jruby/lib/ruby/shared/rubygems/requirement.rb:130  
> create at /usr/share/logstash/vendor/jruby/lib/ruby/shared/rubygems/requirement.rb:63  
> initialize at /usr/share/logstash/vendor/jruby/lib/ruby/shared/rubygems/dependency.rb:58  
> logstash\_plugin? at /usr/share/logstash/lib/pluginmanager/util.rb:26  
> validate\_plugin at /usr/share/logstash/lib/pluginmanager/install.rb:89  
> verify\_remote! at /usr/share/logstash/lib/pluginmanager/install.rb:83  
> each at org/jruby/RubyArray.java:1613  
> verify\_remote! at /usr/share/logstash/lib/pluginmanager/install.rb:81  
> execute at /usr/share/logstash/lib/pluginmanager/install.rb:58  
> run at /usr/share/logstash/vendor/bundle/jruby/1.9/gems/clamp-0.6.5/lib/clamp/command.rb:67  
> execute at /usr/share/logstash/vendor/bundle/jruby/1.9/gems/clamp-0.6.5/lib/clamp/subcommand/execution.rb:11  
> run at /usr/share/logstash/vendor/bundle/jruby/1.9/gems/clamp-0.6.5/lib/clamp/command.rb:67  
> run at /usr/share/logstash/vendor/bundle/jruby/1.9/gems/clamp-0.6.5/lib/clamp/command.rb:132  
> (root) at /usr/share/logstash/lib/pluginmanager/main.rb:48

---

<div class="post-metadata">

**Author:** ![magnusbaeck](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/magnusbaeck/32/44943_2.png) [@magnusbaeck](https://discuss.elastic.co/u/magnusbaeck)\
**Post date:** [February 1, 2018, 6:56am UTC](https://discuss.elastic.co/t/error-installation-aborted-verification-failed-for-version/117765/4 "2018-02-01T06:56:50Z")

</div>

The version number should of course always go after `--version`, i.e. `bin/logstash-plugin install --version v3.5.1 logstash-codec-netflow`.

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [March 1, 2018, 6:56am UTC](https://discuss.elastic.co/t/error-installation-aborted-verification-failed-for-version/117765/5 "2018-03-01T06:56:58Z")

</div>

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
