No automatic way to fix corrupted system files

Technically this should be an ostree related bug but I'll post it here first before doing a bug report What I encountered was some system file corrupted, or at least I thought it was. All system notification sounds just does not play anymore while audio from other applications play normally.
sudo ostree fsck
sudo ostree fsck
shows that there are corrupted files on the system. unfortunately there are no way to automatically fix this. I tried to use
sudo ostree fsck --delete
sudo ostree fsck --delete
, as that seems to be the easiest way to fix this and I assumed rpm-ostree would just automatically pull the missing files. It was a bad idea. As seen from the screenshot, rpm-ostree really did not like it. Following a workaround from 2016 https://github.com/ostreedev/ostree/pull/345#issuecomment-262263824 also does not work. I had an idea to pull the entire image by
rpm-ostree
rpm-ostree
to try to fix it, but rpm-ostree complains that
Old and new refs are equal: ostree-unverified-registry:ghcr.io/ublue-os/bazzite:stable
Old and new refs are equal: ostree-unverified-registry:ghcr.io/ublue-os/bazzite:stable
To work around this, I am currently trying to rebase onto the nvidia image and then rebase back to the normal image.
GitHub
POC: fsck repair by krnowak · Pull Request #345 · ostreedev/ostree
This is something I quickly hacked up, since I haven't seen any possibility to tell ostree to fetch the missing objects after doing ostree fsck --delete. For now it only tries to download c...
No description
4 Replies
皇家海星
皇家海星OP3w ago
No description
皇家海星
皇家海星OP3w ago
still encountering corruption
dans
dans3w ago
I've had ostree fsck report curroption on bazzite before as well. So have many other users. It seems to be related with ostree fsck not fully supporting OCI images , I am not sure , but your issue might not be related to the "curroption" at all
皇家海星
皇家海星OP12h ago
with this issue, rpm-ostree update will fail only way to get it to go away is to rebase a different image and hope it refetches the thing
Want results from more Discord servers?
Add your server