Knowledgebase

Error: Package requires: alt-php-internal-common

The error message "Error: Package requires: alt-php-internal-common" indicates that a package you're trying to install has a dependency on the alt-php-internal-common package, but it is not available in your current repositories.

Here are steps you can take to address this issue:

  1. Enable the Repository:

    • Make sure that the repository containing alt-php-internal-common is enabled in your system's package manager. This might be a specific repository provided by a third-party or a custom repository.
  2. Update Repository Metadata:

    • Run the following commands to clean and regenerate the repository metadata, which can sometimes resolve dependency issues:
      bash

 

    • sudo yum clean all sudo yum makecache
  • Check Repository Configuration:

    • Verify that the repository configurations (usually located in /etc/yum.repos.d/) are correctly set up. Incorrect configurations can lead to dependency problems.
  • Search for the Package:

    • Use the package manager to search for the specific package to ensure it is available in the repositories:
      bash
    • sudo yum search alt-php-internal-common
  • Install the Required Package:

    • If you find the package alt-php-internal-common in the search results, try to install it manually:
      bash

 

    • sudo yum install alt-php-internal-common
  1. Check for Dependency Conflicts:

    • Sometimes, installing a specific package may conflict with existing packages. Check if there are any dependency conflicts preventing the installation.
  2. Check for Version Compatibility:

    • Ensure that the version of alt-php-internal-common required by the package you're trying to install is available in the repositories. It's possible that the package you're trying to install requires a specific version that is not available.
  3. Contact the Package Provider:

    • If alt-php-internal-common is a custom or third-party package, consider reaching out to the provider for support or further instructions.
  4. Check for Software Collections (SCL):

    • In some cases, the package might be part of a Software Collection, which provides multiple versions of a package. Make sure that the appropriate Software Collection repository is enabled.

Remember to carefully review any output or prompts provided by the package manager during the installation process, as it may contain important information about potential conflicts or issues. Always back up critical data before making significant changes to your system.

 
  • 0 Users Found This Useful
Was this answer helpful?