# Unable to install Fleet on 8.6.0

**URL:** https://discuss.elastic.co/t/unable-to-install-fleet-on-8-6-0/323528
**Category:** Kibana
**Created:** [January 19, 2023, 3:27pm UTC](https://discuss.elastic.co/t/unable-to-install-fleet-on-8-6-0/323528 "2023-01-19T15:27:29Z")
**Posts on this page:** 1
**Showing post:** 2

<div class="post-metadata">

### Author: ![gyterpena](https://avatars.discourse-cdn.com/v4/letter/g/a9a28c/32.png) [@gyterpena](https://discuss.elastic.co/u/gyterpena)
#### Post date: [January 24, 2023, 3:19pm UTC](https://discuss.elastic.co/t/unable-to-install-fleet-on-8-6-0/323528/2 "2023-01-24T15:19:49Z")

</div>

Fixed issue by deleting all packages and policies in fleet(they were tested some time in 2020 and 2021.  
Referenced [this](https://discuss.elastic.co/t/unable-to-initialize-fleet-in-v8-0-0/296968/4) post  
[This](https://petstore.swagger.io/?url=https://raw.githubusercontent.com/elastic/kibana/8.6/x-pack/plugins/fleet/common/openapi/bundled.json) api documentation

And this API calls.

> Blockquote  
> curl -k -X POST -u USER:PASSWORD [https://localhost:5601/api/fleet/package\_policies/delete](https://localhost:5601/api/fleet/package_policies/delete) -H 'kbn-xsrf: xyz' -H 'Content-Type: application/json' -d '  
> {  
> "packagePolicyIds": [  
> "policy-ID"  
> ],  
> "force": true  
> }  
> '

> Blockquote  
> curl -k -X DELETE -u USER:PASSWORD [https://localhost:5601/api/fleet/epm/packages/"package-name"/"package-version"](https://localhost:5601/api/fleet/epm/packages/%22package-name%22/%22package-version%22) -H 'kbn-xsrf: xyz'

---

_[View the full topic](https://discuss.elastic.co/t/unable-to-install-fleet-on-8-6-0/323528)._
