-
Notifications
You must be signed in to change notification settings - Fork 72
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
"Oh no! Something went wrong" #30
Comments
The problem must be the script using the old backup. I'll add some logic to check the os version & gresource content to make sure it have the right backup version. |
The error is not from the script. Its after rebooting the system. Here you can find a picture how it looks like: |
You reboot after WHAT? The Upgrade or Running the script? P/s: I already know how the error looks like while upgrade the script to compatiple with impish. |
Oh sorry. I thought it was clear though my initial post.
I am not sure whether there is a good way to cover this situation within the script. Because it makes sense not doing a fresh backup everytime (let's assume the script already broke I saw your hashtable approach. It assumes the checksum of I guess its just not a problem that can be solved completely dynamic. |
Maybe we write the release number to a file in /etc and check for it? |
@teplydat @duckimann I'm going to try to simulate this error in a virtual machine before coming with any solution. |
I have reverted support for impish until I resolve this issue. |
@teplydat Thank you so so much for opening this issue and posting the steps you followed to fix this issue. I was experiencing the same problem after upgrading to Pop_OS 21.10. But I was saved by following your instructions. 🎉 The only difference for me was that my |
@teplydat |
@teplydat Thank you so much. I am glad that I landed up here. I was on the verge of reinstalling everything. In my case, my build was Ubuntu 22.04 on which I encountered this error. I was not using this script or any other script for that matter, rather I was tweaking the As per your suggestion, I used a bootable USB which had Ubuntu 21.04 and it worked on my 22.04 as well. I "tried out" the 21.04 and went into the Thanks a ton 😇🙏 |
So actually I came from Ubuntu 21.04 and upgraded to 21.10. I got a strange issue after running this script here but I forgot the error message.
However, after rebooting I got: "Oh no! Something went wrong"
It took me some hours to fix it and I was close to reinstall my whole system.
How to fix it?
In the end it is all about
gnome-shell-theme.gresource
e.g. under/usr/share/gnome-shell/theme/Yaru
.Unfortunately I could not recover the backup (
gnome-shell-theme.gresource~
) beause it was actually from 21.04 that is incompatible with 21.10. So I needed a freshgnome-shell-theme.gresource
from Ubuntu 21.10.cd /mount/yourSSDHDD.../usr/share/gnome-shell/theme/Yaru
gnome-shell-theme.gresource
:cp /usr/share/gnome-shell/theme/Yaru/gnome-shell-theme.gresource ./
sudo reboot
and unplug your USB stick when it asks for.@thiggy01 its up to you to add this worst case recovery in your README.md
You can also close this issue. Maybe it just helps someone and saves some time.
The text was updated successfully, but these errors were encountered: