AUR (Arch User Repository) packages are neither supported by Arch nor Manjaro. Posts about them in Announcements topics are off-topic and will be flagged, moved or removed without warning.
For help with AUR packages, please create a new topic in AUR and a helpful volunteer may be able to assist you.
…those image locations don’t point to anything and I only have linux66 and linux68 installed. This particular file’s birth time coincides with these alpm hooks:
My best guess is some kind of bug in /usr/share/libalpm/scripts/mkinitcpio. Anyone have any hints? Anyway, I simply rm’d this phantom preset, regenerated my other 2 legitimate presets, and all seems well with no errors.
I believe I know what happened in my case. I removed the manjaro package kernel-alive in 2022 around my initial installation time and neglected to manually rm the backup modules (and the .old file) located in /lib/modules/. Mkinitcpio apparently underwent some minor changes recently where it now generates .presets on its own upgrade instead of waiting for other triggers, and I’m guessing it’s going off what’s inside the modules directory. I rm’d an existing 5.16.5-1-MANJARO/ directory and the .old file, reinstalled mkinitcpio to test, and no further presets were generated. Looks like I just deferred some spring cleaning on my own system.
==> Check if we need to add "kms" to hooks.
-> "kms" hook does not exist yet. Adding it to the HOOKS line.
-> Did not find "modconf" hook. Adding "kms" hook at the end.
That commit isn’t working on a default mkinitcpio.conf (which I do not even use, I’ve placed my actual HOOKS line in a dropin config in /etc/mkinitcpio.conf.d/) because it assumes HOOKS with an (old) string value rather than current array HOOKS=(...).
The kms hook was already present, and despite the final message it wasn’t added anywhere.
I know. I’m not getting the third line, so this is after the current latest change.
I’m not familiar with the scripting in use, but this if statement doesn’t seem to function right, at least for my system:
if [[ $(sed -n '/^HOOKS=".*\bkms\b.*/p' /etc/mkinitcpio.conf) ]]; then
printf ' -> "kms" hook already exists. Doing nothing.\n'
else
printf ' -> "kms" hook does not exist yet. Adding it to the HOOKS line.\n'