Skip to content

PHP 8.2 Migration Doesn't Fetch Before Installing #12667

Description

@Eli-J-Schwartz

Describe the bug
The PHP 8.2 migration doesn't call sudo apt-get update before installing PHP 8.2. If the package lists are out of date, PHP 8.1 will be uninstalled and PHP 8.2 won't be installed, leaving the system in an unusable state, as no version of PHP exists on the system.

Expected behavior
The migration should first run sudo apt-get update before uninstalling PHP 8.1 and installing PHP 8.2.

To Reproduce
Steps to reproduce the behavior:

  1. Load an old vagrant box of the Submitty vm (e.g. 25.12.00.2512070428
  2. Run vagrant up; vagrant ssh; submitty_install
  3. See an error from composer
  4. Run php -v to see an error, php is no longer installed

Configuration

  • OS: Arch Linux

Screenshots
N/A

Additional context
N/A

Metadata

Metadata

Assignees

No one assigned

    Labels

    Awaiting TriageBrand New Issue - not yet reviewed & prioritized by the Submitty Project Managersbug

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions