https://blue-build.org/ logo
Can't install steam
# questions
a
message has been deleted
e
Hello I am trying to install Steam and every single time, no matter what I do I get this error
Copy code
[04:03:52 g.i/e/vesper:latest] => #44 18.93 ============================= Failed 'dnf' Module =============================
  [04:03:52 g.i/e/vesper:latest] => #44 ERROR: process "/bin/sh -c /tmp/scripts/run_module.sh 'dnf' '{\"type\":\"dnf\",\"repos\":{\"files\":[\"https://github.com/terrapkg/subatomic-repos/raw/main/terra.repo\"],\"keys\":[\"https://repos.fyralabs.com/terra45/key.asc\"],\"nonfree\":\"rpmfusion\"},\"install\":{\"packages\":[\"umbriel-nightly\",\"noctalia\",\"noctalia-greeter\",\"podman-compose\",\"podman-machine\",\"podman-tui\",\"ghostty\",\"ghostty-fish-completion\",\"ghostty-nautilus\",\"ghostty-shell-integration\",\"ghostty-terminfo\",\"starship\",\"helix\",\"yazi\",\"lazygit\",\"steam\"]},\"remove\":{\"auto-remove\":true,\"packages\":[\"firefox\",\"firefox-langpacks\"]}}'" did not complete successfully: exit code: 1
  [04:03:52 g.i/e/vesper:latest] => ------
  [04:03:52 g.i/e/vesper:latest] =>  > [stage-5  7/11] RUN --mount=type=bind,from=stage-files,src=/files,dst=/tmp/files,rw --mount=type=bind,from=ghcr.io/blue-build/modules/dnf:latest,src=/modules,dst=/tmp/modules,rw --mount=type=bind,src=.bluebuild-scripts_cdca92e8,dst=/tmp/scripts/,ro --mount=type=cache,sharing=locked,dst=/var/cache/rpm-ostree,id=rpm-ostree-cache-vesper-45-stage-vesper --mount=type=cache,sharing=locked,dst=/var/cache/libdnf5,id=dnf-cache-vesper-45-stage-vesper --mount=type=cache,sharing=locked,dst=/var/cache/zypp,id=zypper-cache-vesper-45-stage-vesper --mount=type=cache,sharing=locked,dst=/var/cache/apk,id=apk-cache-vesper-45-stage-vesper --mount=type=cache,sharing=locked,dst=/var/cache/apt,id=apt-cache-vesper-45-stage-vesper --mount=type=cache,sharing=locked,dst=/var/cache/pacman,id=pacman-cache-vesper-45-stage-vesper --mount=type=cache,sharing=locked,dst=/usr/lib/sysimage/cache/pacman,id=pacman-sysimage-cache-vesper-45-stage-vesper /tmp/scripts/run_module.sh 'dnf' '{"type":"dnf","repos":{"files":["https://github.com/terrapkg/subatomic-repos/raw/main/terra.repo"],"keys":["https://repos.fyralabs.com/terra45/key.asc"],"nonfree":"rpmfusion"},"install":{"packages":["umbriel-nightly","noctalia","noctalia-greeter","podman-compose","podman-machine","podman-tui","ghostty","ghostty-fish-completion","ghostty-nautilus","ghostty-shell-integration","ghostty-terminfo","starship","helix","yazi","lazygit","steam"]},"remove":{"auto-remove":true,"packages":["firefox","firefox-langpacks"]}}':
  [04:03:52 g.i/e/vesper:latest] => 18.91   - package steam-1.0.0.87-5.fc45.x86_64 from terra requires pipewire-libs(x86-32), but none of the providers can be installed
  [04:03:52 g.i/e/vesper:latest] => 18.91   - package pipewire-libs-1.6.9-1.fc45.i686 from fedora requires libfdk-aac.so.2, but none of the providers can be installed
  [04:03:52 g.i/e/vesper:latest] => 18.91   - package pipewire-libs-1.6.11-1.fc45.i686 from updates requires libfdk-aac.so.2, but none of the providers can be installed
  [04:03:52 g.i/e/vesper:latest] => 18.91   - installed package libfdk-aac-1:3.0.0-1.fc45.x86_64 obsoletes fdk-aac-free < 1:3.0.0-1.fc45 provided by fdk-aac-free-2.0.3-3.fc45.i686 from fedora
  [04:03:52 g.i/e/vesper:latest] => 18.91   - installed package libfdk-aac-1:3.0.0-1.fc45.x86_64 obsoletes fdk-aac < 1:3.0.0-1.fc45 provided by fdk-aac-3.0.0-1.fc45.i686 from rpmfusion-nonfree
  [04:03:52 g.i/e/vesper:latest] => 18.91   - problem with installed package
  [04:03:52 g.i/e/vesper:latest] => 18.91 You can try to add to command line:
  [04:03:52 g.i/e/vesper:latest] => 18.91   --skip-broken to skip uninstallable packages
  [04:03:52 g.i/e/vesper:latest] => 18.93 External command had a non-zero exit code
  [04:03:52 g.i/e/vesper:latest] => 18.93 ============================= Failed 'dnf' Module =============================
