omarchy icon indicating copy to clipboard operation
omarchy copied to clipboard

Polkit error

Open cluah opened this issue 1 year ago • 6 comments

System details

Omarchy 3.0.2

What's wrong?

I saw this when I pressed return (press return to restart) at the end of the Omarchy 3.0.2 ISO installation.

ERROR:../polkit/src/programs/pkttyagent.c:201:main: assertion failed: (polkit_unix_process_get_pid (POLKIT_UNIX_PROCESS (subject)) == pid_of_caller)
Bail out! ERROR:../polkit/src/programs/pkttyagent.c:201:main: assertion failed: (polkit_unix_process_get_pid (POLKIT_UNIX_PROCESS (subject)) == pid_of_caller)

Then if I press Ctrl + Alt + Supr i get:

[FAILED] Failed to start Generate shutdown-ramfs.
[FAILED] Failed to start Show Plymouth Reboot Screen.
[FAILED] Failed unmounting Temporary /etc/pacman.d/gnupg directory.
[FAILED] Failed unmounting /mnt/boot.
[FAILED] Failed unmounting /mnt/dev/pts.
[FAILED] Failed unmounting /mnt/dev/shm.
[FAILED] Failed unmounting /mnt/etc/resolv.conf.
[FAILED] Failed unmounting /mnt/home.
[FAILED] Failed unmounting /mnt/proc.
[FAILED] Failed unmounting /mnt/run.
[FAILED] Failed unmounting /mnt/sys/firmware/efi/efivars.
[FAILED] Failed unmounting /mnt/tmp.
[FAILED] Failed unmounting /mnt/var/cache/omarchy/mirror/offline.
[FAILED] Failed unmounting /mnt/var/cache/pacman/pkg.
[FAILED] Failed unmounting /mnt/var/log.
[FAILED] Failed unmounting /mnt/user/0.
[FAILED] Failed unmounting Temporary Directory /tmp.
[FAILED] Failed unmounting /mnt/dev.
[FAILED] Failed unmounting /mnt/sys.
[FAILED] Failed unmounting /mnt.

A second later, an infinite loop of this:

[897.xxxxxx] SQUASHFS error: Failed to read block 0x2a3ac6db: -5

Finally, I press Ctrl + Alt + Supr, it restarts, and seems to start normally.

cluah avatar Oct 02 '25 22:10 cluah

Same problem here. I attempted to install Omarchy 3.0.2 using the ISO on a Surface Pro 7. As soon as I hit "reboot" (at the end of the installer), this error message appeared.

mateus-ito avatar Oct 04 '25 04:10 mateus-ito

Same here. Anyone found a fix for this? I'll continue trying and update here if i have success

Edit: from the other thread it seems that it's caused by removing the usb too soon. Will try the fox suggested there and update

Edit 2: that did it. Still saw some errors and alerts as it started restarting, but too fast to read. Eventually it booted correctly after that. Solution was to only remove the USB stick on laptop brand was showing after reboot

miguelcsilva avatar Oct 05 '25 12:10 miguelcsilva

Hi, just came across the same problem

maxwell-mutuku-dev avatar Oct 06 '25 14:10 maxwell-mutuku-dev

@dhh @ryanrhughes When to release iso image include this fix?? or plan b: how to fix this issue base on release? v3.0.2 iso image

zhanggang807 avatar Oct 13 '25 05:10 zhanggang807

@zhanggang807 this error just prevents the system from rebooting and isn't actually a problem.

On most, the error flashes on screen and it reboots anyway. On a few, it stays there and you manually have to reboot.

This update will eliminate that but until then, it's just an annoyance.

ryanrhughes avatar Oct 14 '25 14:10 ryanrhughes

@ryanrhughes Thanks, I have no idea about after omarchy installation on VMWare or VirturalBox reboot and login omarchy then lead to a black screen and wait a long long time and nothing happened. Reboot VM does not work yet....

zhanggang807 avatar Oct 18 '25 07:10 zhanggang807