Unable to update using ujust update
Hello, I'm getting an error when trying to update using the terminal and the error message is a bit too cryptic for me to understand.
Here's the message in text format as well:
Thank you in advance :)
42 Replies
Sorry for the bump, but I'm really not sure what do to
Even after multiple restarts I still get the Input/Output error
post the full output of rpm-ostree status, including the rollbacks
Here is the full output of rpm-ostree status after running the rpm-ostree cleanup -m -b -p -r Kyle gave me
I don't know much, but do you have any spaces left in your computer, just curious
Dolphin says I have 384 GB free, which should be enough I'd hope haha
Oh right, my bad
I don't know what the source of this error could be at the top of my head
Do sudo rpm-ostree reset
This will remove all your layered packages and reboot and try again
GitHub
Input/output error · Issue #4568 · coreos/rpm-ostree
Host system details State: idle Deployments: fedora:fedora/38/x86_64/silverblue Version: 38.20230830.0 (2023-08-30T00:49:28Z) BaseCommit: 20e6c5c20307f6bcdc7371be020e2e88c7a4ec3d31abd46d0add5011d03...
This also gave me the same error unfortunately
Hmm, you did this already didn't you, sorry, I missed it
Oh yeah, probably disk failure I assume.
How old is the SSD?
Backup your important data
When my disk died I got mountains of errors on my desktops.
Didn't survive a reboot after that
The SSD I bought in early september 2023, so not too old
I forget if I've tried those but I'll give them a try again
This is SATA or nvme?
Not some hacky USB Adapter perhaps?
It's a pcie 4 nvme
Plugged in the motherboard
I think you did run the first two commands, so it might be a hardware issue, doesn't hurt trying it again, but yeah
This doesn't seem to have done anything unfortunately
Outside of updating the system seems to be working generally fine, I can install games, flatpaks, and reboot without issues
But if this really is the nvme dying for some reason or other I'll have to reinstall I suppose
Can you check smart status in settings/kinfocenter just in case?
search for smart in settings
Of course, just a second
And this is what the show details button gives me
Unsafe Shutdowns: 29Do you often hard-reset your PC or lose power?
Uh, oh, I do that occasionally :dispair:, lesson learned
(not op, but still)
I try shutting down the PC safely but I've had the power go off a couple of times yeah
That said the last version I have is from the 16th and I don't think I've had the power randomly go off since then, dunno if that matters
Mine says almost a thousand, was troubleshooting something lol
It should be fine as long as there are no writes(?)
try
sudo journalctl -b 0 --dmesg | grep -i btrfs | fpaste
this will filter the btrfs filesystem stuff from your current boot and upload it to a pastebinSorry for the delay, but I'm getting a journalctl-b command not found error
it is missing a space, I made typo
Ah, that did the trick
Here's the link: https://paste.centos.org/view/08de8013
I am seeing a lot of critical lines :MonkaS:
BTRFS critical (device nvme0n1p3): unable to find chunk map for logical 72058819940335616 length 4096
Do you have important data on this drive?The home folder, but I think that's it
Make a backup
your filesystem is (partly) corrupted.
It could be that a simple scrub could fix that but I'm no expert on the topic of btrfs
I'll make a backup and then try a scrub
sudo btrfs scrub start /
and then to watch progress
watch sudo btrfs scrub status /
keep another terminal open in the background with
sudo journalctl --dmesg --follow
to see what it does
also check if the files are actually legit and you can open them (on the backup drive)Will do! I'll report back when I'm done :)
Good luck!
Thank you :)
Heya, I did the btrfs scrub, there were 2 uncorrectable errors apparently
It doesn't sound like a lot but I don't know how bad that is
Reddit
From the btrfs community on Reddit: Uncorrectable errors in scrub
Explore this post and more from the btrfs community
Hmm, the 2 files I have aren't critical, one is from a game and the other is from discord
I can just delete them and repair the game later probably
yes, delete them, verify the game in steam and at the worst you'll have to login to discord again
doesn't explain why your update is failing tho
some sector of your filesystem/disk is probably borked
I think those were not actually the files but rather warnings
Actually no
I deleted the file but still getting an error :Thonking:
After deleting the 2 files I no longer have any errors, but the upgrade still doesn't work
Now that I backed up my files I'll probably just reinstall I guess
Maybe get a UPS just to make sure I don't have more power issues
i should someday get one myself
could do the btrfs check if you are curious
if you don't give a shit, I absoluetly understand
I had this popup on the terminal with dsmeg when I tried updating
So I think there's probably some errors still