Update not working from Game Mode

The update button always fails with "Update Error An error was encountered during the update process, please try again." When manually writing ublue-update from a terminal in game mode I get ERROR: | update check failed, system isn't managed by rpm-ostree container native.
78 Replies
Kyle Gospo
Kyle Gospoβ€’10mo ago
something is very wrong, run rpm-ostree update for me
Serj Targarien
Serj TargarienOPβ€’10mo ago
Symbol lookup error: /lib64/libldap.so.2: undefined symbol: EVP-md2, version OPENSSL_3.0.0
Kyle Gospo
Kyle Gospoβ€’10mo ago
oh you're using the decky terminal plugin
Serj Targarien
Serj TargarienOPβ€’10mo ago
Yeah
Kyle Gospo
Kyle Gospoβ€’10mo ago
that's fine for simple stuff, but it's not a complete terminal
Serj Targarien
Serj TargarienOPβ€’10mo ago
Oh
Kyle Gospo
Kyle Gospoβ€’10mo ago
switch to desktop and then try rpm-ostree update
Serj Targarien
Serj TargarienOPβ€’10mo ago
Will do from the desktop. I think it works there. But updates still fail in Game Mode
Kyle Gospo
Kyle Gospoβ€’10mo ago
once you've confirmed that works restart, and then try ublue-update on the desktop that'll tell you why updates might be failing or it'll be solved by the update
Serj Targarien
Serj TargarienOPβ€’10mo ago
πŸ‘ No system update available. System passed hardware checks. System passed all update checks.
Kyle Gospo
Kyle Gospoβ€’10mo ago
ok, just run ublue-update then
Serj Targarien
Serj TargarienOPβ€’10mo ago
May be that game mode spits an error when no updates are available?
Kyle Gospo
Kyle Gospoβ€’10mo ago
actually, give me a rpm-ostree status | fpaste and no, that's handled gracefully
Serj Targarien
Serj TargarienOPβ€’10mo ago
Give me a sec, connecting a real keyboard to my handheld https://paste.centos.org/view/db3d6951
Serj Targarien
Serj TargarienOPβ€’10mo ago
No description
Kyle Gospo
Kyle Gospoβ€’10mo ago
your build is current so weird, let's have you run a ublue-update then curious what it does
Serj Targarien
Serj TargarienOPβ€’10mo ago
It tells that everything is up to date If done in desktop mode In gaming mode updating is a no go No idea why Installed the distro today, did nothing crazy with it, just testing and playing a bit
Kyle Gospo
Kyle Gospoβ€’10mo ago
I'll see if I can reproduce this should be trivial to fix once I do
Serj Targarien
Serj TargarienOPβ€’10mo ago
πŸ‘
Techz
Techzβ€’10mo ago
Also have this issue on a fresh install, ran the commands and have no issues in terminal but in game mode update error Hrmm did another fresh install and still have the same issue is it possible to have perhaps journalctl open while attempting an update because it seems like updates get shown just that error popup still appears, or are there gamemode logs somewhere I can take a look at perhaps to see what could be triggering the popup (maybe a x sec timeout)
Serj Targarien
Serj TargarienOPβ€’10mo ago
Very interested in this, there must be some way to identify the problem so it can be fixed.
Kyle Gospo
Kyle Gospoβ€’10mo ago
journalctl -u ublue-update-force | fpaste Preferably right after a failure
Serj Targarien
Serj TargarienOPβ€’10mo ago
πŸ‘ https://paste.centos.org/view/54387c7c Problem is, updating works as a charm in desktop mode. The error only happens in gamescope session.
Kyle Gospo
Kyle Gospoβ€’10mo ago
Yeah I don't see any failures in that log If you can recreate it failing in game scope and then switch to desktop and run that command that would be very helpful
Serj Targarien
Serj TargarienOPβ€’10mo ago
That's exactly what I did just now
Kyle Gospo
Kyle Gospoβ€’10mo ago
The last run is successful
Serj Targarien
Serj TargarienOPβ€’10mo ago
Maybe if decky terminal was actually a real terminal we would have better info about the error
Kyle Gospo
Kyle Gospoβ€’10mo ago
Almost seems like this is a steam bug You can run this in a normal terminal in desktop mode
Serj Targarien
Serj TargarienOPβ€’10mo ago
The weirdest thing is that only a small percentage of users have the bug Yeah, that's what I did, but that log doesn't show the error at all Also, after spitting the error, Steam usually shows the actual update if there is one and actually lets me update. But the updates never show automatically in game mode and I have to manually go through the error at least once to check for updates
Kyle Gospo
Kyle Gospoβ€’10mo ago
Hmm ...
Techz
Techzβ€’10mo ago
yep exactly that I too have noticed
Aru
Aruβ€’10mo ago
couldn't you run terminal in nested desktop then? assuming you setup nested desktop, and you're not on deck-gnome
Serj Targarien
Serj TargarienOPβ€’10mo ago
Not in gnome, so I can try that. Don't think the results will be any different, though. I don't think updates actually fail from the Steam interface. My theory is that they don't even start when the error shows, then it finds them for some reason and the patched Bazzite update system fixes itself. I'll run the same command from nested desktop tomorrow anyway, just in case.
Kyle Gospo
Kyle Gospoβ€’10mo ago
still not able to reproduce this on any hardware but next update is gonna add ~/.steamos-update.log matching how gamescope logs might help figure this out
Serj Targarien
Serj TargarienOPβ€’10mo ago
Thanks, Kyle
Raudel
Raudelβ€’10mo ago
Just to note it’s happening to me too, Lenovo legion go
Kyle Gospo
Kyle Gospoβ€’10mo ago
That file should be created now
Aru
Aruβ€’10mo ago
Current workaround is to just update in desktop mode, right? I'll update some LGO documentation with a note
Kyle Gospo
Kyle Gospoβ€’10mo ago
This happens to you too? updating from desktop works, but I literally can't reproduce this on any hardware
Aru
Aruβ€’10mo ago
I don't know, I've been rebasing to specific images for to test for different bugs, etc So I haven't tested the steam update yet I can try to replicate
Kyle Gospo
Kyle Gospoβ€’10mo ago
I'd appreciate that greatly it's just calling /usr/bin/steamos-update fairly simple script
Aru
Aruβ€’10mo ago
But I do vaguely remember trying an update once a while back, and afterwards steam still showed the update available Anyways, I'll try to replicate it
T0LK3N
T0LK3Nβ€’10mo ago
To add to this, fresh install on Ally ROG and getting the same error when attempting in Game Mode however in desktop there's no issues, all is well! Very odd
Kyle Gospo
Kyle Gospoβ€’10mo ago
@Aru were you able to reproduce this/
Aru
Aruβ€’10mo ago
sorry, was busy and haven't gotten around to it yet. i'll try to reproduce after wrapping up some hhd-related dev work @Kyle Gospo if I see this in dmesg, does that mean the update was successful?
Feb 18 23:06:53 bazziteLGO rpm-ostree[9350]: dracut: *** Creating initramfs image file '/tmp/initramfs.img' done ***
Feb 18 23:06:53 bazziteLGO rpm-ostree[9350]: dracut: *** Creating initramfs image file '/tmp/initramfs.img' done ***
hrm, looks like it was successful, time to reboot and see if it updated properly
Kyle Gospo
Kyle Gospoβ€’10mo ago
Yea that's fine They're saying they're getting an error in the steam UI So if that's not your experience you're already not affected
Aru
Aruβ€’10mo ago
hrm, maybe it wasn't successful. did the reboot, still see kernel 6.7.4 on testing
Kyle Gospo
Kyle Gospoβ€’10mo ago
New kernel hasn't built yet Ping you when that's ready
Aru
Aruβ€’10mo ago
oh i thought it was, my bad
Aru
Aruβ€’10mo ago
Aru
Aruβ€’10mo ago
sudo dmesg | grep rpm-ostree for a recent update on testing branch
Kyle Gospo
Kyle Gospoβ€’10mo ago
GitHub
chore: Remove tuned-utils-systemtap Β· ublue-os/bazzite@cc1da88
Bazzite is an OCI image that serves as an alternative operating system for the Steam Deck, and a ready-to-game SteamOS-like for desktop computers, living room home theater PCs, and numerous other h...
Aru
Aruβ€’10mo ago
just did another update on testing branch, worked flawlessly. Hrm πŸ™ƒ
Kyle Gospo
Kyle Gospoβ€’10mo ago
Yep, that's my issue too .. On like four different pieces of hardware too
Aru
Aruβ€’10mo ago
if you're queuing up a stable release soon, I'll try updating on my GPD win 4 too and see if I can replicate the issue there unfortunately, i was also not able to replicate on my GPD win 4 update ran flawlessly
T0LK3N
T0LK3Nβ€’10mo ago
I manually checked earlier and failed BUT 10 seconds later, it said I had an update to install - not sure if that helps! (within Steam)
T0LK3N
T0LK3Nβ€’10mo ago
No description
Techz
Techzβ€’10mo ago
Updates I think work it's just a popup msg appears before you can install it
No description
No description
Kyle Gospo
Kyle Gospoβ€’9mo ago
This may be fixed via today's update do let me know πŸ™‚
Techz
Techzβ€’9mo ago
Haha not for me, but has caused my decky to disappear :HideThePain:
termdisc
termdiscβ€’9mo ago
That can happen even on SteamOS. Just reinstall Decky and everything will come back
Techz
Techzβ€’9mo ago
Yep that fixed the issue, seems like hltb has a error but seems like a decky issue since reports others having same issue Interesting to see if op still has the issue with updates showing error
Serj Targarien
Serj TargarienOPβ€’9mo ago
Yeah, not fixed for me either
termdisc
termdiscβ€’9mo ago
just putting it out there that I've pretty much had the "update error" prompt for months, but the update actually still works, so I never did anything about it
Techz
Techzβ€’9mo ago
latest update fixed the error popup bug for me after rebasing from that feb image (due to sleep bug) to the latest stable that fixes the sleep bug :invincible:
Serj Targarien
Serj TargarienOPβ€’9mo ago
It's fixed on my end too, just by updating, no rebasing needed
mko1877
mko1877β€’9mo ago
Hello, over past few days i've been having issues updating ROG Ally. The update from game would seemingly succeed, but upon restart, i'd be presented with the same update again. Occasionally, update would get stuck on "Verifying installation" or "Update complete, launching system" messages, but nothing else would happen for hours. Just now, i've tried updating it via desktop mode and it is now stuck in "Verifying" for like 15 minutes now. I could force shut down the system and it would most likely roll back to previous version. Anyone kno why could this be happening? On another note, updating ROG ally causes no issues - just did that as well. So it seems ROG Ally only issue..
Kyle Gospo
Kyle Gospoβ€’9mo ago
Run rpm-ostree update in the terminal on desktop
mko1877
mko1877β€’9mo ago
should i hard reboot the device now? its been in verifying state for a while now. It is connected to wired network and i am seeing some sort of activity. Should i wait or is it stuck? @Kyle Gospo something is very wrong with my OS.. did the rpm-ostree update, went successfully. Asked me to reboot, did that as well. Ally booted into game mode, i did check for updates and it presented me with the same update again. Went into desktop mode, did rpm-ostree update again and it seemingly again did the same update that went successfully just few minutes before.
termdisc
termdiscβ€’9mo ago
You have no way of knowing what is being updated in game mode. The changelog is hardcoded to pull Steam Deck client or OS logs
mko1877
mko1877β€’9mo ago
but the rpm-ostree update is doing the same thing post reboot - the update seeming does not "stick" tried again - same thing. The update is just being rolled back..
Kyle Gospo
Kyle Gospoβ€’9mo ago
rpm-ostree status | fpaste
mko1877
mko1877β€’9mo ago
@Kyle Gospo https://paste.centos.org/view/9af7b06e rpm-ostree --version tells me i am on 2024.2 version so far, i have tried: * update from game mode -> rolled back or stuck on "verifying...: * update via OS provided tool -> roll back * update via rps-ostree upgrade -> roll back * rpm-ostree rebase to gnome version -> roll back by roll back i mean i am still on KDE version 2024.2 after each reboot occasionally i'd get a systeam read-only message in console - i assume thats due to upgrade not finished journalctl tells nothing for me (or i am lookingat wrong data) also, during reboot between different screens i saw some console messages (on one occasion), but did not manage to capture those.
termdisc
termdiscβ€’9mo ago
Roll back to what exactly? I see this on your deployed version:
Version: 39.20240311.0 (2024-03-11T07:04:02Z)
Version: 39.20240311.0 (2024-03-11T07:04:02Z)
Maybe run
rpm-ostree update | fpaste
rpm-ostree update | fpaste
and provide the log before restarting
mko1877
mko1877β€’9mo ago
@termdisc (Deck+PC) @Kyle Gospo I figured rollback would just go to previous version, i did not specify anything. What's wrong is that rebase that i did to bazzite-ally-gnome, did not stick as well.... https://paste.centos.org/view/3930699b it is not very informative though.. But just before uploading this paste, in terminal i got an error message syscore cleanup: pruning ..... read-only file system rpm-ostree status now shows 3 deployments, and i am still on 39.20240311.0 post update btw, rpm-ostree update and rpm-ostree upgrade are synonyms or different commands? did a ostree fsch -a and it shows some checksum error i guess something got corrupt at some point some more tinkering but the updates still do not work. I also think my system, while working, is now corrupt. I ran sudo ostree fsch -a --delete and it marked a bunch of commits as partial (23 or so) and i have no idea how to delete them or roll them back or roll back to an older version. Everything i do seemingly ends up in a read-only system i flashed bazzite-ally iso to try and boot to live env and do some recovery from it but: 1. it does not seem to have live env 2. system rescue option does not even see my linux partition 3. shell commands do nothing
Kyle Gospo
Kyle Gospoβ€’9mo ago
This is normal That command doesn't support OCI
mko1877
mko1877β€’9mo ago
booted again to usb rescue shell did btrfs scan shows errors, wil ltry to btrfs scrub later maybe that will help honestly, this is pretty much the last idea i can think of on how to recover btw, i checked ostree's state folder and it has all the .partialcommit files that fsck seems to find. Should i delete those? welp, no go. tried scrubbing, it did not even start - says my filesystem is read-only... i reckon btrfs should not go to read only state for no reason, so i guess it is corrupted beyond recovery or there is a hardware failure... i did check my device in partition manager and it found no errors, so i assume its file system. @Kyle Gospo would you have any ideas on this?
Kyle Gospo
Kyle Gospoβ€’9mo ago
I'm afraid not, and some of this stuff you're messing with really shouldn't be touched. You might be best with a reinstall at this point You can back up and keep the var partition That way your home dir is kept
Want results from more Discord servers?
Add your server