By using AWS re:Post, you agree to the AWS re:Post Terms of Use

Cloud9 nss failure using yum

0

Hi, I am using cloud9 and installed Python 3.12. Tried to update SQLite installation as there were errors configuring python3.12. As I was following steps I suddenly couldn’t use yum anymore and I get NSS failure. Unable to import ts error.

asked a month ago23 views
1 Answer
0

The issue you're experiencing with yum and the NSS failure in AWS Cloud9 is likely related to system library conflicts or corruption, possibly caused by the Python 3.12 installation and subsequent attempts to update SQLite.

To resolve this issue, you can try the following steps:

  1. First, ensure that your system is up to date. You can use the following command:

    sudo yum -y update

    If this doesn't work due to the NSS failure, proceed to the next steps.

  2. Try to reinstall the nss package:

    sudo yum reinstall nss

  3. If the above doesn't work, you might need to manually download and install the nss package. You can do this by finding the appropriate RPM package for your system and installing it using rpm command.

  4. If you're still encountering issues, you may need to consider recreating your Cloud9 environment. Before doing so, make sure to back up any important data or code.

  5. When setting up a new environment or working with the existing one, it's recommended to use Python versions that are pre-installed or officially supported by AWS Cloud9 to avoid potential conflicts.

  6. If you need a specific Python version, consider using a tool like pyenv to manage multiple Python versions without interfering with system libraries.

If these steps don't resolve the issue, you may need to contact AWS support for further assistance. They can provide more specific guidance based on your exact environment configuration and the details of the error you're encountering.
Sources
Troubleshooting AWS Cloud9 - AWS Cloud9
Using the AWS Cloud9 Installer for AWS Cloud9 SSH environments - AWS Cloud9
Python tutorial for AWS Cloud9 - AWS Cloud9

profile picture
answered a month ago
  • Yum doesn’t work as I get the error every time I call yum

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions