Skip to content

Fixing System.yaml#

By Your Profile Picture @Ast3risk-ops

If you're experiencing issues with, really, anything package-related, the main culprit is usually your system.yaml file.

Follow these steps to diagnose your issue. Once you're done fixing your file, run sudo akshara update.

  1. Verify you have the required lines.

    These three lines should be at the top of the file:

    system.yaml
    repo: 'https://pkg-repo.blendos.co' 
    arch-repo: 'https://geo.mirror.pkgbuild.com' 
    impl: 'https://github.com/blend-os/tracks/raw/main'
    

  2. Verify you do not have the same block specified twice.

    For example, this file has the same block (repo:) specified twice.

    broken-system.yaml
    impl: https://github.com/blend-os/tracks/raw/main
    repo: https://pkg-repo.blendos.co
    
    repo: https://pkg-repo.blendos.co # Remove this
    packages:
      - nvidia-dkms
    services:
      - switcheroo-control
    

  3. Check indentation

    YAML is very picky about indentation. Remember to indent all sub items by 2 spaces ( Do not use the Tab key.)

    For example, this is indented wrong:

    broken-system.yaml
    services:
    - switcheroo-control
    
    It should be:
    system.yaml
    services:
      - switcheroo-control
    

If it's still not working, reach out to us on one of our chatrooms to get help.