Debian Bug report logs - #414798
update-grub with grep --color enable fails

Package: grep; Maintainer for grep is Anibal Monsalve Salazar <anibal@debian.org>; Source for grep is src:grep (PTS, buildd, popcon).

Reported by: sebastien COUPPEY <sebastien.couppey@wanadoo.fr>

Date: Tue, 13 Mar 2007 21:45:02 UTC

Severity: normal

Done: Aníbal Monsalve Salazar <anibal@debian.org>

Bug is archived. No further changes may be made.

Toggle useless messages

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to debian-bugs-dist@lists.debian.org, Grub Maintainers <pkg-grub-devel@lists.alioth.debian.org>:
Bug#414798; Package grub. (full text, mbox, link).


Acknowledgement sent to sebastien COUPPEY <sebastien.couppey@wanadoo.fr>:
New Bug report received and forwarded. Copy sent to Grub Maintainers <pkg-grub-devel@lists.alioth.debian.org>. (full text, mbox, link).


Message #5 received at submit@bugs.debian.org (full text, mbox, reply):

From: sebastien COUPPEY <sebastien.couppey@wanadoo.fr>
To: Debian Bug Tracking System <submit@bugs.debian.org>
Subject: update-grub with grep --color enable fails
Date: Tue, 13 Mar 2007 22:43:37 +0100
Package: grub
Version: 0.97-23
Severity: normal


The grep color option is enabled in my bashrc as :

export GREP_OPTIONS='--color=always'


Updating the grub package I had the following error.
Removing the color option and run the script again solved the problem

Thanks

Running postinst hook script /usr/sbin/update-grub.
Searching for GRUB installation directory ... found: /boot/grub
Searching for default file ... Generating /boot/grub/default file and
setting the default boot entry to 0
Testing for an existing GRUB menu.lst file ... found:
/boot/grub/menu.lst
Searching for splash image ... none found, skipping ...
grep: Invalid range end
grep: Invalid range end
grep: Invalid range end
grep: Invalid range end
grep: Invalid range end
grep: Invalid range end
Found kernel: /boot/vmlinuz-2.6.18-4-686
/usr/sbin/update-grub: line 578: ${kopt_01;31m_2_6_18_4_686}: bad
substitution
/usr/sbin/update-grub: line 578: ${kopt_01;31m_2_6_18_4}: bad
substitution
/usr/sbin/update-grub: line 578: ${kopt_01;31m_2_6_18}: bad substitution
/usr/sbin/update-grub: line 578: ${kopt_01;31m_2_6}: bad substitution
/usr/sbin/update-grub: line 578: ${kopt_01;31m_2}: bad substitution
/usr/sbin/update-grub: line 578: ${kopt_01;31m}: bad substitution
Found kernel: /boot/vmlinuz-2.6.18-3-686
/usr/sbin/update-grub: line 578: ${kopt_01;31m_2_6_18_3_686}: bad
substitution
/usr/sbin/update-grub: line 578: ${kopt_01;31m_2_6_18_3}: bad
substitution
/usr/sbin/update-grub: line 578: ${kopt_01;31m_2_6_18}: bad substitution
/usr/sbin/update-grub: line 578: ${kopt_01;31m_2_6}: bad substitution
/usr/sbin/update-grub: line 578: ${kopt_01;31m_2}: bad substitution
/usr/sbin/update-grub: line 578: ${kopt_01;31m}: bad substitution
Found kernel: /boot/vmlinuz-2.6.18-2-686
/usr/sbin/update-grub: line 578: ${kopt_01;31m_2_6_18_2_686}: bad
substitution
/usr/sbin/update-grub: line 578: ${kopt_01;31m_2_6_18_2}: bad
substitution
/usr/sbin/update-grub: line 578: ${kopt_01;31m_2_6_18}: bad substitution
/usr/sbin/update-grub: line 578: ${kopt_01;31m_2_6}: bad substitution
/usr/sbin/update-grub: line 578: ${kopt_01;31m_2}: bad substitution
/usr/sbin/update-grub: line 578: ${kopt_01;31m}: bad substitution
Found kernel: /boot/vmlinuz-2.6.18-1-686
/usr/sbin/update-grub: line 578: ${kopt_01;31m_2_6_18_1_686}: bad
substitution
/usr/sbin/update-grub: line 578: ${kopt_01;31m_2_6_18_1}: bad
substitution
/usr/sbin/update-grub: line 578: ${kopt_01;31m_2_6_18}: bad substitution
/usr/sbin/update-grub: line 578: ${kopt_01;31m_2_6}: bad substitution
/usr/sbin/update-grub: line 578: ${kopt_01;31m_2}: bad substitution
/usr/sbin/update-grub: line 578: ${kopt_01;31m}: bad substitution
Found kernel: /boot/vmlinuz-2.6.16-2-686-smp
/usr/sbin/update-grub: line 578: ${kopt_01;31m_2_6_16_2_686_smp}: bad
substitution
/usr/sbin/update-grub: line 578: ${kopt_01;31m_2_6_16_2_686}: bad
substitution
/usr/sbin/update-grub: line 578: ${kopt_01;31m_2_6_16_2}: bad
substitution
/usr/sbin/update-grub: line 578: ${kopt_01;31m_2_6_16}: bad substitution
/usr/sbin/update-grub: line 578: ${kopt_01;31m_2_6}: bad substitution
/usr/sbin/update-grub: line 578: ${kopt_01;31m_2}: bad substitution
/usr/sbin/update-grub: line 578: ${kopt_01;31m}: bad substitution
Found kernel: /boot/vmlinuz-2.6.16-1-686-smp
/usr/sbin/update-grub: line 578: ${kopt_01;31m_2_6_16_1_686_smp}: bad
substitution
/usr/sbin/update-grub: line 578: ${kopt_01;31m_2_6_16_1_686}: bad
substitution
/usr/sbin/update-grub: line 578: ${kopt_01;31m_2_6_16_1}: bad
substitution
/usr/sbin/update-grub: line 578: ${kopt_01;31m_2_6_16}: bad substitution
/usr/sbin/update-grub: line 578: ${kopt_01;31m_2_6}: bad substitution
/usr/sbin/update-grub: line 578: ${kopt_01;31m_2}: bad substitution
/usr/sbin/update-grub: line 578: ${kopt_01;31m}: bad substitution
Updating /boot/grub/menu.lst ... done








