I ran sudo zypper ref
and got the following errors. I updated OpenSUSE earlier today and now I can’t even open YaST.
sudo: unable to open /var/lib/sudo/ts/1000: Read-only file system
[sudo] password for root:
Error retrieving metadata for 'openSUSE-Tumbleweed-Non-Oss':
Can't create metadata cache directory.
Skipping repository 'openSUSE-Tumbleweed-Non-Oss' because of the above error.
Error retrieving metadata for 'Open H.264 Codec (openSUSE Tumbleweed)':
Can't create metadata cache directory.
Skipping repository 'Open H.264 Codec (openSUSE Tumbleweed)' because of the above error.
Error retrieving metadata for 'openSUSE-Tumbleweed-Oss':
Can't create metadata cache directory.
Skipping repository 'openSUSE-Tumbleweed-Oss' because of the above error.
Error retrieving metadata for 'openSUSE-Tumbleweed-Update':
Can't create metadata cache directory.
Skipping repository 'openSUSE-Tumbleweed-Update' because of the above error.
Could not refresh the repositories because of errors.
When trying to open YaST, I get the following error:
Configuration file "/root/.config/y2controlcenterrc" not writable.
Please contact your system administrator.
I will upload the output of dmesg
to a pastebin, because there are a lot of errors that seem to be related to a corrupted journal file.
Pastebin link: dmesg opensuse output - Pastebin.com
Note: Running on Lenovo Thinkpad T480