[yocto] [opkg-utils PATCH] update-alternatives: Installing fails for "["

Liu Jian jian.liu at windriver.com
Thu Oct 30 18:23:25 PDT 2014


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 at 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 at windriver.com
Office Phone: 86-10-84778539




More information about the yocto mailing list