-- System Information:
Debian Release: 4.0
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'stable')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.18-4-686
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)

Versions of packages grub depends on:
ii  libc6                       2.3.6.ds1-13 GNU C Library: Shared libraries
ii  libncurses5                 5.5-5        Shared libraries for terminal hand

grub recommends no packages.

-- no debconf information



Information forwarded to debian-bugs-dist@lists.debian.org, Grub Maintainers <pkg-grub-devel@lists.alioth.debian.org>:
Bug#414798; Package grub. (full text, mbox, link).


Message #8 received at 414798@bugs.debian.org (full text, mbox, reply):

From: Robert Millan <rmh@aybabtu.com>
To: sebastien COUPPEY <sebastien.couppey@wanadoo.fr>, 414798@bugs.debian.org
Cc: grep@packages.debian.org
Subject: Re: Bug#414798: update-grub with grep --color enable fails
Date: Thu, 3 May 2007 22:46:48 +0200
reassign 414798 grep
retitle --color=always is dangerous, please disable
thanks

On Tue, Mar 13, 2007 at 10:43:37PM +0100, sebastien COUPPEY wrote:
> Package: grub
> Version: 0.97-23
> Severity: normal
> 
> 
> The grep color option is enabled in my bashrc as :
> 
> export GREP_OPTIONS='--color=always'

You should *never* use --color=always.  Use --color=auto instead.  I would
expect breakage not only in grub, but in many other parts of the system.

Anibal, would you consider disabling this option in grep?

-- 
Robert Millan

My spam trap is honeypot@aybabtu.com.  Note: this address is only intended
for spam harvesters.  Writing to it will get you added to my black list.



Bug reassigned from package `grub' to `grep'. Request was from Robert Millan <rmh@aybabtu.com> to control@bugs.debian.org. (Thu, 03 May 2007 20:48:03 GMT) (full text, mbox, link).


Reply sent to Aníbal Monsalve Salazar <anibal@debian.org>:
You have taken responsibility. (Wed, 13 Apr 2011 02:15:03 GMT) (full text, mbox, link).


Notification sent to sebastien COUPPEY <sebastien.couppey@wanadoo.fr>:
Bug acknowledged by developer. (Wed, 13 Apr 2011 02:15:03 GMT) (full text, mbox, link).


Message #15 received at 414798-done@bugs.debian.org (full text, mbox, reply):

From: Aníbal Monsalve Salazar <anibal@debian.org>
To: Sebastien COUPPEY <sebastien@couppey.fr>
Subject: Re: bug 414798
Date: Wed, 13 Apr 2011 12:12:07 +1000
On Tue, Apr 12, 2011 at 03:29:44PM +0200, Sebastien COUPPEY wrote:
>Good afternoon Anibal,
>
>Browsing the BTS for another matter, I saw that the bug 414798 opened
>by me in 2007 was still opened.
>
>I think you should feel free to close this bug as I haven't faced the
>issue for years now. It was also reported 2 debian major versions ago,
>and I have been following debian updated since then without any issue.  
>
>Please let me know if there is something I can do to help you closing
>it. 
>
>your support is appreciated and priceless.
>
>All the best
>Regards

Hello Sebastien,

I'm closing bug 414798.

Thank you for your message.

Aníbal




Bug archived. Request was from Debbugs Internal Request <owner@bugs.debian.org> to internal_control@bugs.debian.org. (Wed, 11 May 2011 07:41:13 GMT) (full text, mbox, link).


Send a report that this bug log contains spam.


Debian bug tracking system administrator <owner@bugs.debian.org>. Last modified: Thu Jan 11 13:19:35 2018; Machine Name: buxtehude

Debian Bug tracking system

Debbugs is free software and licensed under the terms of the GNU Public License version 2. The current version can be obtained from https://bugs.debian.org/debbugs-source/.

Copyright © 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson, 2005-2017 Don Armstrong, and many other contributors.