"Packages must be exported from stemcell 'stemcell/version', but some packages are not compiled for this stemcell" error when running Apply Changes
search cancel

"Packages must be exported from stemcell 'stemcell/version', but some packages are not compiled for this stemcell" error when running Apply Changes

book

Article ID: 293838

calendar_today

Updated On:

Products

Operations Manager

Issue/Introduction

When running Apply Changes, it fails with the following error:
Packages must be exported from stemcell 'ubuntu-xenial/621.160', but some packages are not compiled for this stemcell:

This issue occurs if during a previous Apply Changes, an Ops Manager upgrade is simultaneously started by mistake. This causes inconsistency between the BOSH Director VM and Ops Manager VM.

Environment

Product Version: 2.10

Resolution

To work around this issue, follow these steps:

1. Copy the .pivotal file of the failing tile into a temp folder and unzip it. 

For example: 
unzip p-rabbitmq-2.0.8-build.7.pivotal


2. Go to the 'releases' folder and upload the release shown in error message with this BOSH command, "bosh upload-release <RELEASE-FILE> --fix".

For example:

bosh upload-release release-bpm-1.1.15.on-ubuntu-xenial-stemcell.621.125.tgz --fix


3. Run Apply Changes.

4. Repeat the process with a difference release if Apply Changes fails.