Artix Linux Forum

Artix Linux => System => Topic started by: pluto on 02 September 2022, 08:59:16

Title: Grub Error version_find_latest command not found
Post by: pluto on 02 September 2022, 08:59:16
Hey,

i just wanted to change my grub configuration (Timeout from 60 to 30).

But it seems i cant apply any changes anymore because of:


grub-mkconfig -o /boot/grub/grub.cfg

Code: [Select]
/etc/grub.d/proxifiedScripts/linux: Line 204: version_find_latest: Command not found.

this is what in the in the file i found:

Code: [Select]
is_top_level=true
while [ "x$list" != "x" ] ; do
  linux=`version_find_latest $list`
  gettext_printf "Found linux image: %s\n" "$linux" >&2
  basename=`basename $linux`
  dirname=`dirname $linux`
  rel_dirname=`make_system_path_relative_to_its_root $dirname`
  version=`echo $basename | sed -e "s,vmlinuz-,,g"`
  alt_version=`echo $version | sed -e "s,\.old$,,g"`
  linux_root_device_thisversion="${LINUX_ROOT_DEVICE}"

this is the only line too with "version_find_latest" in it.

Maybe this has something to do with the latest major bug in grub?
Title: Re: Grub Error version_find_latest command not found
Post by: Lancia on 02 September 2022, 10:24:49
In my /etc/grub.d directory, I don't the proxifiedScripts directory, is there a package or something additional you installed?
Title: Re: Grub Error version_find_latest command not found
Post by: pluto on 02 September 2022, 11:16:11
Not that im aware of.

I just now deleted this folder and the three files "LS_custom" "LS_linux" and "LS_uefi-firmware".

Now it works.
Title: Re: Grub Error version_find_latest command not found
Post by: d1nuc0m on 02 September 2022, 12:00:18
Not that im aware of.

I just now deleted this folder and the three files "LS_custom" "LS_linux" and "LS_uefi-firmware".

Now it works.

It's due to grub-customizer, it does not manage correctly new changes in GRUB (https://archlinux.org/news/grub-bootloader-upgrade-and-configuration-incompatibilities/)