My dnf file is this
Copy code
# yaml-language-server: $schema=https://schema.blue-build.org/modules/dnf-v2.json
---
type: dnf
repos:
  files:
    - https://github.com/terrapkg/subatomic-repos/raw/main/terra.repo
  keys:
    - https://repos.fyralabs.com/terra45/key.asc
  nonfree: rpmfusion
install:
  packages:
    # noctalia.dev
    # Umbriel (Window Manager), Noctalia (Shell), and greeter
    - umbriel-nightly
    - noctalia
    - noctalia-greeter

    # Utilities
    - podman-compose
    - podman-machine
    - podman-tui

    # Terminal
    - ghostty
    - ghostty-fish-completion
    - ghostty-nautilus
    - ghostty-shell-integration
    - ghostty-terminfo
    - starship
    - helix
    - yazi
    - lazygit
    # - nix
  
    # Desktop
    - steam

remove:
  auto-remove: true
  packages:
    - firefox
    - firefox-langpacks # also remove firefox dependency (not required for all packages, this is a special case)

...
b
@Endeavour looks like you just found the problem right? RPM Fusion libraries conflict with the negativo17 ones blue build and ublue ship with.
e
Yeah I found it, this file works
Copy code
# yaml-language-server: $schema=https://schema.blue-build.org/dnf-v2.json
---
type: dnf
repos:
  files:
    - https://negativo17.org/repos/fedora-steam.repo
    - https://negativo17.org/repos/fedora-multimedia.repo

install:
  install-weak-deps: false
  packages:
    - steam
    - kernel-modules-extra
...
a
message has been deleted
b
Yeah, you did it a much cleaner way then I do it too. I was just using the built in function of the module, but it enables all of them.
Copy code
- type: dnf
    repos:
      copr:
      - ublue-os/packages
      files:
      - https://github.com/terrapkg/subatomic-repos/raw/main/terra.repo
      - https://brave-browser-rpm-release.s3.brave.com/brave-browser.repo
      nonfree: negativo17
    install:
      packages:
      - terra-release-mesa

  - type: dnf
    remove:
      auto-remove: true
      packages:
        - firefox
        - gnome-shell-extension-apps-menu
        - gnome-shell-extension-background-logo
        - gnome-shell-extension-common
        - gnome-shell-extension-launch-new-instance
        - gnome-shell-extension-places-menu
        - gnome-shell-extension-window-list
        - nano-default-editor

  - type: dnf
    repos:
      disable:
        - fedora-cdrtools
        - fedora-cdrtools-source
        - fedora-cdrtools-debug
        - fedora-multimedia-source
        - fedora-multimedia-debug
        - fedora-nvidia
        - fedora-nvidia-source
        - fedora-nvidia-debug
        - fedora-rar-source
        - fedora-rar-debug
        - fedora-spotify
        - fedora-spotify-source
        - fedora-spotify-debug
        - fedora-steam
        - fedora-steam-source
        - fedora-steam-debug
        - fedora-uld
        - fedora-uld-source
        - fedora-uld-debug
I'm probably gonna change mine to do it the way you are now. I think they might actually be installed already, I'll need to test this now. I didn't like the way my recipe looked on here though.
e
Yeah I am just keeping steam on it's own
It's own little playpen
b
You can actually use the Terra steam package, just adjust the priority level of Terra in dnf.
e
How?
This is the image I actually install it on, it's based on this image with the repository priorities set there. https://github.com/BirdieTX/silverblue-gs/blob/main/recipes/recipe.yml
e