All of lore.kernel.org
 help / color / mirror / Atom feed
From: Liu Jian <jian.liu@windriver.com>
To: opkg-devel <opkg-devel@googlegroups.com>,
	Yocto discussion list <yocto@yoctoproject.org>
Subject: Re: [opkg-utils PATCH] update-alternatives: Installing fails for "["
Date: Fri, 31 Oct 2014 09:23:25 +0800	[thread overview]
Message-ID: <5452E48D.50505@windriver.com> (raw)
In-Reply-To: <5451CF50.9060501@windriver.com>

Insalling packages using update-alternatives will give the following
error lines:
sed: -e expression #1, char 41: unterminated address regex
sed: -e expression #1, char 42: unterminated address regex
This is caused by the script update-alternatives.
"[" can not be used directly in sed expression, which should be escaped
in sed expression.

Signed-off-by: Jian Liu <jian.liu@windriver.com>
---
update-alternatives | 6 +++++-
1 files changed, 5 insertions(+), 1 deletions(-)


----- I add the head of this patch -----




于 2014年10月30日 13:40, Liu Jian 写道:

-- 
Jian Liu
Email: jian.liu@windriver.com
Office Phone: 86-10-84778539



  reply	other threads:[~2014-10-31  1:25 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-10-30  5:40 [opkg-utils PATCH] update-alternatives: Installing fails for "[" Liu Jian
2014-10-31  1:23 ` Liu Jian [this message]
2014-10-31 10:27   ` [opkg-devel] " Paul Barker

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=5452E48D.50505@windriver.com \
    --to=jian.liu@windriver.com \
    --cc=opkg-devel@googlegroups.com \
    --cc=yocto@yoctoproject.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.