Skip to content

Install script fails due to package mirror 404 error and lacks dependency error handling #5085

Description

@death366

System details

AMD 70700X Nvidia RTX 4060 gaming oc

What's wrong?

While running the Omarchy OS installation/setup script, the process fails. The initial system upgrade attempts to download packages (including perl and git), but encounters a 404 Not Found error from stable-mirror.omarchy.org for the perl package.

Because the pacman transaction fails, git is never installed. However, the script does not catch this transaction failure and continues execution. It immediately attempts to clone the Omarchy repository, which throws a git: command not found error, followed by subsequent cd and execution errors since the repository was never cloned.

the log:
:: Retrieving packages...
perl-5.42.1-1-x86_64.pkg.tar.zst failed to download
error: failed retrieving file 'perl-5.42.1-1-x86_64.pkg.tar.zst' from stable-mirror.omarchy.org : The requested URL returned error: 404
warning: failed to retrieve some files
error: failed to commit transaction (failed to retrieve some files)
Errors occurred, no packages were upgraded.

Cloning Omarchy from: https://github.com/basecamp/omarchy.git
bash: line 42: git: command not found
Using branch: master
bash: line 45: cd: /home/death/.local/share/omarchy: No such file or directory
bash: line 46: git: command not found
bash: line 47: cd: OLDPWD not set

Installation starting...
bash: line 58: /home/death/.local/share/omarchy/install.sh: No such file or directory

Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions