Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ubuntu PHP PPA has dropped support for Bionic #990

Closed
swarren12 opened this issue Jul 8, 2023 · 2 comments
Closed

Ubuntu PHP PPA has dropped support for Bionic #990

swarren12 opened this issue Jul 8, 2023 · 2 comments

Comments

@swarren12
Copy link
Contributor

swarren12 commented Jul 8, 2023

Currently, the License Finder Docker image is built off ubuntu:bionic.

As part of the construction of this image, the Ubuntu PHP PPA is added and, from this PPA, php7.4 is installed.

As of July 2023, Bionic is officially unsupported and so the PPA has dropped support for it.

Co-installable PHP versions: PHP 5.6, PHP 7.x, PHP 8.x and most requested extensions are included. Only Supported Versions of PHP (http://php.net/supported-versions.php) for Supported Ubuntu Releases (https://wiki.ubuntu.com/Releases) are provided. Don't ask for end-of-life PHP versions or Ubuntu release, they won't be provided.

As a result, currently the License Finder Docker image cannot be built, as the php7.4 package is unresolvable.

Exact error when trying to build:

Reading package lists...
Building dependency tree...
Reading state information...
E: Unable to locate package php7.4-cli
E: Couldn't find any package by glob 'php7.4-cli'
E: Couldn't find any package by regex 'php7.4-cli'
ERROR: Invalid installer checksum
The command '/bin/sh -c apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 4F4EA0AAE5267A6C &&    echo "deb http://ppa.launchpad.net/ondrej/php/ubuntu bionic main" | tee /etc/apt/sources.list.d/php.list &&    export DEBIAN_FRONTEND=noninteractive &&    apt -q update && apt install -y php7.4-cli && rm -rf /var/lib/apt/lists/* &&    EXPECTED_COMPOSER_INSTALLER_CHECKSUM="$(curl --silent https://composer.github.io/installer.sig)" &&    php -r "copy('https://getcomposer.org/installer', 'composer-setup.php');" &&    ACTUAL_COMPOSER_INSTALLER_CHECKSUM="$(php -r "echo hash_file('sha384', 'composer-setup.php');")" &&    test "${ACTUAL_COMPOSER_INSTALLER_CHECKSUM}" = "${EXPECTED_COMPOSER_INSTALLER_CHECKSUM}" || (echo "ERROR: Invalid installer checksum" >&2; false) &&    php composer-setup.php &&    php -r "unlink('composer-setup.php');" &&    mv composer.phar /usr/bin/composer' returned a non-zero code: 1

Merging #977 would fix this issue, but this seems like it would be easier said than done.

@cf-gitbot
Copy link
Collaborator

We have created an issue in Pivotal Tracker to manage this. Unfortunately, the Pivotal Tracker project is private so you may be unable to view the contents of the story.

The labels on this github issue will be updated when the story is started.

@swarren12
Copy link
Contributor Author

Since the Jammy update has been merged in, I'll close this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants