Bazzite Portal won't setup Bazzite-Arch container after rebase [Solved]

Hello, I just rebased from regular Silverblue ublue image and I am trying to run Bazzite Portal to help ma setup everything I need. I'm getting the error:
error: Justfile does not contain recipe `install-bazzite-arch`.
error: Justfile does not contain recipe `install-bazzite-arch`.
Is there something I am doing wrong?
No description
41 Replies
Nathaniel
Nathaniel16mo ago
Hi Radu, I had a similar issue during one of my test installs, though I don't remember if the error message was exactly the same. I would suggest continuing through the rest of the steps if there's anything else you want to add, then follow these instructions to manually add the distrobox container. https://github.com/ublue-os/bazzite-arch
GitHub
GitHub - ublue-os/bazzite-arch: A ready-to-game Arch Linux based OC...
A ready-to-game Arch Linux based OCI designed for use exclusively in distrobox. - GitHub - ublue-os/bazzite-arch: A ready-to-game Arch Linux based OCI designed for use exclusively in distrobox.
Radu
RaduOP16mo ago
Thanx a lot. Actually I am getting the same justfile error for anything I might want to install from the portal. I'll try the manual install and write when I'm done
Nathaniel
Nathaniel16mo ago
Sounds good, thanks. If it's happening with all steps, you may want to run the re-base command again. If possible, please connect to Ethernet.
Radu
RaduOP16mo ago
All right then, I'll try to rebase again, then I'll see if anything changes
Nathaniel
Nathaniel16mo ago
👍
Radu
RaduOP16mo ago
Wait, I don't believe I can rebase again...
error: Old and new refs are equal: ostree-image-signed:docker://ghcr.io/ublue-os/bazzite-gnome:latest
error: Old and new refs are equal: ostree-image-signed:docker://ghcr.io/ublue-os/bazzite-gnome:latest
Nathaniel
Nathaniel16mo ago
are you able to reboot to your original silverblue install?
Radu
RaduOP16mo ago
unfortunately not... For some reason:
[rcraita@fedora ~]$ rpm-ostree status
State: idle
Deployments:
● ostree-image-signed:docker://ghcr.io/ublue-os/bazzite-gnome:latest
Digest: sha256:e0aac9119430345eaea0c0cb62ad7c5314d653f4f1a2c69d55a04e00bfd02f35
Version: 38.20230822.0 (2023-08-23T01:00:26Z)

ostree-image-signed:docker://ghcr.io/ublue-os/bazzite-gnome:latest
Digest: sha256:e0aac9119430345eaea0c0cb62ad7c5314d653f4f1a2c69d55a04e00bfd02f35
Version: 38.20230822.0 (2023-08-23T01:00:26Z)
[rcraita@fedora ~]$ rpm-ostree status
State: idle
Deployments:
● ostree-image-signed:docker://ghcr.io/ublue-os/bazzite-gnome:latest
Digest: sha256:e0aac9119430345eaea0c0cb62ad7c5314d653f4f1a2c69d55a04e00bfd02f35
Version: 38.20230822.0 (2023-08-23T01:00:26Z)

