Skip to content

Install Script - Uncaught Python exception if internet connectivity is lost during download #409

@KernelGhost

Description

@KernelGhost

Description
While running the Asahi Linux installer via curl https://alx.sh | sh, I lost internet connectivity partway through downloading required components. Instead of a clean, user-facing error message, the installer printed a raw Python traceback to the terminal and exited.

This appears to be an uncaught exception triggered by a network failure during the download phase.

Expected Behaviour
If network connectivity is lost during installation midway through downloading Asahi components, the installer should ideally:

  • Catch the exception and present a clear, user-facing error indicating that the download failed due to loss of connectivity
  • Clean up any partially downloaded or potentially corrupted files
  • Provide brief guidance on how users should safely recover or retry the installation

At the moment, the installer simply prints a Python traceback to the terminal with no clear explanation of how to recover.

Steps to Reproduce

  1. Start the Asahi Linux installer using the standard method curl https://alx.sh | sh
  2. Allow downloads to begin
  3. Interrupt network connectivity during the download phase

Environment

  • Hardware: 2020 M1 MacBook Pro (13-inch)
  • macOS version: 26.2 (25C56)

Installer Log
installer.log

Additional Notes
Improved handling here would make the installer more robust on unstable connections. Even a short, explicit message indicating that the failure was due to network loss, along with retry guidance, would significantly improve the user experience.

Thank you for your time.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions