---
title: How to solve the issue when upgrading OCC to latest build 3306
description: How to solve the issue when upgrading OCC to latest build 3306
---

[Skip to content](https://knowledge.platx.me/platx-knowledge/how-to-solve-the-issue-when-upgrading-occ-to-latest-build-3306#main-content)

English

Show submenu for translations

![PlatX](https://knowledge.platx.me/hs-fs/hubfs/Plat-X---Logo-black%20copy.gif?width=4325&height=688&name=Plat-X---Logo-black%20copy.gif)

Open main navigation

Close main navigation

- English
  
  Show submenu for translations
- Contact us

 Contact us

 How can we help you?

- There are no suggestions because the search field is empty.

1. [Platx Knowledge Base](https://knowledge.platx.me/platx-knowledge?hsLang=en)
2. [Troubleshooting](https://knowledge.platx.me/platx-knowledge/troubleshooting?hsLang=en)

# How to solve the issue when upgrading OCC to latest build 3306

## How to solve the issue when upgrading OCC to latest build

 

When running the chef tool this error was coming:

`Configuration file '/etc/filebeat/filebeat.yml'`  
` ==> Modified (by you or by a script) since installation.`  
` ==> Package distributor has shipped an updated version.`  
`   What would you like to do about it ?  Your options are:`  
`    Y or I  : install the package maintainer's version`  
`    N or O  : keep your currently-installed version`  
`      D     : show the differences between the versions`  
`      Z     : start a shell to examine the situation`  
` The default action is to keep your current version.`  
`*** filebeat.yml (Y/I/N/O/D/Z) [default=N] ? dpkg: error processing package filebeat (--configure):`  
` end of file on stdin at conffile prompt`  
`Errors were encountered while processing:`  
` filebeat`  
`needrestart is being skipped since dpkg has failed`

`================================================================================`  
`Error executing action `run` on resource 'bash[multimedia]'`  
`================================================================================`

`Mixlib::ShellOut::ShellCommandFailed`  
`------------------------------------`  
`Expected process to exit with [0], but received '100'`  
`---- Begin output of "bash"  "/tmp/chef-script20250811-4538-1jzkbzu" ----`  
`STDOUT: Reading package lists...`  
`Building dependency tree...`  
`Reading state information...`  
`deb-multimedia-keyring is already the newest version (2016.8.1).`  
`0 upgraded, 0 newly installed, 0 to remove and 257 not upgraded.`  
`1 not fully installed or removed.`  
`After this operation, 0 B of additional disk space will be used.`  
`Setting up filebeat (8.18.0) ...`

`Configuration file '/etc/filebeat/filebeat.yml'`  
` ==> Modified (by you or by a script) since installation.`  
` ==> Package distributor has shipped an updated version.`  
`   What would you like to do about it ?  Your options are:`  
`    Y or I  : install the package maintainer's version`  
`    N or O  : keep your currently-installed version`  
`      D     : show the differences between the versions`  
`      Z     : start a shell to examine the situation`  
` The default action is to keep your current version.`  
`*** filebeat.yml (Y/I/N/O/D/Z) [default=N] ? dpkg: error processing package filebeat (--configure):`  
` end of file on stdin at conffile prompt`  
`Errors were encountered while processing:`  
` filebeat`  
`needrestart is being skipped since dpkg has failed`  
`STDERR: W: --force-yes is deprecated, use one of the options starting with --allow instead.`  
`E: Sub-process /usr/bin/dpkg returned an error code (1)`  
`---- End output of "bash"  "/tmp/chef-script20250811-4538-1jzkbzu" ----`  
`Ran "bash"  "/tmp/chef-script20250811-4538-1jzkbzu" returned 100`

`Resource Declaration:`  
`---------------------`  
`# In /root/i6-cookbooks/cookbooks/i6/recipes/ffmpeg.rb`

`  9: bash "multimedia" do`  
` 10:   user    "root"`  
` 11:   cwd     "/tmp"`  
` 12:   code  <<-EOH`  
` 13:     apt-get -q -y --force-yes install deb-multimedia-keyring`  
` 14:   EOH`  
` 15: end`  
` 16:`

`Compiled Resource:`  
`------------------`  
`# Declared in /root/i6-cookbooks/cookbooks/i6/recipes/ffmpeg.rb:9:in `from_file'`

`bash("multimedia") do`  
`  action "run"`  
`  retries 0`  
`  retry_delay 2`  
`  command "\"bash\"  \"/tmp/chef-script20250811-4538-1jzkbzu\""`  
`  backup 5`  
`  cwd "/tmp"`  
`  returns 0`  
`  user "root"`  
`  code "    apt-get -q -y --force-yes install deb-multimedia-keyring\n"`  
`  interpreter "bash"`  
`  cookbook_name :i6`  
`  recipe_name "ffmpeg"`  
`end`

`[2025-08-11T03:31:14-04:00] ERROR: Running exception handlers`  
`[2025-08-11T03:31:14-04:00] ERROR: Exception handlers complete`  
`[2025-08-11T03:31:14-04:00] FATAL: Stacktrace dumped to /tmp/chef-solo/chef-stacktrace.out`  
`[2025-08-11T03:31:14-04:00] FATAL: Mixlib::ShellOut::ShellCommandFailed: bash[multimedia] (i6::ffmpeg line 9) had an error: Mixlib::ShellOut::ShellCommandFailed: Expected process to exit with [0], but received '100'`  
`---- Begin output of "bash"  "/tmp/chef-script20250811-4538-1jzkbzu" ----`  
`STDOUT: Reading package lists...`  
`Building dependency tree...`  
`Reading state information...`  
`deb-multimedia-keyring is already the newest version (2016.8.1).`  
`0 upgraded, 0 newly installed, 0 to remove and 257 not upgraded.`  
`1 not fully installed or removed.`  
`After this operation, 0 B of additional disk space will be used.`  
`Setting up filebeat (8.18.0) ...`

`Configuration file '/etc/filebeat/filebeat.yml'`  
` ==> Modified (by you or by a script) since installation.`  
` ==> Package distributor has shipped an updated version.`  
`   What would you like to do about it ?  Your options are:`  
`    Y or I  : install the package maintainer's version`  
`    N or O  : keep your currently-installed version`  
`      D     : show the differences between the versions`  
`      Z     : start a shell to examine the situation`  
` The default action is to keep your current version.`  
`*** filebeat.yml (Y/I/N/O/D/Z) [default=N] ? dpkg: error processing package filebeat (--configure):`  
` end of file on stdin at conffile prompt`  
`Errors were encountered while processing:`  
` filebeat`  
`needrestart is being skipped since dpkg has failed`  
`STDERR: W: --force-yes is deprecated, use one of the options starting with --allow instead.`  
`E: Sub-process /usr/bin/dpkg returned an error code (1)`  
`---- End output of "bash"  "/tmp/chef-script20250811-4538-1jzkbzu" ----`  
`Ran "bash"  "/tmp/chef-script20250811-4538-1jzkbzu" returned 100`

 

Solution is to run this command before running the chef tool again

**`apt-get -q -y --force-yes install deb-multimedia-keyring`**

 

 

If getting an error about filebeat, then execute this command:

**`apt-get install filebeat=8.17.4`**

Then run the chef tool again.

- [Troubleshooting](https://knowledge.platx.me/platx-knowledge/troubleshooting?hsLang=en)
- [Guides](https://knowledge.platx.me/platx-knowledge/guides?hsLang=en)
- [Technical Documentation](https://knowledge.platx.me/platx-knowledge/technical-documentation?hsLang=en)
- [Training](https://knowledge.platx.me/platx-knowledge/training?hsLang=en)
- [To do later](https://knowledge.platx.me/platx-knowledge/to-do-later?hsLang=en)

[![PlatX](https://knowledge.platx.me/hs-fs/hubfs/Plat-X---Logo-black%20copy.gif?width=4325&height=688&name=Plat-X---Logo-black%20copy.gif "PlatX")](https://knowledge.platx.me/?hsLang=en)

<https://www.facebook.com/> <https://www.twitter.com/> <https://www.instagram.com/> <https://podcasts.apple.com/> [mailto:email@email.com](mailto:email@email.com)

Copyright © 2026,