ostree-image-signed:docker://ghcr.io/ublue-os/bazzite-gnome:latest
Digest: sha256:e0aac9119430345eaea0c0cb62ad7c5314d653f4f1a2c69d55a04e00bfd02f35
Version: 38.20230822.0 (2023-08-23T01:00:26Z)
I might be able to rebase back and forth between two images
Nathaniel
Nathaniel16mo ago
That could work. May not be helpful at the moment, but wanted to make sure you saw this: https://universal-blue.org/images/#preparing-to-rebase Do you have a good backup of personal files, etc.?
Full Image List - Universal Blue
Custom Operating System images based on Fedora
Radu
RaduOP16mo ago
Yeah, I saw it. It does say
After your system is on a Universal Blue image it will have the proper signing keys, so you do not need to run that command again. Thank goodness! You can just use the commands provided below. Go get some!
After your system is on a Universal Blue image it will have the proper signing keys, so you do not need to run that command again. Thank goodness! You can just use the commands provided below. Go get some!
I do have a Pika backup setup on an external drive as backup
Nathaniel
Nathaniel16mo ago
okay good. I'm still getting used to this new way of managing things, but it's always good to know you have a backup. Try a different image and let me know what happens.
Radu
RaduOP16mo ago
no luck 😦 same issue
Nathaniel
Nathaniel16mo ago
@KyleGospo any idea what's going on here? My suggestion would be do a clean install (since we do have a backup) at this point, but that may be overkill.
Aforis
Aforis16mo ago
yah that is weird,never tryed the arch variant i wish i could help :(
Radu
RaduOP16mo ago
This is not the arch variant, it's
rpm-ostree rebase ostree-image-signed:docker://ghcr.io/ublue-os/bazzite-gnome:latest
rpm-ostree rebase ostree-image-signed:docker://ghcr.io/ublue-os/bazzite-gnome:latest
Nathaniel
Nathaniel16mo ago
Arch is just the container that Steam runs in
Radu
RaduOP16mo ago
I'd rather not do a clean install if it can be helped 😄
Nathaniel
Nathaniel16mo ago
what happens if you close the installer, open a Terminal and run just update? I'd rather you not have to do that too.
Radu
RaduOP16mo ago
$ just update
rpm-ostree update
Pulling manifest: ostree-image-signed:docker://ghcr.io/ublue-os/bazzite-gnome:latest
No upgrade available.
flatpak update -y
Looking for updates…

Info: runtime org.freedesktop.Platform.GL.default branch 20.08 is end-of-life, with reason:
org.freedesktop.Platform 20.08 is no longer receiving fixes and security updates. Please update to a supported runtime version.
Info: applications using this extension:
com.gigitux.youp

Nothing to do.
distrobox upgrade -a
Upgrading games...
Container games is not running.
Starting container games
run this command to follow along:

podman logs -f games

Starting container... [ OK ]
Installing basic packages... [ OK ]
Setting up read-only mounts... [ OK ]
Setting up read-write mounts... [ OK ]
Setting up host's sockets integration... [ OK ]
Integrating host's themes, icons, fonts... [ OK ]
Setting up package manager exceptions... [ OK ]
Setting up rpm exceptions... [ OK ]
Setting up sudo... [ OK ]
Setting up groups... [ OK ]
Setting up users... [ OK ]
Executing init hooks... [ OK ]

Container Setup Complete!
distrobox: Installing basic packages...
/usr/bin/dnf
Last metadata expiration check: 0:32:18 ago on Mi 23 aug 2023 23:14:21 +0300.
Dependencies resolved.
Nothing to do.
Complete!

$ just update
rpm-ostree update
Pulling manifest: ostree-image-signed:docker://ghcr.io/ublue-os/bazzite-gnome:latest
No upgrade available.
flatpak update -y
Looking for updates…

Info: runtime org.freedesktop.Platform.GL.default branch 20.08 is end-of-life, with reason:
org.freedesktop.Platform 20.08 is no longer receiving fixes and security updates. Please update to a supported runtime version.
Info: applications using this extension:
com.gigitux.youp

Nothing to do.
distrobox upgrade -a
Upgrading games...
Container games is not running.
Starting container games
run this command to follow along:

podman logs -f games

Starting container... [ OK ]
Installing basic packages... [ OK ]
Setting up read-only mounts... [ OK ]
Setting up read-write mounts... [ OK ]
Setting up host's sockets integration... [ OK ]
Integrating host's themes, icons, fonts... [ OK ]
Setting up package manager exceptions... [ OK ]
Setting up rpm exceptions... [ OK ]
Setting up sudo... [ OK ]
Setting up groups... [ OK ]
Setting up users... [ OK ]
Executing init hooks... [ OK ]

Container Setup Complete!
distrobox: Installing basic packages...
/usr/bin/dnf
Last metadata expiration check: 0:32:18 ago on Mi 23 aug 2023 23:14:21 +0300.
Dependencies resolved.
Nothing to do.
Complete!

Nathaniel
Nathaniel16mo ago
Just to be totally sure, have we rebooted at all yet since the first reboot with the installer-helper?
Radu
RaduOP16mo ago
I just rebooted and tried everything again (Portal and just update) and nothing is different
Nathaniel
Nathaniel16mo ago
Okay, I'll have to defer to someone more familiar with it at this point.
Radu
RaduOP16mo ago
Cool! Thanx a lot for your help
Nathaniel
Nathaniel16mo ago
No problem, sorry I couldn't resolve it for you!
Kyle Gospo
Kyle Gospo16mo ago
Everything looks fine as far as versions and all that Seems like the just file isn't being picked up though Going to look into this and see if I can find anything that might cause it
Radu
RaduOP16mo ago
Of course, using https://github.com/ublue-os/bazzite-arch I managed to create the container. I just wonder why the justfile doesn't work. Does it have something to do with my install or could there be a possible bug?
GitHub
GitHub - ublue-os/bazzite-arch: A ready-to-game Arch Linux based OC...
A ready-to-game Arch Linux based OCI designed for use exclusively in distrobox. - GitHub - ublue-os/bazzite-arch: A ready-to-game Arch Linux based OCI designed for use exclusively in distrobox.
Kyle Gospo
Kyle Gospo16mo ago
try just --list fpaste and toss what you have here I confirmed desktop is working fine in a VM so it's not some new bug, very curious what you get
Radu
RaduOP16mo ago
just --list
Available recipes:
bios
changelogs
default
distrobox-boxkit
distrobox-debian
distrobox-opensuse
distrobox-ubuntu
update
just --list
Available recipes:
bios
changelogs
default
distrobox-boxkit
distrobox-debian
distrobox-opensuse
distrobox-ubuntu
update
Kyle Gospo
Kyle Gospo16mo ago
wow microscopic you are missing a TON doesn't even fit on one page for me
Radu
RaduOP16mo ago
That's what my girlfriend said
Kyle Gospo
Kyle Gospo16mo ago
lmao what's in /usr/share/ublue-os/just/ for you?
Radu
RaduOP16mo ago
$ ls
custom.just main.just nvidia.just ublue-os-just.sh
$ ls
custom.just main.just nvidia.just ublue-os-just.sh
Kyle Gospo
Kyle Gospo16mo ago
cat custom.just | fpaste
Kyle Gospo
Kyle Gospo16mo ago
well, there's your file it's definitely there why just doesn't see it by default though I don't know could be an env variable or something?? @EyeCantCU may have an idea
EyeCantCU
EyeCantCU16mo ago
I've found the ublue-os-just.sh script doesn't always properly create the justfile (happened to me twice so far over the last several months of installations). What you need to do is go into ~/.justfile and add:
!include /usr/share/ublue-os/just/main.just
!include /usr/share/ublue-os/just/nvidia.just
!include /usr/share/ublue-os/just/custom.just
!include /usr/share/ublue-os/just/main.just
!include /usr/share/ublue-os/just/nvidia.just
!include /usr/share/ublue-os/just/custom.just
Radu
RaduOP16mo ago
Now I get:
No description
Radu
RaduOP16mo ago
also, would be nice if one could select this text and copy it 😄 I most likely misunderstood what you told me to do 😄
akdev
akdev16mo ago
Mm seems like we should just put the justfile in /etc/skel.d - do you know if there’s a reason we don’t do that? Oh the user is created during installation 🤔
EyeCantCU
EyeCantCU16mo ago
That's all that should be in that file. Nothing else is there? Yeah. I can't think of anything that would better substitute what we already have
Radu
RaduOP16mo ago
I understood "add" as in "append". I deleted everything, just put those lines, rebooted, all is well 😄 maybe we should add this as a known issue or somewhere people can have access to the steps I just did 😄
Want results from more Discord servers?
Add your server