I’m having trouble in the last step which is to install mongodb.
* sudo apt-get install -y mongodb-org
Reading package lists…
Building dependency tree…
Reading state information…
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:
The following packages have unmet dependencies:
mongodb-org : Depends: mongodb-org-shell but it is not going to be installed
Depends: mongodb-org-server but it is not going to be installed
Depends: mongodb-org-mongos but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
The command ‘/bin/bash -o pipefail -e -u -x -c sudo apt-get update && sudo apt-get install -y mongodb-org’ returned a non-zero code: 100
I have tried to install the dependencies before. RUN sudo apt-get install libcurl4 openssl
and i have to tried to check if it there are failed installation which seems as it should be. RUN sudo dpkg -l | grep mongo
Hi @papanash - happy to hear you’re working on migrating to “New” Astronomer Cloud.
Regarding the installation of openssl, libcurl4 etc, do you need those to be installed at run-time? I’d try throwing those packages directly into your project directory under the packages.txt (OS-level packages) and requirements.txt (Python packages) files that are automatically generated when you initialized your Astronomer project.
To install them, just add the name of the package to the respective file and re-build your image locally with $ astro dev stop and $ astro dev start to see if it was successful.
If you’re still having issues, can you reach out to support.astronomer.io? We’ll make sure to help you out there and dig into your image/issues more specifically.