Updating broke system configuration
System details
Omarchy 3.3 Laptop Thinkpad T1
What's wrong?
When updating the system the following pop up message appears and breaks waybar.
omarchy-debug: https://0x0.st/P8ek.log
i got the same issue. Device: AMD 5 5600H, RTX3050ti
same
i have managed to resolve that errors by commenting those lines from files as mentioned in errors. But, my previous configs and themes are all gone. and Waybar is also gone.
I did this only to remove that error section.
I am hoping for some good solution.
my previous configs and themes are all gone. and Waybar is also gone.
Same here, everything gone, looking for some kind of fix. Every time there is some update, it comes with some kind of problem. Maybe better off with another OS.
@Michallote you just need to reboot. Latest Omarchy update includes Hyprland 0.53, which introduces breaking changes to the window rules syntax. Omarchy’s update adjusted the config to the new syntax (the errors in your screenshots), so you need to use a new Hyprland session (rebooting is the easiest way with Omarchy).
You should also update your Hyprland plugins (if any) with hyprpm update, and any custom window rules in your hyprland.conf (see the Hyprland docs).
@sauhardh it looks like you rebooted, but have custom window rules or plugins you need to update for Hyprland 0.53. See previous link.
The release note for Hyprland 0.53 also links to an automatic windowrule syntax converter, you can try it.
Edit: you can find all this and any future update instructions in Omarchy's release notes
Okay, I solved this issue.
As @hbouttev mentioned, thanks to him. It's mainly due to hyperland updates on custom window rules.
Solution:
- Go to the files mentioned in the error, and convert it to new rules. You can use this converter:
https://itsohen.github.io/hyprrulefix/ - In mycase, topbar was gone, -- It was due to some issue with
yqwhich got solved after reinstalling it.sudo pacman -S yq - reboot
@Michallote you just need to reboot. Latest Omarchy update includes Hyprland 0.53, which introduces breaking changes to the window rules syntax. Omarchy’s update adjusted the config to the new syntax (the errors in your screenshots), so you need to use a new Hyprland session (rebooting is the easiest way with Omarchy).
You should also update your Hyprland plugins (if any) with
hyprpm update, and any custom window rules in yourhyprland.conf(see the Hyprland docs).@sauhardh it looks like you rebooted, but have custom window rules or plugins you need to update for Hyprland 0.53. See previous link.
The release note for Hyprland 0.53 also links to an automatic windowrule syntax converter, you can try it.
Edit: you can find all this and any future update instructions in Omarchy's release notes
Things are much more broken than this for me, when updating Omarchy, a git pull immediately causes the error seen in the screenshot, when packages are fetched and attempted to be updated, this step fails with "error: libseccomp: signature from "Levente Polyak (anthraxx) [email protected]" is unknown trust :: File /var/cache/pacman/pkg/libseccomp-2.6.0-1-x86_64.pkg.tar.zst is corrupted (invalid or corrupted package (PGP signature))."
This basically bricks the entire install with no clear way to roll back.
Things are much more broken than this for me, when updating Omarchy, a git pull immediately causes the error seen in the screenshot
This is expected. The git pull updates Hyprland config files before updating the package. Once the package is updated, reboot and there will be no errors.
when packages are fetched and attempted to be updated, this step fails with "error: libseccomp: signature from "Levente Polyak (anthraxx) [email protected]" is unknown trust :: File /var/cache/pacman/pkg/libseccomp-2.6.0-1-x86_64.pkg.tar.zst is corrupted (invalid or corrupted package (PGP signature))."
This is another issue related to your Archlinux gpg keys. You can first try to only update archlinux-keyring before retrying the full update, with sudo pacman -Su archlinux-keyring. If after that you still have the error, you can try sudo pacman-key --refresh-keys and retry the full update.
@hbouttev It persisted after rebooting. I opened the issue because it didn't fix it.
What was actually happening was that I was using a custom theme from the user submitted ones. Then the latest breaking changes to Hyprland v0.53 I believe as commented by other users broke the system config. and waybar.
The problem was that as I was on an custom theme the update wouldn't fix the layer rules for it ofc.
So it remained broken, what I did then was simply to switch to an Omarchy theme. Reboot. Still broken > Return the hyprland.conf to the default shipped with Omarchy, and after another reboot it did the trick.
I only lost my personal configuration but that is easy enough to change.
Leaving the thread open for other people to see and contribute their solutions...
The flow where you see errors during the update process was described in the release notes: https://github.com/basecamp/omarchy/releases/tag/v3.3.0
If you're stuck with a system that didn't complete its upgrade, you can go for the nuclear option with omarchy-reinstall. That'll reset Omarchy, its dependencies, and all the default configs. But backup ~/.config first, if you've made meaningful changes.