Package: grub Version: 0.95+cvs20040624-17 Severity: normal Tags: patch
Hi, When lanching update-grub while current working directory is /usr/bin, it takes a long time to execute and fail. I have found the reason of the problem, it is the line 700 of /sbin/update-grub which is buggy : for kern in $(/bin/ls -1vr /boot/vmlinuz-* | grep -v dpkg-*) ; do The "grep -v dpkg-*" is expanded when a dpkg-something file is present in the current directory, which is not what we want. The correction is simple, change grep -v dpkg-* in grep -v "dpkg-*" or better remove this part of the pipe as it is not useful (I don't see how the first part of the pipe could produce a line containing "dpkg-*", which by the way is probably a misspelling of "dpkg-.*"). Best regards. -- Loïc Le Loarer -- System Information: Debian Release: testing/unstable APT prefers testing APT policy: (990, 'testing'), (110, 'stable'), (99, 'unstable') Architecture: i386 (i686) Shell: /bin/sh linked to /bin/bash Kernel: Linux 2.6.12.3-p4-1 Locale: LANG=fr_FR, LC_CTYPE=fr_FR (charmap=ISO-8859-1) Versions of packages grub depends on: ii libc6 2.3.2.ds1-22 GNU C Library: Shared libraries an ii libncurses5 5.4-8 Shared libraries for terminal hand grub recommends no packages. -- no debconf information